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 96040

Summary: IDE hangs on some of machines when user select "Options|IDE Configuration|System|Object Types|Executable" option
Product: cnd Reporter: soldatov <soldatov>
Component: ProjectAssignee: _ 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
------------------------
System = SunOS
Node = sqa45
Release = 5.10
NumCPU = 4
Netbeans 5.5
------------------------

IDE hangs on sqa45 machine when I select "Options|IDE
Configuration|System|Object Types|Executable" option in "Advanced Options"
window. On other machine I cannot reproduce this bug.
Comment 1 _ gordonp 2007-02-20 23:44:09 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.
Comment 2 Maria Tishkova 2007-08-06 15:01:15 UTC
verified with FCS version of 5.5.1u1 on the sqa45 machine