Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 64762 invoked from network); 9 May 2007 01:24:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 May 2007 01:24:36 -0000 Received: (qmail 42960 invoked by uid 500); 9 May 2007 01:24:42 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 42932 invoked by uid 500); 9 May 2007 01:24:42 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 42923 invoked by uid 99); 9 May 2007 01:24:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 18:24:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 18:24:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 824C6714064 for ; Tue, 8 May 2007 18:24:15 -0700 (PDT) Message-ID: <5750619.1178673855531.JavaMail.jira@brutus> Date: Tue, 8 May 2007 18:24:15 -0700 (PDT) From: "Ruth Cao (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-3826) [classlib][sql] SQLInputImpl throws NullPointerException when the param of readXXX is null In-Reply-To: <2697650.1178673735474.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-3826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ruth Cao updated HARMONY-3826: ------------------------------ Attachment: Harmony-3826.diff May somebody pls try this? > [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>()); > 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.