You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Artem Aliev (JIRA)" <ji...@apache.org> on 2006/12/04 14:14:21 UTC

[jira] Created: (HARMONY-2426) [swing] JComboBox().setEditor() throws unspecified NPE while RI does not

[swing] JComboBox().setEditor() throws unspecified NPE while RI does not
------------------------------------------------------------------------

                 Key: HARMONY-2426
                 URL: http://issues.apache.org/jira/browse/HARMONY-2426
             Project: Harmony
          Issue Type: Bug
            Reporter: Artem Aliev
            Priority: Minor


Trere is no mention of any exception in the specificarion.
javax.swing.JComboBox().setEditor() throws unspecified NPE while RI
does not.

Test for reprodicing:
import javax.swing.*;
import javax.swing.plaf.metal.MetalComboBoxEditor;

public class Test {          
    public static void main(String args[]) { 
        new JComboBox().setEditor(new MetalComboBoxEditor());
        System.out.println("PASSED");
    } 
}

Output on Sun 1.5
=================

PASSED

Output on Harmony:
==================
java.lang.NullPointerException
        at
javax.swing.plaf.basic.BasicComboBoxUI.unconfigureEditor(BasicComboBoxUI.java:663)
        at
javax.swing.plaf.metal.MetalComboBoxUI.unconfigureEditor(MetalComboBoxUI.java:112)
        at
javax.swing.plaf.basic.BasicComboBoxUI.removeEditor(BasicComboBoxUI.java:372)
        at
javax.swing.plaf.basic.BasicComboBoxUI$PropertyChangeHandler.propertyChange(BasicComboBoxUI.java:196)
        at
javax.swing.plaf.metal.MetalComboBoxUI$MetalPropertyChangeListener.propertyChange(MetalComboBoxUI.java:81)
        at
java.beans.PropertyChangeSupport.doFirePropertyChange(PropertyChangeSupport.java:407)
        at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:73)
        at java.awt.Component.firePropertyChangeImpl(Component.java:1667)
        at java.awt.Component.firePropertyChange(Component.java:1679)
        at javax.swing.JComboBox.setEditor(JComboBox.java:280)
        at Test.main(Test.java:6)



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

        

[jira] Commented: (HARMONY-2426) [classlib][swing] JComboBox().setEditor() throws unspecified NPE while RI does not

Posted by "Vasily Zakharov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462859 ] 

Vasily Zakharov commented on HARMONY-2426:
------------------------------------------

I couldn't reproduce the problem.
The test passes on both IBM VM and DRL VM.
I suggest closing this issue as "Cannot reproduce".


> [classlib][swing] JComboBox().setEditor() throws unspecified NPE while RI does not
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-2426
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2426
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Artem Aliev
>            Priority: Minor
>
> Trere is no mention of any exception in the specificarion.
> javax.swing.JComboBox().setEditor() throws unspecified NPE while RI
> does not.
> Test for reprodicing:
> import javax.swing.*;
> import javax.swing.plaf.metal.MetalComboBoxEditor;
> public class Test {          
>     public static void main(String args[]) { 
>         new JComboBox().setEditor(new MetalComboBoxEditor());
>         System.out.println("PASSED");
>     } 
> }
> Output on Sun 1.5
> =================
> PASSED
> Output on Harmony:
> ==================
> java.lang.NullPointerException
>         at
> javax.swing.plaf.basic.BasicComboBoxUI.unconfigureEditor(BasicComboBoxUI.java:663)
>         at
> javax.swing.plaf.metal.MetalComboBoxUI.unconfigureEditor(MetalComboBoxUI.java:112)
>         at
> javax.swing.plaf.basic.BasicComboBoxUI.removeEditor(BasicComboBoxUI.java:372)
>         at
> javax.swing.plaf.basic.BasicComboBoxUI$PropertyChangeHandler.propertyChange(BasicComboBoxUI.java:196)
>         at
> javax.swing.plaf.metal.MetalComboBoxUI$MetalPropertyChangeListener.propertyChange(MetalComboBoxUI.java:81)
>         at
> java.beans.PropertyChangeSupport.doFirePropertyChange(PropertyChangeSupport.java:407)
>         at
> java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:73)
>         at java.awt.Component.firePropertyChangeImpl(Component.java:1667)
>         at java.awt.Component.firePropertyChange(Component.java:1679)
>         at javax.swing.JComboBox.setEditor(JComboBox.java:280)
>         at Test.main(Test.java:6)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (HARMONY-2426) [classlib][swing] JComboBox().setEditor() throws unspecified NPE while RI does not

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko reassigned HARMONY-2426:
----------------------------------------

    Assignee: Alexei Zakharov

