Please use the Apache issue tracking system for new NetBeans 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...
Product: ide
Classification: Unclassified
Component: Code
All All
: P3 (vote)
Assigned To: issues@ide
Depends on:
  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

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

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.

java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
   at java.awt.Component.getLocationOnScreen_NoTreeLock(
   at java.awt.Component.getLocationOnScreen(
   at com.jarego.jayatana.swing.SwingGlobalMenuWindow.componentResized(
   at java.awt.AWTEventMulticaster.componentResized(
   at java.awt.AWTEventMulticaster.componentResized(
   at java.awt.AWTEventMulticaster.componentResized(
Comment 1 jay-to-the-dee 2015-09-12 21:37:39 UTC
Created attachment 156130 [details]
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:

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