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 157731 - 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: RESOLVED DUPLICATE of bug 119409
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@platform
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-01 16:14 UTC by cealex
Modified: 2009-02-19 22:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 1474


Attachments
stacktrace (1.92 KB, text/plain)
2009-02-01 16:14 UTC, cealex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cealex 2009-02-01 16:14:23 UTC
Build: NetBeans IDE 6.1 (Build 200810140114)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP, 5.1, x86

User Comments:
cealex: Settings:
"
Product Version: NetBeans IDE 6.1 (Build 200810140114)
Java: 1.6.0_11; Java HotSpot(TM) Client VM 11.0-b16
System: Windows XP version 5.1 running on x86; Cp1252; pt_PT (nb)
Userdir: C:\GlassFishESB\.netbeans\glassfishesb
"

I was following the Tutorial: 
 Using the Database Binding Component (Tutorial)
 
in the step "Validating BPEL",
I was in BPELProcess.bpel view, after validating the xml 
I selected "Show opened documents list" on top of the window.
When I selected one off the items the error appears.

-------------------------------------------------------------------------------
>Log Session: Sunday, February 1, 2009 1:25:58 PM GMT
>System Info: 
  Product Version         = NetBeans IDE 6.1 (Build 200810140114)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_11; Java HotSpot(TM) Client VM 11.0-b16; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_11-b03
  Java Home

krystyna: -had just expanded project in project window, then clicked on previously created Application Bean tab in multiiviewer

krystyna: -Used the drop down indicator to switch to Welcome page from page1
-VWP ee5 project . There were no components on designer. Had previously tabbed using through multiview using shortcut keys .

krystyna: --loading anothe faces-config.xml from drop downlocator (VWP projects)

cbritton: Selected java source from open document dropdown chooser.

cbritton: Selected item from open tab dropdown menu at far right of tab row.

krystyna: -Using the drop down page locator, attempted to switch pages. Was editing java source in VW ee5 project. The page I was calling was probably in design view.

mrkam: Go To Source from Profiler Memory Snapshot results

tboerkel: Opening (working) form.

cbritton: nb6.0 is really unstable

krystyna: -using drop down page locator in designer, switching pages

krystyna: -from page dropdown locator, switched from one faces-config.xml to another.

rgarske: editign a value in a Properties bundle

aljsteiner: Attempting to view and IDM object as XML

aljsteiner: switched view in idm editing

aljsteiner: editing an IDM subtask

tboerkel: Switching to another source in the java editor.

rondeth: Switching from design view to code view in another (separate) class.

aljsteiner: IDM processing

GUEST: i just selected a tab containing a .xml file.  i had been on another tab with and xsd.  nothing needed to be saved.  i was just looking.

GUEST: I was trying to change between two panel in different classes.

aljsteiner: Editing IDM documents

GUEST: switching java editor tabs

cealex: Settings:
"
Product Version: NetBeans IDE 6.1 (Build 200810140114)
Java: 1.6.0_11; Java HotSpot(TM) Client VM 11.0-b16
System: Windows XP version 5.1 running on x86; Cp1252; pt_PT (nb)
Userdir: C:\GlassFishESB\.netbeans\glassfishesb
"

I was following the Tutorial: 
 Using the Database Binding Component (Tutorial)
 
in the step "Validating BPEL",
I was in BPELProcess.bpel view, after validating the xml 
I selected "Show opened documents list" on top of the window.
When I selected one off the items the error appears.

-------------------------------------------------------------------------------
>Log Session: Sunday, February 1, 2009 1:25:58 PM GMT
>System Info: 
  Product Version         = NetBeans IDE 6.1 (Build 200810140114)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_11; Java HotSpot(TM) Client VM 11.0-b16; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_11-b03
  Java Home



Stacktrace: 
java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
        at java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:1828)
        at java.awt.Component.getLocationOnScreen(Component.java:1802)
        at javax.swing.plaf.basic.BasicToolBarUI$Handler.mouseReleased(BasicToolBarUI.java:1162)
        at java.awt.Component.processMouseEvent(Component.java:6134)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
        at java.awt.Component.processEvent(Component.java:5899)
Comment 1 cealex 2009-02-01 16:14:39 UTC
Created attachment 76429 [details]
stacktrace
Comment 2 Stanislav Aubrecht 2009-02-03 10:49:55 UTC

*** This issue has been marked as a duplicate of 119409 ***