You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/12/01 10:16:00 UTC

[jira] [Commented] (JENA-1791) Command line query tools can cause NPE.

    [ https://issues.apache.org/jira/browse/JENA-1791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16985523#comment-16985523 ] 

ASF subversion and git services commented on JENA-1791:
-------------------------------------------------------

Commit 28edb3c389da384dd41d79e5234b9a6885213cd8 in jena's branch refs/heads/master from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=28edb3c ]

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)