harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-5222) [classlib][swing] ComboBox.setEditor throws NPE if editor is null
Date Thu, 29 Nov 2007 16:14:43 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-5222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Petrenko reassigned HARMONY-5222:
----------------------------------------

    Assignee: Alexey Petrenko

> [classlib][swing] ComboBox.setEditor throws NPE if editor is null
> -----------------------------------------------------------------
>
>                 Key: HARMONY-5222
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5222
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey Petrenko
>            Assignee: Alexey Petrenko
>            Priority: Minor
>
> Harmony throws the following NPE if the ComboBox.setEditor parameter is null:
> Uncaught exception in main:
> java.lang.NullPointerException
> 	at javax.swing.plaf.basic.BasicComboBoxUI.addEditor(BasicComboBoxUI.java:410)
> 	at javax.swing.plaf.basic.BasicComboBoxUI$PropertyChangeHandler.propertyChange(BasicComboBoxUI.java:231)
> 	at javax.swing.plaf.metal.MetalComboBoxUI$MetalPropertyChangeListener.propertyChange(MetalComboBoxUI.java:82)
> 	at java.beans.PropertyChangeSupport.doFirePropertyChange(PropertyChangeSupport.java:263)
> 	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:54)
> 	at java.awt.Component.firePropertyChangeImpl(Component.java:1668)
> 	at java.awt.Component.firePropertyChange(Component.java:1682)
> 	at javax.swing.JComboBox.setEditor(JComboBox.java:323)
> 	at ComboBoxEditorTest.main(ComboBoxEditorTest.java:6)
> RI does not throw exception in this case.

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


Mime
View raw message