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 173913

Summary: Illegal Window System API call off EQ
Product: debugger Reporter: Jesse Glick <jglick>
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: blocker Keywords: THREAD
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://deadlock.netbeans.org/hudson/job/trunk/6734/testReport/org.netbeans.test.ide/MemoryValidationTest/testGCDocuments/
Issue Type: DEFECT Exception Reporter:

Description Jesse Glick 2009-10-06 21:19:46 UTC
WARNING [org.netbeans.core.windows.WindowManagerImpl]
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:1517)
	at org.netbeans.core.windows.WindowManagerImpl.findTopComponent(WindowManagerImpl.java:250)
	at org.netbeans.modules.debugger.jpda.JavaEngineProvider$1ComponentProxy.getComponent(JavaEngineProvider.java:101)
[catch] at org.netbeans.modules.debugger.ui.DebuggerManagerListener$1.run(DebuggerManagerListener.java:127)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1084)
Comment 1 Martin Entlicher 2009-10-07 13:35:49 UTC
Caused by the fix of issue #173712.
Comment 2 Martin Entlicher 2009-10-07 13:36:53 UTC
BTW: I consider the behavior of WindowManagerImpl.warnIfNotInEDT() very unfortunate, I've tested the behavior before
integration and did not get anything in messages.log file!
Comment 3 Martin Entlicher 2009-10-07 14:39:33 UTC
Fixed in changeset:   148424:5c5689e79c97
http://hg.netbeans.org/main/rev/5c5689e79c97
Comment 4 Jesse Glick 2009-10-07 17:06:09 UTC
Perhaps your manual testing did not exercise the same code path as commit validation does. Hard to say.
Comment 5 Quality Engineering 2009-10-09 23:00:17 UTC
Integrated into 'main-golden', will be available in build *200910091401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5c5689e79c97
User: mentlicher@netbeans.org
Log: #173913 - Components must be loaded in AWT.