Regression in 5.3.1 - delete/insert gives "Sequence data has been disposed of" error


(Pete Rivett) #1

The SPARQL is as follows.

WITH repos:fibo
DELETE {https://spec.edmcouncil.org/fibo/ontology/BE/Corporations/Corporations/PrivatelyHeldCompany rdfs:label ?v}
INSERT {https://spec.edmcouncil.org/fibo/ontology/BE/Corporations/Corporations/PrivatelyHeldCompany rdfs:label “person held company”}
WHERE { OPTIONAL {https://spec.edmcouncil.org/fibo/ontology/BE/Corporations/Corporations/PrivatelyHeldCompany rdfs:label ?v} }

This used to work at 5.2.2 but following our upgrade to 5.3.1 produces the following error (from stardog.log). Removing the DELETE or the INSERT works fine: it’s the combination that is the problem.

ERROR 2018-06-28 12:57:30,464 [stardog-user-6] com.stardog.http.server.undertow.
ErrorHandling:writeError(138): Unexpected error on the server
com.complexible.stardog.plan.eval.operator.OperatorException: Sequence data has
been disposed of
at com.complexible.stardog.plan.eval.operator.impl.ModifyOperatorImpl.co
mputeNext(ModifyOperatorImpl.java:161) ~[stardog-5.3.1.jar:?]
at com.complexible.stardog.plan.eval.operator.impl.ModifyOperatorImpl.co
mputeNext(ModifyOperatorImpl.java:71) ~[stardog-5.3.1.jar:?]
at com.complexible.common.collect.AbstractSkippingIterator.tryToComputeN
ext(AbstractSkippingIterator.java:143) ~[stardog-utils-common-5.3.1.jar:?]


(stephen) #2

Hi Pete,

This problem was actually reported elsewhere a little while back and the fix should be in the next Stardog release!