> [classlib][swing] JComboBox().setEditor() throws unspecified NPE while RI does not
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-2426
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2426
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Artem Aliev
>            Assignee: Alexei Zakharov
>            Priority: Minor
>
> Trere is no mention of any exception in the specificarion.
> javax.swing.JComboBox().setEditor() throws unspecified NPE while RI
> does not.
> Test for reprodicing:
> import javax.swing.*;
> import javax.swing.plaf.metal.MetalComboBoxEditor;
> public class Test {          
>     public static void main(String args[]) { 
>         new JComboBox().setEditor(new MetalComboBoxEditor());
>         System.out.println("PASSED");
>     } 
> }
> Output on Sun 1.5
> =================
> PASSED
> Output on Harmony:
> ==================
> java.lang.NullPointerException
>         at
> javax.swing.plaf.basic.BasicComboBoxUI.unconfigureEditor(BasicComboBoxUI.java:663)
>         at
> javax.swing.plaf.metal.MetalComboBoxUI.unconfigureEditor(MetalComboBoxUI.java:112)
>         at
> javax.swing.plaf.basic.BasicComboBoxUI.removeEditor(BasicComboBoxUI.java:372)
>         at
> javax.swing.plaf.basic.BasicComboBoxUI$PropertyChangeHandler.propertyChange(BasicComboBoxUI.java:196)
>         at
> javax.swing.plaf.metal.MetalComboBoxUI$MetalPropertyChangeListener.propertyChange(MetalComboBoxUI.java:81)
>         at
> java.beans.PropertyChangeSupport.doFirePropertyChange(PropertyChangeSupport.java:407)
>         at
> java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:73)
>         at java.awt.Component.firePropertyChangeImpl(Component.java:1667)
>         at java.awt.Component.firePropertyChange(Component.java:1679)
>         at javax.swing.JComboBox.setEditor(JComboBox.java:280)
>         at Test.main(Test.java:6)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-2426) [classlib][swing] JComboBox().setEditor() throws unspecified NPE while RI does not

Posted by "Alexey Petrenko (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2426?page=all ]

Alexey Petrenko updated HARMONY-2426:
-------------------------------------

    Component/s: Classlib

> [classlib][swing] JComboBox().setEditor() throws unspecified NPE while RI does not
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-2426
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2426
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Artem Aliev
>            Priority: Minor
>
> Trere is no mention of any exception in the specificarion.
> javax.swing.JComboBox().setEditor() throws unspecified NPE while RI
> does not.
> Test for reprodicing:
> import javax.swing.*;
> import javax.swing.plaf.metal.MetalComboBoxEditor;
> public class Test {          
>     public static void main(String args[]) { 
>         new JComboBox().setEditor(new MetalComboBoxEditor());
>         System.out.println("PASSED");
>     } 
> }
> Output on Sun 1.5
> =================
> PASSED
> Output on Harmony:
> ==================
> java.lang.NullPointerException
>         at
> javax.swing.plaf.basic.BasicComboBoxUI.unconfigureEditor(BasicComboBoxUI.java:663)
>         at
> javax.swing.plaf.metal.MetalComboBoxUI.unconfigureEditor(MetalComboBoxUI.java:112)
>         at
> javax.swing.plaf.basic.BasicComboBoxUI.removeEditor(BasicComboBoxUI.java:372)
>         at
> javax.swing.plaf.basic.BasicComboBoxUI$PropertyChangeHandler.propertyChange(BasicComboBoxUI.java:196)
>         at
> javax.swing.plaf.metal.MetalComboBoxUI$MetalPropertyChangeListener.propertyChange(MetalComboBoxUI.java:81)
>         at
> java.beans.PropertyChangeSupport.doFirePropertyChange(PropertyChangeSupport.java:407)
>         at
> java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:73)
>         at java.awt.Component.firePropertyChangeImpl(Component.java:1667)
>         at java.awt.Component.firePropertyChange(Component.java:1679)
>         at javax.swing.JComboBox.setEditor(JComboBox.java:280)
>         at Test.main(Test.java:6)

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

        

[jira] Commented: (HARMONY-2426) [classlib][swing] JComboBox().setEditor() throws unspecified NPE while RI does not

Posted by "Vasily Zakharov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462817 ] 

Vasily Zakharov commented on HARMONY-2426:
------------------------------------------

I'll look into this issue.


> [classlib][swing] JComboBox().setEditor() throws unspecified NPE while RI does not
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-2426
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2426
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Artem Aliev
>            Priority: Minor
>
> Trere is no mention of any exception in the specificarion.
> javax.swing.JComboBox().setEditor() throws unspecified NPE while RI
> does not.
> Test for reprodicing:
> import javax.swing.*;
> import javax.swing.plaf.metal.MetalComboBoxEditor;
> public class Test {          
>     public static void main(String args[]) { 
>         new JComboBox().setEditor(new MetalComboBoxEditor());
>         System.out.println("PASSED");
>     } 
> }
> Output on Sun 1.5
> =================
> PASSED
> Output on Harmony:
> ==================
> java.lang.NullPointerException
>         at
> javax.swing.plaf.basic.BasicComboBoxUI.unconfigureEditor(BasicComboBoxUI.java:663)
>         at
> javax.swing.plaf.metal.MetalComboBoxUI.unconfigureEditor(MetalComboBoxUI.java:112)
>         at
> javax.swing.plaf.basic.BasicComboBoxUI.removeEditor(BasicComboBoxUI.java:372)
>         at
> javax.swing.plaf.basic.BasicComboBoxUI$PropertyChangeHandler.propertyChange(BasicComboBoxUI.java:196)
>         at
> javax.swing.plaf.metal.MetalComboBoxUI$MetalPropertyChangeListener.propertyChange(MetalComboBoxUI.java:81)
>         at
> java.beans.PropertyChangeSupport.doFirePropertyChange(PropertyChangeSupport.java:407)
>         at
> java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:73)
>         at java.awt.Component.firePropertyChangeImpl(Component.java:1667)
>         at java.awt.Component.firePropertyChange(Component.java:1679)
>         at javax.swing.JComboBox.setEditor(JComboBox.java:280)
>         at Test.main(Test.java:6)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HARMONY-2426) [classlib][swing] JComboBox().setEditor() throws unspecified NPE while RI does not

Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-2426?page=all ]

