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 175996 - Should not acquire Children.MUTEX in MakeLogicalViewProvider
Summary: Should not acquire Children.MUTEX in MakeLogicalViewProvider
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Alexey Vladykin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-04 10:12 UTC by Milan Kubec
Modified: 2009-11-09 03:59 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 Milan Kubec 2009-11-04 10:12:48 UTC
For details about this issue see issue #151498.

java.lang.IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex()
        at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1809)
        at org.openide.util.Mutex.postRequest(Mutex.java:1245)
        at org.openide.util.Mutex.postRequest(Mutex.java:1209)
        at org.openide.util.Mutex.postWriteRequest(Mutex.java:582)
        at org.openide.nodes.Children$Keys.applyKeys(Children.java:1514)
        at org.openide.nodes.Children$Keys.setKeys(Children.java:1458)
        at
org.netbeans.modules.cnd.makeproject.ui.MakeLogicalViewProvider$BaseMakeViewChildren.stateChanged(MakeLogicalViewProvider.java:1489)
        at org.netbeans.modules.cnd.makeproject.api.configurations.Folder.fireChangeEvent(Folder.java:910)
        at org.netbeans.modules.cnd.makeproject.api.configurations.Folder.fireChangeEvent(Folder.java:899)
        at org.netbeans.modules.cnd.makeproject.api.configurations.Folder.addElement(Folder.java:410)
        at org.netbeans.modules.cnd.makeproject.api.configurations.Folder.addFolder(Folder.java:473)
        at
org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.addSourceFilesFromFolder(MakeConfigurationDescriptor.java:1112)
        at org.netbeans.modules.cnd.makeproject.api.configurations.Folder.fileFolderCreated(Folder.java:965)
        at org.openide.filesystems.FileUtil$Holder.fileFolderCreated(FileUtil.java:475)
        at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:139)
        at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:125)
        at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:102)
        at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:1071)
        at org.openide.filesystems.FileSystem$EventDispatcher.run(FileSystem.java:912)
        at org.openide.filesystems.EventControl.dispatchEvent(EventControl.java:79)
        at org.openide.filesystems.FileSystem.dispatchEvent(FileSystem.java:574)
        at org.openide.filesystems.FileObject.dispatchEvent(FileObject.java:526)
...
Comment 1 Alexey Vladykin 2009-11-09 03:59:45 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/0b6c9c2cec5f (followed the java.project fix from issue 175997)
Could not reproduce the original issue, so could not verify the fix either.