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 - IDE hangs on some of machines when user select "Options|IDE Configuration|System|Object Types|Executable" option
Summary: IDE hangs on some of machines when user select "Options|IDE Configuration|Sys...
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: _ gordonp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-20 14:51 UTC by soldatov
Modified: 2007-08-06 15:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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