You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Sivaramakrishnan Narayanan (JIRA)" <ji...@apache.org> on 2014/11/28 05:23:12 UTC

[jira] [Commented] (CALCITE-352) Calling next() on closed AvaticaResultSet gives NPE

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

Sivaramakrishnan Narayanan commented on CALCITE-352:
----------------------------------------------------

Taking a shot at this.

> Calling next() on closed AvaticaResultSet gives NPE
> ---------------------------------------------------
>
>                 Key: CALCITE-352
>                 URL: https://issues.apache.org/jira/browse/CALCITE-352
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>              Labels: newbie
>
> If you call close() on an AvaticaResultSet then call next(), it gives a NullPointerException (due to the cursor field being null). It should give a SQLException (per the Javadoc of the ResultSet.next method).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)