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 153244 - java.lang.IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex()
Summary: java.lang.IllegalStateException: Should not acquire Children.MUTEX while hold...
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: rmichalsky
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-14 19:28 UTC by Jesse Glick
Modified: 2010-03-09 11:00 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 137430


Attachments
stacktrace (26.03 KB, text/plain)
2008-11-14 19:28 UTC, Jesse Glick
Details
stacktrace (16.34 KB, text/plain)
2009-01-19 10:27 UTC, dpkumar
Details
stacktrace (17.75 KB, text/plain)
2009-01-20 09:55 UTC, dmeister
Details
stacktrace (20.95 KB, text/plain)
2009-01-22 19:20 UTC, Jesse Glick
Details
stacktrace (20.95 KB, text/plain)
2009-02-02 08:39 UTC, saeed_z_f
Details
stacktrace (6.78 KB, text/plain)
2009-11-01 04:38 UTC, esmithbss
Details
stacktrace (6.78 KB, text/plain)
2009-11-01 04:44 UTC, esmithbss
Details
stacktrace (6.78 KB, text/plain)
2009-11-01 04:53 UTC, esmithbss
Details
stacktrace (6.41 KB, text/plain)
2010-03-09 11:00 UTC, Andrei Chistiakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2008-11-14 19:28:08 UTC
Build: NetBeans IDE Dev (Build 081113)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.27-7-generic, i386

User Comments:
jglick: Changing JDK for a suite from JDK 1.5 to JDK 1.6 (Default).

giorgio42: Setting glassfishv3 prelude as web application server for a web application that previously used tomcat 6.

jglick: Changing JDK for a suite from JDK 1.5 to JDK 1.6 (Default).



Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy.propertyChange(.java:0)
        at org.openide.nodes.Node.fireOwnPropertyChange(Node.java:1213)
        at org.openide.nodes.FilterNode$NodeAdapter.propertyChange(FilterNode.java:1196)
        at org.openide.nodes.FilterNode$NodeAdapter.propertyChange(FilterNode.java:1171)
        at org.openide.nodes.Node.fireOwnPropertyChange(Node.java:1213)
        at org.openide.nodes.Node.fireNameChange(Node.java:1005)
Comment 1 Jesse Glick 2008-11-14 19:28:21 UTC
Created attachment 73776 [details]
stacktrace
Comment 2 Lukas Hasik 2008-11-14 19:56:27 UTC
java.lang.IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex()
...
        at org.netbeans.modules.apisupport.project.ui.PlatformNode.stateChanged(PlatformNode.java:157)
        
Comment 3 dpkumar 2009-01-19 10:27:37 UTC
Build: NetBeans IDE Dev (Build 200901151401)
VM: Java HotSpot(TM) Server VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy6.propertyChange(.java:0)
        at org.openide.nodes.Node.fireOwnPropertyChange(Node.java:1230)
        at org.openide.nodes.FilterNode$NodeAdapter.propertyChange(FilterNode.java:1196)
        at org.openide.nodes.FilterNode$NodeAdapter.propertyChange(FilterNode.java:1171)
        at org.openide.nodes.Node.fireOwnPropertyChange(Node.java:1230)
        at org.openide.nodes.Node.fireNameChange(Node.java:1016)
Comment 4 dpkumar 2009-01-19 10:27:47 UTC
Created attachment 75975 [details]
stacktrace
Comment 5 dmeister 2009-01-20 09:55:27 UTC
Build: NetBeans IDE Dev (Build 200901151401)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments: 


Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy8.propertyChange(.java:0)
        at org.openide.nodes.Node.fireOwnPropertyChange(Node.java:1230)
        at org.openide.nodes.FilterNode$NodeAdapter.propertyChange(FilterNode.java:1196)
        at org.openide.nodes.FilterNode$NodeAdapter.propertyChange(FilterNode.java:1171)
        at org.openide.nodes.Node.fireOwnPropertyChange(Node.java:1230)
        at org.openide.nodes.Node.fireNameChange(Node.java:1016)
Comment 6 dmeister 2009-01-20 09:55:31 UTC
Created attachment 76024 [details]
stacktrace
Comment 7 Jesse Glick 2009-01-22 19:19:56 UTC
Build: NetBeans IDE Dev (Build 090122)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Linux, 2.6.27-9-generic, i386

User Comments: 


Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy6.propertyChange(.java:0)
        at org.openide.nodes.Node.fireOwnPropertyChange(Node.java:1230)
        at org.openide.nodes.FilterNode$NodeAdapter.propertyChange(FilterNode.java:1196)
        at org.openide.nodes.FilterNode$NodeAdapter.propertyChange(FilterNode.java:1171)
        at org.openide.nodes.Node.fireOwnPropertyChange(Node.java:1230)
        at org.openide.nodes.Node.fireNameChange(Node.java:1016)
Comment 8 Jesse Glick 2009-01-22 19:20:10 UTC
Created attachment 76152 [details]
stacktrace
Comment 9 saeed_z_f 2009-02-02 08:39:44 UTC
Build: NetBeans IDE Dev (Build 200902011401)
VM: Java HotSpot(TM) Server VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP, 5.1, x86

User Comments: 
Occur when working with netbeans module project

Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy6.propertyChange(.java:0)
        at org.openide.nodes.Node.fireOwnPropertyChange(Node.java:1230)
        at org.openide.nodes.FilterNode$NodeAdapter.propertyChange(FilterNode.java:1196)
        at org.openide.nodes.FilterNode$NodeAdapter.propertyChange(FilterNode.java:1171)
        at org.openide.nodes.Node.fireOwnPropertyChange(Node.java:1230)
        at org.openide.nodes.Node.fireNameChange(Node.java:1016)
Comment 10 saeed_z_f 2009-02-02 08:39:49 UTC
Created attachment 76441 [details]
stacktrace
Comment 11 rmichalsky 2009-02-11 13:04:01 UTC
fixed in core-main, changeset #b8a3460bbcb5
Comment 12 Quality Engineering 2009-02-12 08:22:32 UTC
Integrated into 'main-golden', will be available in build *200902120201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b8a3460bbcb5
User: Richard Michalsky <rmichalsky@netbeans.org>
Log: #153244 children notification outside ProjectManager.mutex()
Comment 13 Andrey Yamkovoy 2009-10-22 09:13:17 UTC
Reopen because still reproducible in the Dev build
Comment 14 rmichalsky 2009-10-22 14:43:42 UTC
Please provide stacktrace from current build, it has been resolved for stacktraces attached so far.
Comment 15 esmithbss 2009-11-01 04:38:44 UTC
Build: NetBeans IDE Dev (Build 200910301401)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.1, x86

User Comments: 
Changing JavaFX Platform selection for an old JavaFX Application

Stacktrace: 
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.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 16 esmithbss 2009-11-01 04:38:49 UTC
Created attachment 90375 [details]
stacktrace
Comment 17 Exceptions Reporter 2009-11-01 04:38:54 UTC
This issue already has 24 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=137430
Comment 18 esmithbss 2009-11-01 04:44:43 UTC
Build: NetBeans IDE Dev (Build 200910301401)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.1, x86

User Comments: 
Changing JavaFX Platforms for an existing project.

Stacktrace: 
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.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 19 esmithbss 2009-11-01 04:44:47 UTC
Created attachment 90377 [details]
stacktrace
Comment 20 esmithbss 2009-11-01 04:53:43 UTC
Build: NetBeans IDE Dev (Build 200910301401)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.1, x86

User Comments: 
Changing JavaFX Platforms.

Stacktrace: 
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.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 21 esmithbss 2009-11-01 04:53:47 UTC
Created attachment 90378 [details]
stacktrace
Comment 22 rmichalsky 2009-11-02 12:26:35 UTC
Exception in recent stacktraces is thrown from JavaFX project, not apisupport project, I've filed separate issue #175918.
Comment 23 Andrei Chistiakov 2010-03-09 11:00:34 UTC
Created attachment 94935 [details]
stacktrace