Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 76686 invoked from network); 22 Dec 2006 08:18:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Dec 2006 08:18:46 -0000 Received: (qmail 75631 invoked by uid 500); 22 Dec 2006 08:18:53 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 75534 invoked by uid 500); 22 Dec 2006 08:18:53 -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 75525 invoked by uid 99); 22 Dec 2006 08:18:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Dec 2006 00:18:53 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Fri, 22 Dec 2006 00:18:45 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2514A714295 for ; Fri, 22 Dec 2006 00:18:25 -0800 (PST) Message-ID: <2811383.1166775505149.JavaMail.jira@brutus> Date: Fri, 22 Dec 2006 00:18:25 -0800 (PST) From: "Ilya Okomin (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-1749) [classlib][swing] BasicComboBoxUI.removeEditor() throws unspecified NPE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/HARMONY-1749?page=comments#action_12460408 ] Ilya Okomin commented on HARMONY-1749: -------------------------------------- Thanks Alexey, everything works. > [classlib][swing] BasicComboBoxUI.removeEditor() throws unspecified NPE > ----------------------------------------------------------------------- > > Key: HARMONY-1749 > URL: http://issues.apache.org/jira/browse/HARMONY-1749 > Project: Harmony > Issue Type: Bug > Components: Classlib > Reporter: Ilya Okomin > Assigned To: Alexey Petrenko > Priority: Minor > Attachments: Harmony-1749-test.patch, Harmony-1749.patch > > > Harmony throws unspecified NPE for javax.swing.plaf.basic.BasicComboBoxUI.removeEditor() while RI does not. > This case relevant to the undefined editor for BasicComboBoxUI instanse. > -------------test.java-------------- > import junit.framework.TestCase; > import javax.swing.plaf.basic.*; > public class test extends TestCase { > public static void main(String[] args) { > junit.textui.TestRunner.run(test.class); > } > public void testRun() throws Exception{ > BasicComboBoxUI cb = new BasicComboBoxUI(); > cb.removeEditor(); > } > } > ---------------------------------------- > ======Output RI====== > . > Time: 0.321 > OK (1 test) > ======Output Harmony====== > .E > Time: 0.31 > There was 1 error: > 1) testRun(test)java.lang.NullPointerException > at javax.swing.plaf.basic.BasicComboBoxUI.removeEditor(BasicComboBoxUI.java:374) > at test.testRun(test.java:13) > at java.lang.reflect.VMReflection.invokeMethod(Native Method) > at main(test.java:9) > FAILURES!!! > Tests run: 1, Failures: 0, Errors: 1 -- 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