harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruth Cao (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3826) [classlib][sql] SQLInputImpl throws NullPointerException when the param of readXXX is null
Date Wed, 09 May 2007 01:22:15 GMT
[classlib][sql] SQLInputImpl throws NullPointerException when the param of readXXX is null
------------------------------------------------------------------------------------------

                 Key: HARMONY-3826
                 URL: https://issues.apache.org/jira/browse/HARMONY-3826
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Ruth Cao


The following test case throws NullPointerException on Harmony while passes on RI:

public void testReadDouble() throws SQLException {   
        Object[] attributes = new Object[] {null};
       SQLInputImpl impl = new SQLInputImpl(attributes, new HashMap<String, Class<?>>());
       assertEquals(0, impl.readDouble(), 0);
}

Other readXXX methods have similar problems. 



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message