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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JFrog JIRA by Shmulik London, 1 year ago
component must be showing on the screen to determine its location
via JFrog JIRA by Shmulik London, 1 year ago
component must be showing on the screen to determine its location
via Oracle Community by 843805, 1 year ago
component must be showing on the screen to determine its location
via Oracle Community by 843805, 1 year ago
component must be showing on the screen to determine its location
via Oracle Community by 807587, 1 year ago
component must be showing on the screen to determine its location
via Google Groups by ja...@nospam.com, 2 years ago
component must be showing on the screen to determine its location
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 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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 month ago

Know the solutions? Share your knowledge to help other developers to debug faster.