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.
Wed Dec 19 14:54:26 EET 2001: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location at java.awt.Component.getLocationOnScreen_NoTreeLock (Component.java:1242) at java.awt.Component.getLocationOnScreen(Component.java:1216) at org.netbeans.editor.ext.ScrollCompletionPane.getPreferredBounds (ScrollCompletionPane.java:330) at org.netbeans.editor.ext.ScrollCompletionPane$3.run (ScrollCompletionPane.java:259) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:337) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:131) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:98) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Created attachment 3890 [details] IDE.LOG
The stack trace is similar as in issue #18808, and it seems as the same problem (although the code way is different), so I think these can be marked as duplicates. But, please, can tell us what you were doing? It is not much clear to me from the stack trace. Mila, can you, please, look on both these bugs and tell what went wrong?
Added check for component.isShowing(). Not clear why this happen (e.g. #12541). Checking in libsrc/org/netbeans/editor/ext/ScrollCompletionPane.java; /cvs/editor/libsrc/org/netbeans/editor/ext/ScrollCompletionPane.java,v <-- ScrollCompletionPane.java new revision: 1.15; previous revision: 1.14 done Checking in libsrc/org/netbeans/editor/ext/ScrollCompletionPane.java; /cvs/editor/libsrc/org/netbeans/editor/ext/ScrollCompletionPane.java,v <-- ScrollCompletionPane.java new revision: 1.14.16.1; previous revision: 1.14
Resolved for 3.3.x or earlier, no new info since then -> closing.