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 148927 - IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex()
Summary: IllegalStateException: Should not acquire Children.MUTEX while holding Projec...
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Mysik
URL: http://statistics.netbeans.org/except...
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2008-10-02 09:56 UTC by rmatous
Modified: 2009-04-20 16:36 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 121896


Attachments
stacktrace (3.79 KB, text/plain)
2008-10-02 09:56 UTC, rmatous
Details
stacktrace (5.32 KB, text/plain)
2009-04-08 15:23 UTC, Peter Nabbefeld
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rmatous 2008-10-02 09:56:42 UTC
Build: NetBeans IDE Dev (Build 081002)
VM: Java HotSpot(TM) Client VM, 1.5.0_13-b05, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_13-b05
OS: Linux, 2.6.22-14-generic, i386

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.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.Node.setChildren(Node.java:451)
        at org.netbeans.modules.php.project.ui.logicalview.IncludePathNodeFactory$IncludePathRootNode.propertyChange(IncludePathNodeFactory.java:120)
Comment 1 rmatous 2008-10-02 09:56:47 UTC
Created attachment 71029 [details]
stacktrace
Comment 2 Tomas Mysik 2008-10-02 12:10:52 UTC
Fixed.
http://hg.netbeans.org/main/rev/a10bbbad8d66
Comment 3 Quality Engineering 2008-10-03 14:42:19 UTC
Integrated into 'main-golden', will be available in build *200810031107* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a10bbbad8d66
User: Tomas Mysik <tmysik@netbeans.org>
Log: #148927: IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex()
Comment 4 Exceptions Reporter 2008-10-21 19:16:56 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200810210201)
http://statistics.netbeans.org/exceptions/detail.do?id=131791
Comment 5 Exceptions Reporter 2008-10-21 19:17:59 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200810210201)
http://statistics.netbeans.org/exceptions/detail.do?id=131792
Comment 6 Tomas Mysik 2008-10-21 20:36:02 UTC
Looking at the stacktrace, the file is not "fresh" (no idea how it has happened, look at
http://hg.netbeans.org/main/file/tip/php.project/src/org/netbeans/modules/php/project/ui/logicalview/IncludePathNodeFactor
Closing as fixed again.
Comment 7 Exceptions Reporter 2009-02-18 18:24:30 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200902180201)
http://statistics.netbeans.org/exceptions/detail.do?id=121896
Comment 8 Tomas Mysik 2009-02-18 19:08:17 UTC
Closing again because the stacktrace comes from J2SE project. Honzo, please evaluate and fix exception reporter if possible. Thanks.
I filed a new issue #158771 for that.
Comment 9 Peter Nabbefeld 2009-04-08 15:23:27 UTC
Build: NetBeans IDE Dev (Build 200904070200)
VM: Java HotSpot(TM) Client VM, 10.0-b19, Java(TM) SE Runtime Environment, 1.6.0_05-b13
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy11.configurationXmlChanged(.java:0)
        at org.netbeans.spi.project.support.ant.AntProjectHelper$3.run(AntProjectHelper.java:493)
        at org.netbeans.spi.project.support.ant.AntProjectHelper$3.run(AntProjectHelper.java:488)
        at org.openide.util.Mutex.readAccess(Mutex.java:285)
        at org.netbeans.spi.project.support.ant.AntProjectHelper.fireChange(AntProjectHelper.java:488)
        at org.netbeans.spi.project.support.ant.AntProjectHelper.modifying(AntProjectHelper.java:516)
Comment 10 Peter Nabbefeld 2009-04-08 15:23:49 UTC
Created attachment 79746 [details]
stacktrace
Comment 11 aldobrucale 2009-04-15 13:50:10 UTC
I've had the same exception with build 200904141401 - probably related to renaming module projects
Comment 12 Tomas Mysik 2009-04-15 14:01:34 UTC
To aldobrucale:

Please, file a new issue for your exception, attach its stacktrace or provide exact steps to reproduce. Thanks.
Comment 13 Filip Zamboj 2009-04-20 16:36:06 UTC
verified on 
Product Version: NetBeans IDE 6.7 Beta (Build 200904192254)
Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02
System: Linux version 2.6.27-11-generic running on amd64; UTF-8; en_US (nb)
Userdir: /home/felipee/SUN/userdirs/200904201322