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.
This issue was reported manually by vv159170. It already has 1 duplicates Build: NetBeans IDE 7.0 M2 (Build 201010151251) VM: Java HotSpot(TM) 64-Bit Server VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07 OS: Windows 7 Stacktrace: java.lang.InterruptedException at java.lang.Object.wait(Object.java:0) at java.lang.Object.wait(Object.java:485) at java.awt.EventQueue.invokeAndWait(EventQueue.java:993) at org.openide.util.Mutex.doEventAccess(Mutex.java:1391) at org.openide.util.Mutex.readAccess(Mutex.java:271) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:1013)
Created attachment 103832 [details] stacktrace
let's evaluate exceptions as P2 issues
Integrated into 'main-golden', will be available in build *201012170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/75396df19965 User: Alexander Simon <alexvsimon@netbeans.org> Log: refactoring for Bug #193128 InterruptedException at java.lang.Object.wait
The root cause of this exception is that interrupted thread was waiting for a modal dialog... With http://hg.netbeans.org/cnd-main/rev/09f00d0fe453 all places where Dialog's setVisible(true) is invoked for a modal dialog were modified to follow this pattern: DialogDescriptor dd = ... Dialog d = DialogDisplayer.getDefault().createDialog(dd); try { dialog.setVisible(true); } catch (Throwable th) { if (!(th.getCause() instanceof InterruptedException)) { throw new RuntimeException(th); } dd.setValue(DialogDescriptor.CANCEL_OPTION); } finally { dialog.dispose(); }