Hi Jacek, this is just a warning, not an error. What it means is
that some result iteration (the result of a getStatements call) is
not fully consumed and properly closed before its reference is
being dropped. The warning is just there to alert you to a
possible resource leak - though in this particular case I doubt it
would be a serious issue.
From the stacktrace I gather you are using Model.object, on top of
a SailModel object, so it's possible this is a bug in the
SailModel implementation.
Jeen
On 9/2/18 12:55, Jacek Grzebyta wrote:
Hi,
I do no understand the error: The error message suggests that
it is broken transaction but I am not convinced after the rest
of the stacktrace and source of AbstractSailConnection. The
error message is:
21415 [-pool-0] WARN
o.e.r.s.m.MemoryStoreConnection: Forced closing of unclosed
iteration that was created in:
java.lang.Throwable: null
at
org.eclipse.rdf4j.sail.helpers.AbstractSailConnection.registerIteration(AbstractSailConnection.java:798)
at
org.eclipse.rdf4j.sail.helpers.AbstractSailConnection.getStatements(AbstractSailConnection.java:325)
at
org.eclipse.rdf4j.sail.model.SailModel.iterator(SailModel.java:224)
at
org.eclipse.rdf4j.sail.model.SailModel.access$000(SailModel.java:44)
at
org.eclipse.rdf4j.sail.model.SailModel$1.iterator(SailModel.java:190)
at
java.util.Spliterators$IteratorSpliterator.estimateSize(Spliterators.java:1821)
at
java.util.Spliterator.getExactSizeIfKnown(Spliterator.java:408)
at
java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:497)
at
java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at
java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at
java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at
java.util.stream.ReferencePipeline.findAny(ReferencePipeline.java:469)
at
org.eclipse.rdf4j.model.util.Models.object(Models.java:56)
at rdf4j.models$eval1797$fn__1798.invoke(models.clj:44)
Please can you help me with that? Project is available at https://github.com/jgrzebyta/experiment-results.git
and that is Clojure written code. Full stacktrace is at https://github.com/jgrzebyta/experiment-results/issues/1
Thanks a lot,
Jacek
_______________________________________________
rdf4j-dev mailing list
rdf4j-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/rdf4j-dev
|