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 | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

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