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 121483

Summary: Deadlock when creating configuration
Product: javame Reporter: Lukas Hasik <lhasik>
Component: Build SystemAssignee: Adam Sotona <asotona>
Status: RESOLVED FIXED    
Severity: blocker Keywords: THREAD
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: thead dump

Description Lukas Hasik 2007-11-08 15:43:14 UTC
-created a new mobility project with a java class
-add a few configurations to the project
->deadlock
Comment 1 Lukas Hasik 2007-11-08 15:44:09 UTC
Created attachment 52727 [details]
thead dump
Comment 2 Lukas Hasik 2007-11-08 15:52:41 UTC
happens on Linux and jdk1.6(_03, _05). It was most times reproducible when entering Add Configuration dialog with combo
value  "add configuration..." in project properties
Comment 3 Adam Sotona 2007-11-09 09:16:29 UTC
GTK is calling method getName on a painted component and the method is synchronized with the whole component.
This is causing deadlock with our internal component synchronization.

Fixed in trunk by using a different locker for the synchronization.

Checking in CustomizerMIDP.java;
/cvs/mobility/project/src/org/netbeans/modules/mobility/project/ui/customizer/CustomizerMIDP.java,v  <-- 
CustomizerMIDP.java
new revision: 1.8; previous revision: 1.7
done

http://www.netbeans.org/source/browse/mobility/project/src/org/netbeans/modules/mobility/project/ui/customizer/CustomizerMIDP.java?r1=1.7&r2=1.8