Bart - it does not like an issue with the update but somehow system
initialization has not happened.
Was there a log message as well?
How are you running the update? What's the application code look like?
Andy
On 22/05/18 14:24, Bart van Leeuwen wrote:
Hi,
On Jena 3.7.0
The following the query ( which is accepted by Stardog on the console )
DELETE { Graph ?g { ?resultset
<http://vocab.resc.info/insight#organization>
<http://data.resc.info/data/stations/BrandweerAmsterdamAmstelland>}}
WHERE { Graph ?x {
?resultset a <http://data.resc.info/insight#Resultset> .
?resultset <http://purl.org/dc/terms/identifier>
"00b36dabd8f846f6b53375abf5fe8ad9"
}}
causes the following error:
Exception in thread "main" org.apache.jena.query.QueryException
at
org.apache.jena.sparql.lang.ParserSPARQL11Update._parse(ParserSPARQL11Update.java:84)
at
org.apache.jena.sparql.lang.ParserSPARQL11Update.parse$(ParserSPARQL11Update.java:40)
at
org.apache.jena.sparql.lang.UpdateParser.parse(UpdateParser.java:39)
at
org.apache.jena.update.UpdateFactory.make(UpdateFactory.java:87)
at
org.apache.jena.update.UpdateFactory.create(UpdateFactory.java:78)
at
org.apache.jena.update.UpdateFactory.create(UpdateFactory.java:56)
at
org.apache.jena.update.UpdateFactory.create(UpdateFactory.java:46)
at com.complexible.stardog.examples.jena.App.main(App.java:90)
Caused by: java.lang.NullPointerException
at org.apache.jena.query.ARQ.isTrue(ARQ.java:650)
at
org.apache.jena.sparql.lang.ParserBase.<init>(ParserBase.java:292)
at
org.apache.jena.sparql.lang.SPARQLParserBase.<init>(SPARQLParserBase.java:43)
at
org.apache.jena.sparql.lang.sparql_11.SPARQLParser11Base.<init>(SPARQLParser11Base.java:22)
at
org.apache.jena.sparql.lang.sparql_11.SPARQLParser11.<init>(SPARQLParser11.java:4974)
at
org.apache.jena.sparql.lang.ParserSPARQL11Update._parse(ParserSPARQL11Update.java:57)
... 7 more
Met Vriendelijke Groet / With Kind Regards
Bart van Leeuwen
twitter: @semanticfire
tel. +31(0)6-53182997
Netage B.V.
http://netage.nl <http://netage.nl/>
Esdoornstraat 3
3461ER Linschoten
The Netherlands