You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Sitnikov (JIRA)" <ji...@apache.org> on 2014/11/29 14:49:12 UTC
[jira] [Comment Edited] (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=14228768#comment-14228768 ]
Vladimir Sitnikov edited comment on CALCITE-352 at 11/29/14 1:48 PM:
---------------------------------------------------------------------
Thanks.
Merged in https://git-wip-us.apache.org/repos/asf?p=incubator-calcite.git;a=commitdiff;h=59657ec75981fb1416d127c413a8dd7ae3571a1d
was (Author: vladimirsitnikov):
Merged in https://git-wip-us.apache.org/repos/asf?p=incubator-calcite.git;a=commitdiff;h=59657ec75981fb1416d127c413a8dd7ae3571a1d
> 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: Vladimir Sitnikov
> Labels: newbie
> Attachments: CALCITE-352-1.patch
>
>
> 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)