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 150288 - [65cat] IllegalStateException: Problem in some module which uses Window System: Window System API is required to be called from AWT thread only, see http://core.netbeans.org/proposals/threading/
Summary: [65cat] IllegalStateException: Problem in some module which uses Window Syste...
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrey Yamkovoy
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-15 20:46 UTC by sunbiz
Modified: 2009-07-17 17:37 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 90178


Attachments
stacktrace (2.59 KB, text/plain)
2008-10-15 20:46 UTC, sunbiz
Details
stacktrace (2.59 KB, text/plain)
2009-02-07 08:02 UTC, navneet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2008-10-15 20:46:31 UTC
Build: NetBeans IDE Dev (Build 200810140201)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32
OS: Windows Vista, 6.0, x86

User Comments:
sunbiz: Expanded the dotFX node from the Services tab

sunbiz: Expanded the dotFX node from the Services tab



Stacktrace: 
java.lang.IllegalStateException: Problem in some module which uses Window System: Window System API is required to be called from AWT thread only, see http://core.netbeans.org/proposals/threading/
        at org.netbeans.core.windows.WindowManagerImpl.warnIfNotInEDT(WindowManagerImpl.java:1532)
        at org.netbeans.core.windows.WindowManagerImpl.topComponentIconChanged(WindowManagerImpl.java:1206)
        at org.openide.windows.TopComponent.setIcon(TopComponent.java:923)
        at com.dotfx.netbeans.ServerClassControlTopComponent.<init>(ServerClassControlTopComponent.java:47)
        at com.dotfx.netbeans.ServerClassControlTopComponent.getDefault(ServerClassControlTopComponent.java:84)
        at com.dotfx.netbeans.ServerNode.<init>(ServerNode.java:78)
Comment 1 sunbiz 2008-10-15 20:46:42 UTC
Created attachment 71900 [details]
stacktrace
Comment 2 David Simonek 2008-10-16 07:49:51 UTC
Problem is in dotfx module, com.dotfx.netbeans.ServerNode should not create top component in RequestProcessor thread,
top component must be created in EQ thread.

 at com.dotfx.netbeans.ServerClassControlTopComponent.getDefault(ServerClassControlTopComponent.java:84)
 at com.dotfx.netbeans.ServerNode.<init>(ServerNode.java:78)

Passing to javafx, please reassign further if wrong component, thanks.
Comment 3 Andrey Yamkovoy 2008-10-20 15:57:08 UTC
I guess this is dotFX plugin issue, because com.dotfx.netbeans... package in the stack trace.
Comment 4 navneet 2009-02-07 07:58:34 UTC
Build: NetBeans IDE Dev (Build 200812180001)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Windows Vista, 6.0, amd64

User Comments: 


Stacktrace: 
java.lang.IllegalStateException: Problem in some module which uses Window System: Window System API is required to be called from AWT thread only, see http://core.netbeans.org/proposals/threading/
        at org.netbeans.core.windows.WindowManagerImpl.warnIfNotInEDT(WindowManagerImpl.java:1533)
        at org.netbeans.core.windows.WindowManagerImpl.topComponentIconChanged(WindowManagerImpl.java:1207)
        at org.openide.windows.TopComponent.setIcon(TopComponent.java:918)
        at com.dotfx.netbeans.ServerClassControlTopComponent.<init>(ServerClassControlTopComponent.java:47)
        at com.dotfx.netbeans.ServerClassControlTopComponent.getDefault(ServerClassControlTopComponent.java:84)
        at com.dotfx.netbeans.ServerNode.<init>(ServerNode.java:78)
Comment 5 navneet 2009-02-07 08:02:24 UTC
Created attachment 76693 [details]
stacktrace
Comment 6 Exceptions Reporter 2009-07-17 17:37:07 UTC
This issue already has 14 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=90178