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 184501

Summary: IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex()
Product: java Reporter: Jesse Glick <jglick>
Component: ProjectAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: normal CC: mklaehn
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 168239
Bug Depends on:    
Bug Blocks: 183680    
Attachments: stacktrace

Description Jesse Glick 2010-04-19 21:55:29 UTC
This bug was originally marked as duplicate of bug 149066, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 100417-8010feee28c1)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

User Comments:
jglick: Added a subprj dep.




Stacktrace: 
java.lang.IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex()
   at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1828)
   at org.openide.util.Mutex.doWrapperAccess(Mutex.java:1320)
   at org.openide.util.Mutex.readAccess(Mutex.java:351)
   at org.openide.explorer.view.TreeView$TreePropertyListener.propertyChange(TreeView.java:1219)
   at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:193)
   at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
Comment 1 Jesse Glick 2010-04-19 21:55:35 UTC
Created attachment 97668 [details]
stacktrace
Comment 2 Jesse Glick 2010-04-19 22:02:24 UTC
freeform.ui.View.RootNode and J2SELogicalViewProvider.J2SELogicalViewRootNode need to fire name changes asynch.
Comment 3 Jesse Glick 2010-04-19 22:14:55 UTC
core-main #fa3461c98335
Comment 4 Quality Engineering 2010-04-21 04:35:51 UTC
Integrated into 'main-golden', will be available in build *201004210200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/fa3461c98335
User: Jesse Glick <jglick@netbeans.org>
Log: #184501: IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex()
Comment 5 Jesse Glick 2010-04-28 14:25:04 UTC
*** Bug 185127 has been marked as a duplicate of this bug. ***