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 2014/07/24 11:04:38 UTC

[jira] [Created] (OPTIQ-352) Calling next() on closed AvaticaResultSet gives NPE

Julian Hyde created OPTIQ-352:
---------------------------------

             Summary: Calling next() on closed AvaticaResultSet gives NPE
                 Key: OPTIQ-352
                 URL: https://issues.apache.org/jira/browse/OPTIQ-352
             Project: Optiq
          Issue Type: Bug
            Reporter: Julian Hyde
            Assignee: Julian Hyde


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.2#6252)