You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Petrenko (JIRA)" <ji...@apache.org> on 2006/12/07 13:19:37 UTC

[jira] Updated: (HARMONY-1749) [classlib][swing] BasicComboBoxUI.removeEditor() throws unspecified NPE

     [ http://issues.apache.org/jira/browse/HARMONY-1749?page=all ]

Alexey Petrenko updated HARMONY-1749:
-------------------------------------

    Patch Info: [Patch Available]

> [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
>            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