Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #38276
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2018-05-23 06:55 -0700 |
| Message-ID | <21965215-6c26-48fd-aef9-199e00ea9862@googlegroups.com> (permalink) |
| Subject | Any way to prevent this bug? |
| From | Eric Douglas <e.d.programmer@gmail.com> |
I just got this message, didn't crash my application but wrote to my logs. It appears to be this bug (https://bugs.openjdk.java.net/browse/JDK-8179665) but that claims it's fixed. I'm running Java 8 update 161. It doesn't say what in my code may have triggered it, just that it comes from EDT. java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location at java.awt.Component.getLocationOnScreen_NoTreeLock(Unknown Source) at java.awt.Component.getLocationOnScreen(Unknown Source) at javax.swing.text.JTextComponent$InputMethodRequestsHandler.getTextLocation(Unknown Source) at sun.awt.im.InputMethodContext.getTextLocation(Unknown Source) at sun.awt.windows.WInputMethod$1.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
Any way to prevent this bug? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-23 06:55 -0700
Re: Any way to prevent this bug? Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-05-23 11:13 -0400
Re: Any way to prevent this bug? Eric Douglas <e.d.programmer@gmail.com> - 2018-05-23 08:31 -0700
csiph-web