This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 255249

Summary: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
Product: ide Reporter: jay-to-the-dee
Component: CodeAssignee: issues@ide <issues>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
See Also: https://launchpad.net/bugs/1497592
Issue Type: DEFECT Exception Reporter: 219414
Attachments: stacktrace

Description jay-to-the-dee 2015-09-12 21:37:37 UTC
This issue was reported manually by jay-to-the-dee.
It already has 2 duplicates 


Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
jay-to-the-dee: Occured on selecting reset window state. Was trying to view the application I'm developing's output.
I've noticed both these errors occurred using Official Sun Java only (1.8.0_60-b27)

GUEST: Unknown- I was modifying toolbars and settings.




Stacktrace: 
java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
   at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:2064)
   at java.awt.Component.getLocationOnScreen(Component.java:2038)
   at com.jarego.jayatana.swing.SwingGlobalMenuWindow.componentResized(SwingGlobalMenuWindow.java:549)
   at java.awt.AWTEventMulticaster.componentResized(AWTEventMulticaster.java:160)
   at java.awt.AWTEventMulticaster.componentResized(AWTEventMulticaster.java:159)
   at java.awt.AWTEventMulticaster.componentResized(AWTEventMulticaster.java:159)
Comment 1 jay-to-the-dee 2015-09-12 21:37:39 UTC
Created attachment 156130 [details]
stacktrace
Comment 2 Antonin Nebuzelsky 2015-09-14 10:38:41 UTC
Not a NetBeans bug.

Do not use com.jarego.jayatana with NetBeans or report bugs against that product.
Comment 3 jay-to-the-dee 2015-09-19 16:44:19 UTC
Sorry hadn't seen in the back-trace that Jayatana had caused this. I myself have had problems with Jayatana with my own Java programs so stopped using it, but Ubuntu now uses it by default for all Java programs (inlcuding with NetBeans) despite it's bugginess for some reason :S I'll try and get this reported to the Jayatana developers!
Comment 4 jay-to-the-dee 2015-09-19 16:54:17 UTC
Now reported on Launchpad here: https://bugs.launchpad.net/ubuntu/+source/jayatana/+bug/1497592