You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Parth Chandra (JIRA)" <ji...@apache.org> on 2015/02/26 20:32:04 UTC

[jira] [Commented] (DRILL-2320) ResultSet.next() after ResultSet.close() throws NullPointerException (not SQLException)

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

Parth Chandra commented on DRILL-2320:
--------------------------------------

Can you provide the getXX methods that have this issue and some test examples? 
Drill-1378 addresses the resultSet.next NPE and there is an Avatica patch I have that I am testing that makes the handling of the error cleaner.


> ResultSet.next() after ResultSet.close() throws NullPointerException (not SQLException)
> ---------------------------------------------------------------------------------------
>
>                 Key: DRILL-2320
>                 URL: https://issues.apache.org/jira/browse/DRILL-2320
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - JDBC
>            Reporter: Daniel Barclay (Drill)
>            Assignee: Daniel Barclay (Drill)
>
> After close() is called on a ResultSet, calling next() on that ResultSet throws a NullPointerException (rather than properly throwing a SQLException).
> (This pattern seems likely to apply to many siblings of next() (e.g., getXxx(...) methods) also.)



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