You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2007/05/11 22:35:15 UTC

[jira] Assigned: (HARMONY-3826) [classlib][sql] SQLInputImpl throws NullPointerException when the param of readXXX is null

     [ https://issues.apache.org/jira/browse/HARMONY-3826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison reassigned HARMONY-3826:
------------------------------------

    Assignee: Tim Ellison

> [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
>         Assigned To: Tim Ellison
>         Attachments: Harmony-3826.diff
>
>
> 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.