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.
[#200511071900, jdk1.5.0] J2EE qa-functional tests repeatedly freezes with following stack trace:
Created attachment 26712 [details] Thread Dump
Thanks to Marek Fukala for evaluation. Error dialog was opened in Mutex lock. Fix is to post it to RequestProcessor. /cvs/j2ee/earproject/src/org/netbeans/modules/j2ee/earproject/ProjectEar.java,v <-- ProjectEar.java new revision: 1.14; previous revision: 1.13
Slightly better and more effective would have been to schedule to the EDT: SwingUtilities.invokeLater(new Runnable()...); or even better: Mutex.EVENT.writeAccess(new Runnable()...); The latter is the best solution because it: - either just runs the runnable if the current thread is the EDT - or does SwingUtilities.invokeLater() otherwise
Verified in #200603280200.
Verified in #200605160200 build.