Paulex Yang updated HARMONY-2426:
---------------------------------

    Summary: [classlib][swing] JComboBox().setEditor() throws unspecified NPE while RI does not  (was: [swing] JComboBox().setEditor() throws unspecified NPE while RI does not)

> [classlib][swing] JComboBox().setEditor() throws unspecified NPE while RI does not
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-2426
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2426
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Artem Aliev
>            Priority: Minor
>
> Trere is no mention of any exception in the specificarion.
> javax.swing.JComboBox().setEditor() throws unspecified NPE while RI
> does not.
> Test for reprodicing:
> import javax.swing.*;
> import javax.swing.plaf.metal.MetalComboBoxEditor;
> public class Test {          
>     public static void main(String args[]) { 
>         new JComboBox().setEditor(new MetalComboBoxEditor());
>         System.out.println("PASSED");
>     } 
> }
> Output on Sun 1.5
> =================
> PASSED
> Output on Harmony:
> ==================
> java.lang.NullPointerException
>         at
> javax.swing.plaf.basic.BasicComboBoxUI.unconfigureEditor(BasicComboBoxUI.java:663)
>         at
> javax.swing.plaf.metal.MetalComboBoxUI.unconfigureEditor(MetalComboBoxUI.java:112)
>         at
> javax.swing.plaf.basic.BasicComboBoxUI.removeEditor(BasicComboBoxUI.java:372)
>         at
> javax.swing.plaf.basic.BasicComboBoxUI$PropertyChangeHandler.propertyChange(BasicComboBoxUI.java:196)
>         at
> javax.swing.plaf.metal.MetalComboBoxUI$MetalPropertyChangeListener.propertyChange(MetalComboBoxUI.java:81)
>         at
> java.beans.PropertyChangeSupport.doFirePropertyChange(PropertyChangeSupport.java:407)
>         at
> java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:73)
>         at java.awt.Component.firePropertyChangeImpl(Component.java:1667)
>         at java.awt.Component.firePropertyChange(Component.java:1679)
>         at javax.swing.JComboBox.setEditor(JComboBox.java:280)
>         at Test.main(Test.java:6)

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

        

[jira] Closed: (HARMONY-2426) [classlib][swing] JComboBox().setEditor() throws unspecified NPE while RI does not

Posted by "Alexei Zakharov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexei Zakharov closed HARMONY-2426.
------------------------------------

    Resolution: Cannot Reproduce

Verified. Closed as cannot reproduce.

> [classlib][swing] JComboBox().setEditor() throws unspecified NPE while RI does not
> ----------------------------------------------------------------------------------
>
>                 Key: HARMONY-2426
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2426
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Artem Aliev
>            Priority: Minor
>
> Trere is no mention of any exception in the specificarion.
> javax.swing.JComboBox().setEditor() throws unspecified NPE while RI
> does not.
> Test for reprodicing:
> import javax.swing.*;
> import javax.swing.plaf.metal.MetalComboBoxEditor;
> public class Test {          
>     public static void main(String args[]) { 
>         new JComboBox().setEditor(new MetalComboBoxEditor());
>         System.out.println("PASSED");
>     } 
> }
> Output on Sun 1.5
> =================
> PASSED
> Output on Harmony:
> ==================
> java.lang.NullPointerException
>         at
> javax.swing.plaf.basic.BasicComboBoxUI.unconfigureEditor(BasicComboBoxUI.java:663)
>         at
> javax.swing.plaf.metal.MetalComboBoxUI.unconfigureEditor(MetalComboBoxUI.java:112)
>         at
> javax.swing.plaf.basic.BasicComboBoxUI.removeEditor(BasicComboBoxUI.java:372)
>         at
> javax.swing.plaf.basic.BasicComboBoxUI$PropertyChangeHandler.propertyChange(BasicComboBoxUI.java:196)
>         at
> javax.swing.plaf.metal.MetalComboBoxUI$MetalPropertyChangeListener.propertyChange(MetalComboBoxUI.java:81)
>         at
> java.beans.PropertyChangeSupport.doFirePropertyChange(PropertyChangeSupport.java:407)
>         at
> java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:73)
>         at java.awt.Component.firePropertyChangeImpl(Component.java:1667)
>         at java.awt.Component.firePropertyChange(Component.java:1679)
>         at javax.swing.JComboBox.setEditor(JComboBox.java:280)
>         at Test.main(Test.java:6)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira