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 181855

Summary: [69cat] javafx on stack: Should not acquire Children.MUTEX while holding ProjectManager.mutex()
Product: javafx Reporter: Lukas Hasik <lhasik>
Component: PlatformAssignee: Adam Sotona <asotona>
Status: VERIFIED FIXED    
Severity: normal CC: esmithbss, sunflower, yardus
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 166261
Bug Depends on: 183721    
Bug Blocks:    
Attachments: stacktrace
stacktrace
stacktrace

Description Lukas Hasik 2010-03-11 07:45:36 UTC
This bug was originally marked as duplicate of bug 153244, 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 201003081350)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-10M3025
OS: Mac OS X

User Comments:
GUEST: Run configuration for Bounce for mobile device

esmithbss: Changing JavaFX Platform selection for an old JavaFX Application

lhasik: changing JavaFX platform in project properties




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.VisualizerNode$QP.run(VisualizerNode.java:676)
   at org.openide.util.Mutex.doEvent(Mutex.java:1335)
   at org.openide.util.Mutex.writeAccess(Mutex.java:452)
Comment 1 Lukas Hasik 2010-03-11 07:45:42 UTC
Created attachment 95044 [details]
stacktrace
Comment 2 J Bachorik 2010-03-17 12:10:32 UTC
Created attachment 95280 [details]
stacktrace
Comment 3 Alexandr Scherbatiy 2010-04-05 09:10:45 UTC
Created attachment 96668 [details]
stacktrace
Comment 4 Adam Sotona 2010-04-06 10:26:05 UTC
There are two different sources of the problem in the attached thread dumps.

Fixed by firing changes in separate threads
here: http://hg.netbeans.org/javafx/rev/538f0d0123c7
and here: http://hg.netbeans.org/javafx/rev/4351e53f3352
Comment 5 Alexandr Scherbatiy 2010-04-13 07:40:46 UTC
unable to reproduce in build NetBeans-JavaFX-Soma: #218