[
https://issues.apache.org/jira/browse/VXQUERY-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15207609#comment-15207609
]
ASF subversion and git services commented on VXQUERY-139:
---------------------------------------------------------
Commit 47815f899547f5e23a2d12a7da3ab038649d307f in vxquery's branch
refs/heads/master from [~prestonc]
[ https://git-wip-us.apache.org/repos/asf?p=vxquery.git;h=47815f8 ]
VXQUERY-139: Fixed the NPE for the compile only flag.
Previously executing queries with compileonly flag gave NPE, which was due to
null value of IHyracksClientConnection.
Submitted by: ankitladhania (on github)
> Issue with "compileonly" flag while executing queries
> -----------------------------------------------------
>
> Key: VXQUERY-139
> URL: https://issues.apache.org/jira/browse/VXQUERY-139
> Project: VXQuery
> Issue Type: Bug
> Reporter: Jay
> Assignee: Preston Carman
> Labels: compileonly, query, starter
>
> Running the command: JAVA_OPTS="-Xmx1024m" sh ./target/appassembler/bin/vxq
> test.xq -compileonly, gives
> Exception in thread "main" java.lang.NullPointerException
> at org.apache.vxquery.cli.VXQuery.getNodeList(VXQuery.java:316)
> at org.apache.vxquery.cli.VXQuery.runQueries(VXQuery.java:263)
> at org.apache.vxquery.cli.VXQuery.execute(VXQuery.java:161)
> at org.apache.vxquery.cli.VXQuery.main(VXQuery.java:121)
> while the query itself runs fine.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)