java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location

JFrog JIRA | Shmulik London | 9 years ago
  1. 0

    check the requesting of focus: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1800) at java.awt.Component.getLocationOnScreen(Component.java:1774) at javax.swing.JPopupMenu.show(JPopupMenu.java:909) at javax.swing.plaf.basic.BasicComboPopup.show(BasicComboPopup.java:191) at javax.swing.plaf.basic.BasicComboBoxUI.setPopupVisible(BasicComboBoxUI.java:833) at javax.swing.JComboBox.setPopupVisible(JComboBox.java:798) at javax.swing.JComboBox.showPopup(JComboBox.java:783) at org.amnesia.plugins.ui.results.filters.ResultFiltersPane$3.focusGained(ResultFiltersPane.java:126) at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:203) at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:202) at java.awt.Component.processFocusEvent(Component.java:5927) at java.awt.Component.processEvent(Component.java:5794) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:873) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:505) at java.awt.Component.dispatchEventImpl(Component.java:4282) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:10) at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:87) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:188) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

    JFrog JIRA | 9 years ago | Shmulik London
    java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
  2. 0

    check the requesting of focus: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1800) at java.awt.Component.getLocationOnScreen(Component.java:1774) at javax.swing.JPopupMenu.show(JPopupMenu.java:909) at javax.swing.plaf.basic.BasicComboPopup.show(BasicComboPopup.java:191) at javax.swing.plaf.basic.BasicComboBoxUI.setPopupVisible(BasicComboBoxUI.java:833) at javax.swing.JComboBox.setPopupVisible(JComboBox.java:798) at javax.swing.JComboBox.showPopup(JComboBox.java:783) at org.amnesia.plugins.ui.results.filters.ResultFiltersPane$3.focusGained(ResultFiltersPane.java:126) at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:203) at java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:202) at java.awt.Component.processFocusEvent(Component.java:5927) at java.awt.Component.processEvent(Component.java:5794) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:873) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:505) at java.awt.Component.dispatchEventImpl(Component.java:4282) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:10) at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:87) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:188) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

    JFrog JIRA | 9 years ago | Shmulik London
    java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
  3. 0

    JComboBox Cell editor in JTable

    Oracle Community | 1 decade ago | 843805
    java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JComboBox as cell in JTable

    Oracle Community | 1 decade ago | 843805
    java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
  6. 0

    Displaying a JComboBox in JTable

    Oracle Community | 1 decade ago | 807587
    java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.awt.IllegalComponentStateException

      component must be showing on the screen to determine its location

      at java.awt.Component.getLocationOnScreen_NoTreeLock()
    2. Java RT
      JComboBox.showPopup
      1. java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1800)
      2. java.awt.Component.getLocationOnScreen(Component.java:1774)
      3. javax.swing.JPopupMenu.show(JPopupMenu.java:909)
      4. javax.swing.plaf.basic.BasicComboPopup.show(BasicComboPopup.java:191)
      5. javax.swing.plaf.basic.BasicComboBoxUI.setPopupVisible(BasicComboBoxUI.java:833)
      6. javax.swing.JComboBox.setPopupVisible(JComboBox.java:798)
      7. javax.swing.JComboBox.showPopup(JComboBox.java:783)
      7 frames
    3. org.amnesia.plugins
      ResultFiltersPane$3.focusGained
      1. org.amnesia.plugins.ui.results.filters.ResultFiltersPane$3.focusGained(ResultFiltersPane.java:126)
      1 frame
    4. Java RT
      EventQueue.dispatchEvent
      1. java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:203)
      2. java.awt.AWTEventMulticaster.focusGained(AWTEventMulticaster.java:202)
      3. java.awt.Component.processFocusEvent(Component.java:5927)
      4. java.awt.Component.processEvent(Component.java:5794)
      5. java.awt.Container.processEvent(Container.java:2058)
      6. java.awt.Component.dispatchEventImpl(Component.java:4410)
      7. java.awt.Container.dispatchEventImpl(Container.java:2116)
      8. java.awt.Component.dispatchEvent(Component.java:4240)
      9. java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848)
      10. java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:873)
      11. java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:505)
      12. java.awt.Component.dispatchEventImpl(Component.java:4282)
      13. java.awt.Container.dispatchEventImpl(Container.java:2116)
      14. java.awt.Component.dispatchEvent(Component.java:4240)
      15. java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
      15 frames
    5. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:10)
      2. com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:87)
      3. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:188)
      3 frames
    6. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
      6 frames