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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

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 Stack Overflow by Aleksey
, 2 years ago
component must be showing on the screen to determine its location
via Netbeans Bugzilla by viendu, 1 year ago
component must be showing on the screen to determine its location
via Oracle Community by 843804, 1 year ago
component must be showing on the screen to determine its location
via Stack Overflow by Madhan
, 1 year 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:1507)
at org.springframework.richclient.util.OverlayHelper.positionOverlay(OverlayHelper.java:185)
at org.springframework.richclient.util.OverlayHelper.updateOverlay(OverlayHelper.java:165)
at org.springframework.richclient.util.OverlayHelper.access$000(OverlayHelper.java:44)
at org.springframework.richclient.util.OverlayHelper$2.ancestorMoved(OverlayHelper.java:100)
at java.awt.Component.processHierarchyBoundsEvent(Component.java:5299)
at java.awt.Component.processEvent(Component.java:4922)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 month ago

Write tip

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