You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ruth Cao (JIRA)" <ji...@apache.org> on 2007/05/09 03:24:15 UTC
[jira] Updated: (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 ]
Ruth Cao updated HARMONY-3826:
------------------------------
Patch Info: [Patch Available]
> [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
> 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.