db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernt M. Johnsen (JIRA)" <derby-...@db.apache.org>
Subject [jira] Created: (DERBY-350) NPE when relative() is called for empty ResultSet
Date Mon, 13 Jun 2005 09:10:47 GMT
NPE when relative() is called for empty ResultSet
-------------------------------------------------

         Key: DERBY-350
         URL: http://issues.apache.org/jira/browse/DERBY-350
     Project: Derby
        Type: Bug
  Components: JDBC  
    Reporter: Bernt M. Johnsen
    Priority: Minor


relative fails with NPE when ResultSet is empty

java.lang.NullPointerException
        at org.apache.derby.impl.sql.execute.ScrollInsensitiveResultSet.getRowFromHashTable(ScrollInsensitiveResultSet.java:915)
        at org.apache.derby.impl.sql.execute.ScrollInsensitiveResultSet.getRelativeRow(ScrollInsensitiveResultSet.java:340)
        at org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(EmbedResultSet.java:366)

Sane:
org.apache.derby.iapi.services.sanity.AssertFailure: ASSERT FAILED hashRowArray expected to
be non-null
        at org.apache.derby.iapi.services.sanity.SanityManager.ASSERT(SanityManager.java:121)
        at org.apache.derby.impl.sql.execute.ScrollInsensitiveResultSet.getRowFromHashTable(ScrollInsensitiveResultSet.java:911)
        at org.apache.derby.impl.sql.execute.ScrollInsensitiveResultSet.getRelativeRow(ScrollInsensitiveResultSet.java:340)
        at org.apache.derby.impl.jdbc.EmbedResultSet.movePosition(EmbedResultSet.java:366)
        at org.apache.derby.impl.jdbc.EmbedResultSet.relative(EmbedResultSet.java:1840)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message