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 224415 - AssertionError: Must not wait in AWT here
Summary: AssertionError: Must not wait in AWT here
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-03 11:02 UTC by Martin Entlicher
Modified: 2013-01-04 02:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 197101


Attachments
stacktrace (2.87 KB, text/plain)
2013-01-03 11:02 UTC, Martin Entlicher
Details
stacktrace (2.82 KB, text/plain)
2013-01-03 11:14 UTC, Milos Kleint
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2013-01-03 11:02:54 UTC
Build: NetBeans IDE Dev (Build 20130102-013db9899409)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Linux

Stacktrace: 
java.lang.AssertionError: Must not wait in AWT here
   at org.netbeans.modules.uihandler.UIHandler.waitFlushed(UIHandler.java:199)
   at org.netbeans.modules.uihandler.Installer.closing(Installer.java:972)
   at org.netbeans.core.startup.NbInstaller.closing(NbInstaller.java:702)
   at org.netbeans.ModuleManager.shutDownAsync(ModuleManager.java:1966)
   at org.netbeans.core.startup.ModuleSystem.shutDownAsync(ModuleSystem.java:347)
   at org.netbeans.core.NbLifeExit.doExit(NbLifeExit.java:134)
Comment 1 Martin Entlicher 2013-01-03 11:02:56 UTC
Created attachment 129846 [details]
stacktrace
Comment 2 Milos Kleint 2013-01-03 11:14:16 UTC
Created attachment 129848 [details]
stacktrace

exiting
Comment 3 Martin Entlicher 2013-01-03 12:25:00 UTC
UIHandler.waitFlushed() must not be called in closing(), which is called in AWT.
Comment 4 Martin Entlicher 2013-01-03 14:15:10 UTC
Fixed by changeset:   243771:64677d98175e
http://hg.netbeans.org/core-main/rev/64677d98175e
Comment 5 Quality Engineering 2013-01-04 02:31:02 UTC
Integrated into 'main-golden', will be available in build *201301040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/64677d98175e
User: mentlicher@netbeans.org
Log: #224415: Do not call UIHandler.waitFlushed() in AWT from Installer, use @OnStop() instead.