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 Spring JIRA by Kambiz Darabi, 1 year ago
component must be showing on the screen to determine its location
via Spring JIRA by Kambiz Darabi, 1 year ago
component must be showing on the screen to determine its location
via Spring JIRA by Henry Szetu, 1 year ago
component must be showing on the screen to determine its location
via Spring JIRA by Henry Szetu, 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
via Stack Overflow by Aleksey
, 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:1678)
at org.springframework.richclient.util.OverlayHelper.positionOverlay(OverlayHelper.java:200)
at org.springframework.richclient.util.OverlayHelper.updateOverlay(OverlayHelper.java:175)
at org.springframework.richclient.util.OverlayHelper.access$1(OverlayHelper.java:161)
at org.springframework.richclient.util.OverlayHelper$OverlayTargetChangeHandler.componentResized(OverlayHelper.java:145)
at java.awt.AWTEventMulticaster.componentResized(AWTEventMulticaster.java:102)
at java.awt.Component.processComponentEvent(Component.java:5314)
at java.awt.Component.processEvent(Component.java:5268)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 3 months ago

Write tip

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