java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location at java.awt.Component.getLocationOnScreen_NoTreeLock(java.desktop@9-ea/Component.java:2079) at java.awt.Component.getLocationOnScreen(java.desktop@9-ea/Component.java:2053)

JDK Bug System | Yuri Nesterenko | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.awt.IllegalComponentStateException

    component must be showing on the screen to determine its location at java.awt.Component.getLocationOnScreen_NoTreeLock(java.desktop@9-ea/Component.java:2079) at java.awt.Component.getLocationOnScreen(java.desktop@9-ea/Component.java:2053)

    at CloseOnMouseClickPropertyTest.lambda$getClickPoint$2()
  2. Unknown
    CloseOnMouseClickPropertyTest.lambda$getClickPoint$2
    1. CloseOnMouseClickPropertyTest.lambda$getClickPoint$2(CloseOnMouseClickPropertyTest.java:143)
    1 frame