Yes :-(

For the NPE:
Recorded as JENA-1791 and proposal to fix in PR#643

the --data seems to be a different issue to be investigated.

    Thanks
    Andy

On 30/11/2019 18:00, Bob DuCharme wrote:
An example in my book "Learning SPARQL" suggests the following command line with the query at http://learningsparql.com/2ndeditionexamples/ex007.rq :

         arq --query ex007.rq

This worked fine as shown with Jena 3.10.0 build date 2018-12-30T15:45:57+0000 but got the Exception shown below with 3.13.1 build date 2019-10-06T18:57:39+0000. When I add --data ex002.ttl to that command line, I don't get the Exception, but it doesn't return any results either.

Thanks,

Bob


java.lang.NullPointerException
    at org.apache.jena.query.QueryExecutionFactory.make(QueryExecutionFactory.java:615)     at org.apache.jena.query.QueryExecutionFactory.create(QueryExecutionFactory.java:94)
     at arq.query.lambda$queryExec$0(query.java:224)
     at org.apache.jena.system.Txn.exec(Txn.java:77)
     at org.apache.jena.system.Txn.executeRead(Txn.java:115)
     at arq.query.queryExec(query.java:222)
     at arq.query.exec(query.java:153)
     at jena.cmd.CmdMain.mainMethod(CmdMain.java:93)
     at jena.cmd.CmdMain.mainRun(CmdMain.java:58)
     at jena.cmd.CmdMain.mainRun(CmdMain.java:45)
     at arq.arq.main(arq.java:28)

Reply via email to