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 168546 - IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex()
Summary: IllegalStateException: Should not acquire Children.MUTEX while holding Projec...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: App Client (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Konecny
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-14 14:12 UTC by pribyl
Modified: 2009-09-18 22:30 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 146882


Attachments
stacktrace (6.65 KB, text/plain)
2009-07-14 14:12 UTC, pribyl
Details
stacktrace (6.72 KB, text/plain)
2009-07-21 13:32 UTC, Petr Jiricka
Details
stacktrace (7.71 KB, text/plain)
2009-09-07 10:56 UTC, Martin Schovanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pribyl 2009-07-14 14:12:30 UTC
Build: NetBeans IDE Dev (Build 200907140201)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86

User Comments:
pribyl: I created new Java EE sample project (Loterry Annotation). As there was missing server problem, I added new GlassFish server (in the Services tab).
I switched back to the Projects tab. Tere were 4 nodes present, each with yellow triangle badge indicating the server problem. When I right click the second node and selected "Resolve missing server problem", this Exception was thrown. With the first node there was no problem.

ievans: Resolving the server for a Java EE app client project.

chrislundin: connect SOA CASA project to glassfish application server

GUEST: Resolving broken server on JavaEE client project.

vernons: Selected "Add Project Jar Files" in step "To add a JBI module" in the XSLT Quick Start tutorial.

vkraemer: closing about 15 projects at the same time...

recent pull from web-main



Stacktrace: 
java.lang.IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex()<br/>
        at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1808)<br/>
        at org.openide.util.Mutex.doWrapperAccess(Mutex.java:1320)<br/>
        at org.openide.util.Mutex.readAccess(Mutex.java:351)<br/>
        at org.openide.explorer.view.TreeView$TreePropertyListener.propertyChange(TreeView.java:1181)<br/>
        at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:188)<br/>
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)<br/>
Comment 1 pribyl 2009-07-14 14:12:37 UTC
Created attachment 84716 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-07-14 14:12:54 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=146882
Comment 3 Petr Jiricka 2009-07-21 13:32:25 UTC
Build: NetBeans IDE Dev (Build web-main-1160-on-090721)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-83, Java(TM) SE Runtime Environment, 1.6.0_13-b03-211
OS: Mac OS X, 10.5.7, x86_64

User Comments: 
Resolving a missing server problem for an AppClient project.


Stacktrace: 
java.lang.IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex()<br/>
        at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1808)<br/>
        at org.openide.util.Mutex.doWrapperAccess(Mutex.java:1320)<br/>
        at org.openide.util.Mutex.readAccess(Mutex.java:351)<br/>
        at org.openide.explorer.view.TreeView$TreePropertyListener.propertyChange(TreeView.java:1181)<br/>
        at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:188)<br/>
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)<br/>
Comment 4 Petr Jiricka 2009-07-21 13:32:35 UTC
Created attachment 85005 [details]
stacktrace
Comment 5 Exceptions Reporter 2009-07-21 13:32:50 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=146882
Comment 6 Exceptions Reporter 2009-08-11 08:53:31 UTC
This issue already has 8 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=146882
Comment 7 Exceptions Reporter 2009-08-12 01:44:47 UTC
This issue already has 9 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=146882
Comment 8 Exceptions Reporter 2009-08-31 23:12:25 UTC
This issue already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=146882
Comment 9 Martin Schovanek 2009-09-07 10:56:48 UTC
Build: NetBeans IDE Dev (Build 200909040632)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-83, Java(TM) SE Runtime Environment, 1.6.0_13-b03-211
OS: Mac OS X, 10.5.8, x86_64

User Comments: 
Resolving missing server problem.

Stacktrace: 
java.lang.IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex()
        at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1808)
        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:1182)
        at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(WeakListenerImpl.java:188)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
Comment 10 Martin Schovanek 2009-09-07 10:56:52 UTC
Created attachment 87207 [details]
stacktrace
Comment 11 Exceptions Reporter 2009-09-07 10:56:57 UTC
This issue already has 11 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=146882
Comment 12 David Konecny 2009-09-16 23:58:52 UTC
4313983fcea6
Comment 13 Quality Engineering 2009-09-18 22:30:33 UTC
Integrated into 'main-golden', will be available in build *200909181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4313983fcea6
User: David Konecny <dkonecny@netbeans.org>
Log: #168546 - IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex()