Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 149080 - UnitTestLibrariesNode$LibrariesChildren should set keys asynch
UnitTestLibrariesNode$LibrariesChildren should set keys asynch
Product: apisupport
Classification: Unclassified
Component: Project
All All
: P2 (vote)
: 6.x
Assigned To: rmichalsky
: 149357 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2008-10-03 15:14 UTC by Lukas Hasik
Modified: 2008-11-11 14:01 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2008-10-03 15:14:33 UTC
Build: NetBeans IDE Dev (Build 081002)
VM: Java HotSpot(TM) Client VM, 1.5.0_14-b03, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_14-b03
OS: Windows XP, 5.1, x86

User comments: just opened nb module and wanted to expand libraries node in projects view

STACKTRACE: (first 10 lines)
java.lang.IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex()
        at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(
        at org.openide.util.Mutex.postRequest(
        at org.openide.util.Mutex.postRequest(
        at org.openide.util.Mutex.postWriteRequest(
        at org.openide.nodes.Children$Keys.applyKeys(
        at org.openide.nodes.Children$Keys.setKeys(
        at org.openide.util.Mutex.readAccess(
Comment 1 Jesse Glick 2008-10-03 16:45:15 UTC
Possible deadlock cause.
Comment 2 rmichalsky 2008-10-06 14:01:47 UTC
Info from Tomas: calls to nodes should be made outside of ProjectManager.mutex (via invokeLater or RP)
Comment 3 Tomas Danek 2008-10-07 13:19:20 UTC
*** Issue 149357 has been marked as a duplicate of this issue. ***
Comment 4 rmichalsky 2008-10-08 12:49:13 UTC
Had to be fixed together with issue #149084, done in core-main #eaebd48599b8
Comment 5 Quality Engineering 2008-10-09 06:00:56 UTC
Integrated into 'main-golden', will be available in build *200810090201* on (upload may still be in progress)
User: Richard Michalsky <>
Log: #149084, #149080: calls to nodes must be made outside of ProjectManager.mutex
Comment 6 Exceptions Reporter 2008-10-19 20:22:32 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200810171401)
Comment 7 Lukas Hasik 2008-10-19 22:29:32 UTC
closing as fixed again 130518 reported as 150666
Comment 8 Exceptions Reporter 2008-11-11 08:36:17 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200811071401)
Comment 9 Exceptions Reporter 2008-11-11 09:35:17 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200811071401)
Comment 10 rmichalsky 2008-11-11 14:01:32 UTC
Exceptions reporter found wrong stacktrace (again :-(), filing separate issue #152956 for e.r. 138256, 138272.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo