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 18810 - a java.awt.IllegalComponentStateException
Summary: a java.awt.IllegalComponentStateException
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-19 12:59 UTC by Cristian Carstoiu
Modified: 2007-11-05 13:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE.LOG (73.72 KB, text/plain)
2001-12-19 13:00 UTC, Cristian Carstoiu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cristian Carstoiu 2001-12-19 12:59:16 UTC
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)
Comment 1 Cristian Carstoiu 2001-12-19 13:00:41 UTC
Created attachment 3890 [details]
IDE.LOG
Comment 2 Jan Lahoda 2002-01-02 16:11:29 UTC
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?
Comment 3 Miloslav Metelka 2002-01-10 17:57:19 UTC
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
Comment 4 Quality Engineering 2003-06-30 18:05:18 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 5 Quality Engineering 2003-06-30 18:11:28 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.