-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
9
Start jaccessinspector from JRE/JDK bin directory
Start SwingSet2
Click on text field
Click on second button (button demo)
Wait
Get exception
Exception in thread "Thread-2" java.lang.RuntimeException: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
at com.sun.java.accessibility.internal.AccessBridge$InvocationUtils.invo
keAndWait(AccessBridge.java:7100)
at com.sun.java.accessibility.internal.AccessBridge$InvocationUtils.invo
keAndWait(AccessBridge.java:7075)
at com.sun.java.accessibility.internal.AccessBridge.getCaretLocation(Acc
essBridge.java:1746)
at com.sun.java.accessibility.internal.AccessBridge.getCaretLocationX(Ac
cessBridge.java:1778)
at com.sun.java.accessibility.internal.AccessBridge.runDLL(Native Method)
at com.sun.java.accessibility.internal.AccessBridge.access$300(AccessBri
dge.java:57)
at com.sun.java.accessibility.internal.AccessBridge$dllRunner.run(Access
Bridge.java:176)
at java.lang.Thread.run(Thread.java:747)
Caused by: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:2080)
at java.awt.Component.getLocationOnScreen(Component.java:2054)
at com.sun.java.accessibility.internal.AccessBridge$76.call(AccessBridge
.java:1762)
at com.sun.java.accessibility.internal.AccessBridge$76.call(AccessBridge
.java:1746)
at com.sun.java.accessibility.internal.AccessBridge$InvocationUtils$Call
ableWrapper.run(AccessBridge.java:7156)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:759)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:712)
at java.awt.EventQueue$3.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:729)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:192)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:117)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:106)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:102)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:94)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
Start SwingSet2
Click on text field
Click on second button (button demo)
Wait
Get exception
Exception in thread "Thread-2" java.lang.RuntimeException: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
at com.sun.java.accessibility.internal.AccessBridge$InvocationUtils.invo
keAndWait(AccessBridge.java:7100)
at com.sun.java.accessibility.internal.AccessBridge$InvocationUtils.invo
keAndWait(AccessBridge.java:7075)
at com.sun.java.accessibility.internal.AccessBridge.getCaretLocation(Acc
essBridge.java:1746)
at com.sun.java.accessibility.internal.AccessBridge.getCaretLocationX(Ac
cessBridge.java:1778)
at com.sun.java.accessibility.internal.AccessBridge.runDLL(Native Method)
at com.sun.java.accessibility.internal.AccessBridge.access$300(AccessBri
dge.java:57)
at com.sun.java.accessibility.internal.AccessBridge$dllRunner.run(Access
Bridge.java:176)
at java.lang.Thread.run(Thread.java:747)
Caused by: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:2080)
at java.awt.Component.getLocationOnScreen(Component.java:2054)
at com.sun.java.accessibility.internal.AccessBridge$76.call(AccessBridge
.java:1762)
at com.sun.java.accessibility.internal.AccessBridge$76.call(AccessBridge
.java:1746)
at com.sun.java.accessibility.internal.AccessBridge$InvocationUtils$Call
ableWrapper.run(AccessBridge.java:7156)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:303)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:759)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:712)
at java.awt.EventQueue$3.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:729)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
ad.java:192)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
java:117)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:106)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:102)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:94)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)