[
https://issues.apache.org/jira/browse/JENA-1791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16985524#comment-16985524
]
ASF subversion and git services commented on JENA-1791:
-------------------------------------------------------
Commit 14eb2be614081ccb0af9a93ba4ed12717dc25e0c in jena's branch
refs/heads/master from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=14eb2be ]
Merge pull request #643 from afs/jena1791_cmd-query
JENA-1791: Fix possible NPE in make(Query,Dataset)
> Command line query tools can cause NPE.
> ---------------------------------------
>
> Key: JENA-1791
> URL: https://issues.apache.org/jira/browse/JENA-1791
> Project: Apache Jena
> Issue Type: Bug
> Components: Cmd line tools
> Affects Versions: Jena 3.13.1
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
> Priority: Major
> Fix For: Jena 3.14.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> [Report on users@
> (2019-11-30)|https://lists.apache.org/thread.html/549491c299d2d5798539f76ad5a9a180e64002264e1c5753b819a604@%3Cusers.jena.apache.org%3E].
> http://learningsparql.com/2ndeditionexamples/ex007.rq :
> {{arq --query ex007.rq}}
> produces
> {noformat}
> 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)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)