java.awt.IllegalComponentStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I have a form that has several tabs, and there are several combo boxes on the different tabs. Some of the combo box list data is filled based on what info is specified on the first tab. When the certain info is filled, the data in the eventlist for the combo box in some tabs changes. And I got this exception: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1507) at java.awt.Component.getLocationOnScreen(Component.java:1481) at javax.swing.JPopupMenu.show(JPopupMenu.java:921) at javax.swing.plaf.basic.BasicComboPopup.show(BasicComboPopup.java:177) at javax.swing.plaf.basic.BasicComboBoxUI.setPopupVisible(BasicComboBoxUI.java:927) at javax.swing.JComboBox.setPopupVisible(JComboBox.java:790) at org.springframework.richclient.list.ComboBoxAutoCompletion.insertString(ComboBoxAutoCompletion.java:228) at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:668) at javax.swing.text.JTextComponent.setText(JTextComponent.java:1403) at javax.swing.plaf.basic.BasicComboBoxEditor.setItem(BasicComboBoxEditor.java:48) at javax.swing.JComboBox.configureEditor(JComboBox.java:1340) at javax.swing.plaf.basic.BasicComboBoxUI$ListDataHandler.contentsChanged(BasicComboBoxUI.java:537) at javax.swing.plaf.basic.BasicComboBoxUI$ListDataHandler.intervalRemoved(BasicComboBoxUI.java:551) at javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.java:160) at org.springframework.richclient.list.ListListModel.clear(ListListModel.java:156) at org.springframework.richclient.list.ComboBoxListModel.clear(ComboBoxListModel.java:113) at org.springframework.richclient.list.DynamicComboBoxListModel.doAdd(DynamicComboBoxListModel.java:131) at org.springframework.richclient.list.DynamicComboBoxListModel.valueChanged(DynamicComboBoxListModel.java:127) at org.springframework.binding.value.support.AbstractValueModel.fireValueChanged(AbstractValueModel.java:70) at javabeans.list.EventListValueHolder.access$000(EventListValueHolder.java:23) at javabeans.list.EventListValueHolder$2.listChanged(EventListValueHolder.java:38) at ca.odell.glazedlists.event.ListEventPublisher.fireEvent(ListEventPublisher.java:134) at ca.odell.glazedlists.event.ListEventAssembler.fireEvent(ListEventAssembler.java:298) at ca.odell.glazedlists.event.ListEventAssembler.commitEvent(ListEventAssembler.java:262) at ca.odell.glazedlists.BasicEventList.clear(BasicEventList.java:194) at appclient.contract.ContractModel$8.propertyChange(ContractModel.java:1683) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:330) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:257)
    via by Henry Szetu,
  • I have a form that has several tabs, and there are several combo boxes on the different tabs. Some of the combo box list data is filled based on what info is specified on the first tab. When the certain info is filled, the data in the eventlist for the combo box in some tabs changes. And I got this exception: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1507) at java.awt.Component.getLocationOnScreen(Component.java:1481) at javax.swing.JPopupMenu.show(JPopupMenu.java:921) at javax.swing.plaf.basic.BasicComboPopup.show(BasicComboPopup.java:177) at javax.swing.plaf.basic.BasicComboBoxUI.setPopupVisible(BasicComboBoxUI.java:927) at javax.swing.JComboBox.setPopupVisible(JComboBox.java:790) at org.springframework.richclient.list.ComboBoxAutoCompletion.insertString(ComboBoxAutoCompletion.java:228) at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:668) at javax.swing.text.JTextComponent.setText(JTextComponent.java:1403) at javax.swing.plaf.basic.BasicComboBoxEditor.setItem(BasicComboBoxEditor.java:48) at javax.swing.JComboBox.configureEditor(JComboBox.java:1340) at javax.swing.plaf.basic.BasicComboBoxUI$ListDataHandler.contentsChanged(BasicComboBoxUI.java:537) at javax.swing.plaf.basic.BasicComboBoxUI$ListDataHandler.intervalRemoved(BasicComboBoxUI.java:551) at javax.swing.AbstractListModel.fireIntervalRemoved(AbstractListModel.java:160) at org.springframework.richclient.list.ListListModel.clear(ListListModel.java:156) at org.springframework.richclient.list.ComboBoxListModel.clear(ComboBoxListModel.java:113) at org.springframework.richclient.list.DynamicComboBoxListModel.doAdd(DynamicComboBoxListModel.java:131) at org.springframework.richclient.list.DynamicComboBoxListModel.valueChanged(DynamicComboBoxListModel.java:127) at org.springframework.binding.value.support.AbstractValueModel.fireValueChanged(AbstractValueModel.java:70) at javabeans.list.EventListValueHolder.access$000(EventListValueHolder.java:23) at javabeans.list.EventListValueHolder$2.listChanged(EventListValueHolder.java:38) at ca.odell.glazedlists.event.ListEventPublisher.fireEvent(ListEventPublisher.java:134) at ca.odell.glazedlists.event.ListEventAssembler.fireEvent(ListEventAssembler.java:298) at ca.odell.glazedlists.event.ListEventAssembler.commitEvent(ListEventAssembler.java:262) at ca.odell.glazedlists.BasicEventList.clear(BasicEventList.java:194) at appclient.contract.ContractModel$8.propertyChange(ContractModel.java:1683) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:330) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:257)
    via by Henry Szetu,
  • Help with JComboBoxes in a JTable!
    via by Jean-François Morin,
  • Problem with the JTable
    via by Dirk Wenke,
  • JComboBox bug
    via by David Berrebi,
  • java.lang.NoClassDefFoundError:
    via symphonic by nobody
    ,
  • problem starting jmeter
    via by Richard A Pointon,
    • java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location at java.awt.Component.getLocationOnScreen(Component.java:746) at javax.swing.JPopupMenu.show(JPopupMenu.java:919) at javax.swing.plaf.basic.BasicComboPopup.show(BasicComboPopup.java:118) at javax.swing.plaf.basic.BasicComboBoxUI.setPopupVisible(BasicComboBoxUI.java:822) at javax.swing.JComboBox.setPopupVisible(JComboBox.java:529) at mlXmlAppend.Frame1.initComponents(Frame1.java:155) at mlXmlAppend.XmlAppend.<init>(XmlAppend.java:22) at mlXmlAppend.XmlAppend.main(XmlAppend.java:34) at sun.tools.debug.MainThread.run(Agent.java:47)
    No Bugmate found.