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 163580 - 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...
Status: VERIFIED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Chat (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Becicka
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-24 12:21 UTC by Jaromir Uhrik
Modified: 2016-02-16 06:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 150059


Attachments
stacktrace (1.15 KB, text/plain)
2009-04-24 12:21 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2009-04-24 12:21:48 UTC
Build: NetBeans IDE Dev (Build 200904240201)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments:
juhrik: Pushed "create chat" in kenai window and confirmed its creation. The exception appears immediately - I gues it's because the Chat window is not opened.



Stacktrace: 
java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
        at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1680)
        at java.awt.Component.getLocationOnScreen(Component.java:1654)
        at javax.swing.JPopupMenu.show(JPopupMenu.java:945)
        at org.netbeans.modules.kenai.collab.chat.ChatTopComponent.showPopup(ChatTopComponent.java:310)
        at org.netbeans.modules.kenai.collab.chat.ChatTopComponent$4.run(ChatTopComponent.java:159)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
Comment 1 Jaromir Uhrik 2009-04-24 12:21:54 UTC
Created attachment 80839 [details]
stacktrace
Comment 2 Jan Becicka 2009-04-27 10:18:37 UTC
e81f512704ea
Comment 3 Quality Engineering 2009-04-28 18:51:18 UTC
Integrated into 'main-golden', will be available in build *200904281401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/e81f512704ea
User: Jan Becicka <jbecicka@netbeans.org>
Log: #163580: java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
Comment 4 Petr Dvorak 2009-05-27 14:51:14 UTC
Verified,

Product Version: NetBeans IDE 6.7 RC1 (Build 200905270001)
Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02
System: Linux version 2.6.28-11-generic running on i386; UTF-8; en_US (nb)