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: | IDE hangs on some of machines when user select "Options|IDE Configuration|System|Object Types|Executable" option | ||
---|---|---|---|
Product: | cnd | Reporter: | soldatov <soldatov> |
Component: | Project | Assignee: | _ gordonp <gordonp> |
Status: | CLOSED FIXED | ||
Severity: | blocker | ||
Priority: | P1 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
soldatov
2007-02-20 14:51:45 UTC
The RunDialogAction constructor created a JButton from a non-AWT-event-queue thread. This caused a race in the latest builds. This looks like a timing issue which has been in our code for some time, rather than the direct result of recent commits. I removed initialization from the constructor and moved it to an init method which gets called as a result of performAction(). This should ensure it only gets called from the AWT event queue thread. Its also better in that it defers creation of the JButton (and several other objects) until the dialog is actualy being posted. verified with FCS version of 5.5.1u1 on the sqa45 machine |