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 191966

Summary: Deadlock in cnd.makeproject.api.configurations.MakeConfigurationDescriptor.waitInitTask
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: -- Other --Assignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal CC: issues, thp
Priority: P2    
Version: 7.0   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:
Attachments: thread dump

Description Alexander Simon 2010-11-15 12:55:41 UTC
Created attachment 102982 [details]
thread dump

Step to reproduce:
- Create C/C++ application.
- Close all project in IDE
- Close IDE
- replace version in project in nbproject/configuration.xml file (second line, increase version on version + 1)
- Restart IDE
- Open project
See deadlock.
Comment 1 Alexander Simon 2010-11-19 21:18:03 UTC
*** Bug 192198 has been marked as a duplicate of this bug. ***
Comment 2 Jaroslav Tulach 2010-11-23 15:01:56 UTC
Try to avoid blocking in


        at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.waitInitTask(MakeConfigurationDescriptor.java:262)
        - waiting to lock <0x6f145790> (a org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor)
        at org.netbeans.modules.cnd.makeproject.api.configurations.ConfigurationDescriptorProvider.getConfigurationDescriptor(ConfigurationDescriptorProvider.java:197)
        at org.netbeans.modules.cnd.makeproject.api.configurations.ConfigurationDescriptorProvider.getConfigurationDescriptor(ConfigurationDescriptorProvider.java:106)
        at org.netbeans.modules.cnd.makeproject.ui.MakeLogicalViewProvider.getMakeConfigurationDescriptor(MakeLogicalViewProvider.java:1098)
        at org.netbeans.modules.cnd.makeproject.ui.MakeLogicalViewProvider.createLogicalView(MakeLogicalViewProvider.java:182)
Comment 3 Alexander Simon 2010-11-25 15:59:58 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/c506ba8f57a7
Comment 4 Quality Engineering 2010-11-26 06:14:53 UTC
Integrated into 'main-golden', will be available in build *201011260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/c506ba8f57a7
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #191966 Deadlock in cnd.makeproject.api.configurations.MakeConfigurationDescriptor.waitInitTask