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 130760

Summary: IDE freezed after "Set Active Project Configuration"
Product: javame Reporter: kate <kate>
Component: Build SystemAssignee: Petr Suchomel <psuchomel>
Status: VERIFIED FIXED    
Severity: blocker Keywords: THREAD
Priority: P2    
Version: 6.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread Dump

Description kate 2008-03-21 13:00:14 UTC
Product Version: NetBeans IDE Dev (Build 200803210006)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Linux version 2.6.24-12-generic running on i386; UTF-8; en_US (nb)

I followed this test specification for 3 times and IDE freezed everytime:

1. Invoke context menu (right click) on a configuration node under the Project Configurations node (Projects Window)
2. Choose Set Active Project Configuration 
EXPECTED RESULT: Configuration is marked in bold. This configuration is set up in the configuration combobox (only when
Mobility project is the main project) 

Note: After IDE restart, the previously selected project configuration is really set.
Comment 1 Lukas Hasik 2008-03-24 16:38:01 UTC
when the IDE will freeze next time generate thread dump and assign it to the issue - 
http://wiki.netbeans.org/GenerateThreadDump

Comment 2 kate 2008-03-25 14:51:18 UTC
The same issue occurs also on Win XP. Thread dump follows.

Product Version: NetBeans IDE Dev (Build 200803250006)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Comment 3 kate 2008-03-25 14:52:25 UTC
Created attachment 59024 [details]
Thread Dump
Comment 4 Karol Harezlak 2008-03-25 17:09:54 UTC
*** Issue 131053 has been marked as a duplicate of this issue. ***
Comment 5 Karol Harezlak 2008-03-25 17:10:41 UTC
*** Issue 131056 has been marked as a duplicate of this issue. ***
Comment 6 Petr Suchomel 2008-03-26 12:33:22 UTC
Fix ready. Actually this is not AWT lock, this is deadlock caused by over-synchronized access. Should be done different way
Comment 7 Petr Suchomel 2008-03-26 15:57:07 UTC
Fixed in CS f7a4f2bd4b2b
Comment 8 kate 2008-04-07 09:54:07 UTC
verified for

Product Version: NetBeans IDE Dev (Build 200804060002)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Comment 9 kate 2008-04-07 10:43:13 UTC
verified in rc 200804040802 (Linux)