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 206409 - AssertionError: Window System API is required to be called from AWT thread only, see http://core.netbeans.org/proposals/threading/
Summary: AssertionError: Window System API is required to be called from AWT thread on...
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-14 19:56 UTC by rptmaestro
Modified: 2012-04-17 16:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 183770


Attachments
stacktrace (4.77 KB, text/plain)
2011-12-14 19:56 UTC, rptmaestro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rptmaestro 2011-12-14 19:56:52 UTC
This bug was originally marked as duplicate of bug 165076, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.1 RC2 (Build 201111302200)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08
OS: Windows 7

User Comments:
rptmaestro: Double-clicked on a usage search result from my local Maven repository.

rptmaestro: Double-clicked on a usage search result




Stacktrace: 
java.lang.AssertionError: 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.assertEventDispatchThread(WindowManagerImpl.java:1656)
   at org.netbeans.core.windows.ModeImpl.getSelectedTopComponent(ModeImpl.java:312)
   at org.netbeans.core.windows.Central.addModeClosedTopComponent(Central.java:878)
   at org.netbeans.core.windows.ModeImpl.addClosedTopComponent(ModeImpl.java:366)
   at org.netbeans.core.windows.ModeImpl.dockIntoImpl(ModeImpl.java:270)
   at org.netbeans.core.windows.ModeImpl.dockInto(ModeImpl.java:172)
Comment 1 rptmaestro 2011-12-14 19:56:54 UTC
Created attachment 114198 [details]
stacktrace
Comment 2 Stanislav Aubrecht 2011-12-15 08:44:54 UTC
(please feel free to reassign if i picked the wrong component)
Comment 3 Jesse Glick 2011-12-15 18:03:55 UTC
Openable says nothing about calling thread; up to FormDataObject$OpenEdit.open to use Mutex.EVENT.writeAccess(Runnable) if it is making EQ-oriented calls.
Comment 4 Jan Stola 2012-04-17 16:22:13 UTC
Fixed.

Modified file: http://hg.netbeans.org/jet-main/rev/df0d4d376215