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 - java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
Summary: java.awt.IllegalComponentStateException: component must be showing on the scr...
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@ide
Depends on:
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
Exception Reporter: 219414

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: