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 130837 - IllegalStateException: Assertion failed. WindowsAPI is required to be called from AWT thread only, see http://core.netbeans.org/proposals/threading/
Summary: IllegalStateException: Assertion failed. WindowsAPI is required to be called ...
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Vancouvering
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-22 06:21 UTC by tionline
Modified: 2008-03-24 20:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 18202


Attachments
stacktrace (841 bytes, text/plain)
2008-03-22 06:21 UTC, tionline
Details
stacktrace (841 bytes, text/plain)
2008-03-22 06:27 UTC, tionline
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tionline 2008-03-22 06:21:06 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Windows XP, 5.1, x86

User Comments:
Comment 1 tionline 2008-03-22 06:21:10 UTC
Created attachment 58882 [details]
stacktrace
Comment 2 tionline 2008-03-22 06:27:15 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Windows XP, 5.1, x86

User Comments: 
Comment 3 tionline 2008-03-22 06:27:17 UTC
Created attachment 58883 [details]
stacktrace
Comment 4 David Simonek 2008-03-22 13:50:19 UTC
Exception says it all: Winsys code must be called from ED thread only, which is not fulfilled here:

at org.netbeans.modules.db.explorer.dataview.DataViewWindow.<init>(DataViewWindow.java:135)
Comment 5 David Vancouvering 2008-03-24 20:03:37 UTC
I wasn't able to reproduce, but I think I saw the cause of the problem and made a fix.  I am marking as resolved, can
you please verify or re-open if you still see the issue.

http://hg.netbeans.org/main?cmd=changeset;node=f92e47796c2a