Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 255249 - java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
java.awt.IllegalComponentStateException: component must be showing on the scr...
Status: RESOLVED INVALID
Product: ide
Classification: Unclassified
Component: Code
8.0
All All
: P3 (vote)
: TBD
Assigned To: issues@ide
issues@ide
EXCEPTIONS_REPORT
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-12 21:37 UTC by jay-to-the-dee
Modified: 2015-09-19 16:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
:


Attachments
stacktrace (2.46 KB, text/plain)
2015-09-12 21:37 UTC, jay-to-the-dee
Details

Note You need to log in before you can comment on or make changes to this bug.
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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo