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.
Summary: | InterruptedException at java.lang.Object.wait | ||
---|---|---|---|
Product: | cnd | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | -- Other -- | Assignee: | Andrew Krasny <akrasny> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | vv159170 |
Priority: | P2 | ||
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 173426 |
Attachments: | stacktrace |
Description
Exceptions Reporter
2010-12-09 12:06:20 UTC
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(); } |