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 254223

Summary: IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex()
Product: third-party Reporter: lehel
Component: -- Other --Assignee: breebo
Status: RESOLVED FIXED    
Severity: normal CC: brettryan, CyRaid, danilopiazza, javatlacati, Jenselme, mr_lou_d, rafaelmb, raliclo
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 219032
Attachments: stacktrace
stacktrace
stacktrace

Description lehel 2015-08-09 15:08:43 UTC
This issue was reported manually by lehel.
It already has 1 duplicates 


Build: NetBeans IDE 8.1 Beta (Build 201508041349)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Windows 8

User Comments:
lehel: 1. Create a JavaFx project from existing sources: 'DisplayShelf' 
2. Select 'Run as WebStart' from Netbeans toolbar menu




Stacktrace: 
java.lang.IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex()
   at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(Children.java:1935)
   at org.netbeans.modules.openide.util.DefaultMutexImplementation.postRequest(DefaultMutexImplementation.java:1022)
   at org.netbeans.modules.openide.util.DefaultMutexImplementation.postRequest(DefaultMutexImplementation.java:985)
   at org.netbeans.modules.openide.util.DefaultMutexImplementation.postWriteRequest(DefaultMutexImplementation.java:356)
   at org.openide.util.Mutex.postWriteRequest(Mutex.java:388)
   at org.openide.nodes.Children$Keys.applyKeys(Children.java:1582)
Comment 1 lehel 2015-08-09 15:08:45 UTC
Created attachment 155232 [details]
stacktrace
Comment 2 Antonin Nebuzelsky 2015-08-10 09:50:22 UTC
de.nigjo.kll.important.nodes.ImportantFileChildFactory$ProjectFileListener
Comment 3 Exceptions Reporter 2015-09-21 22:48:16 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=219032
Comment 4 Lou Dasaro 2016-02-15 01:40:50 UTC
Created attachment 158498 [details]
stacktrace

PYTHON:
Occurs at the end of File-> New Project (setuptools)
Built from DEVelopment using "Important Files" patches.
Please assign to JEnselme@netbeans.org
Comment 5 Exceptions Reporter 2016-02-15 01:40:57 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=219032
Comment 6 Jenselme 2016-09-19 15:38:44 UTC
(In reply to Lou Dasaro from comment #4)
> Created attachment 158498 [details]
> stacktrace
> 
> PYTHON:
> Occurs at the end of File-> New Project (setuptools)
> Built from DEVelopment using "Important Files" patches.
> Please assign to JEnselme@netbeans.org

I just created various setuptools projects (Different Python version, with and without main file) on Linux on latest contrib which include the Important files patches, NetBeans is build from the 8.2 branch and cannot reproduce.

Can you or is this solved?
Comment 7 brettryan 2017-04-09 12:58:10 UTC
Created attachment 164056 [details]
stacktrace

Created new Oracle JET QuickStart Basic Application
Comment 8 breebo 2017-04-10 13:02:00 UTC
The descriped Problems cannot be reproduced, so I removed File-Listening and replaced it with an explicit update Action