You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2015/03/10 01:52:38 UTC
[jira] [Commented] (CALCITE-612) Avatica framework throws NPE if
ResultSet.getNext is called after the query is canceled
[ https://issues.apache.org/jira/browse/CALCITE-612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14354001#comment-14354001 ]
Julian Hyde commented on CALCITE-612:
-------------------------------------
Can you rebase the patch to the latest master? The package name is now org.apache.calcite.avatica not net.hydromatic.avatica.
> Avatica framework throws NPE if ResultSet.getNext is called after the query is canceled
> ---------------------------------------------------------------------------------------
>
> Key: CALCITE-612
> URL: https://issues.apache.org/jira/browse/CALCITE-612
> Project: Calcite
> Issue Type: Bug
> Reporter: Parth Chandra
> Assignee: Julian Hyde
> Attachments: CALCITE-612.patch.diff
>
>
> Once the application cancels a query, the cursor corresponding to the result set is set back to null and any attempt to get the results results in a NPE.
> AvaticaStatement:internalExecute and AvaticaResultSet:next should check the state of the cursor and return false.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)