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.
Build: NetBeans IDE Dev (Build 200810240201) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32 OS: Windows Vista, 6.0, x86 User comments: Added Web Frameworks to an existing Spring project and got this exception STACKTRACE: (first 10 lines) java.lang.reflect.UndeclaredThrowableException at $Proxy.fileFolderCreated(.java:0) at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEventImpl(FCLSupport.java:133) at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent(FCLSupport.java:122) at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:99) at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:953) at org.openide.filesystems.FileSystem$EventDispatcher.run(FileSystem.java:918) at org.openide.filesystems.EventControl.dispatchEvent(EventControl.java:77) at org.openide.filesystems.FileSystem.dispatchEvent(FileSystem.java:537) at org.openide.filesystems.FileObject.dispatchEvent(FileObject.java:466) at org.openide.filesystems.FileObject.fireFileFolderCreatedEvent(FileObject.java:426)
Created attachment 72701 [details] stacktrace
Created attachment 72702 [details] log file
reassigning, this is possible cause of deadlock java.lang.IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex() ... org.netbeans.modules.visualweb.project.jsf.framework.JsfProjectTemplate.instantiateFile(JsfProjectTemplate.java:137) at org.netbeans.modules.visualweb.project.jsf.framework.JsfProjectTemplate.instantiateFile(JsfProjectTemplate.java:145)
Similar issues and their fixes: http://www.netbeans.org/issues/show_bug.cgi?id=149788 http://hg.netbeans.org/main/rev/f6865814f6d8 http://www.netbeans.org/issues/show_bug.cgi?id=150666 http://hg.netbeans.org/main/rev/6b862af46118 http://www.netbeans.org/issues/show_bug.cgi?id=149497 http://hg.netbeans.org/main/rev/b451bb18534d http://www.netbeans.org/issues/show_bug.cgi?id=148927 http://hg.netbeans.org/main/rev/a10bbbad8d66 http://www.netbeans.org/issues/show_bug.cgi?id=148066 http://hg.netbeans.org/main/rev/dabaacb8e0c2
*** Issue 151597 has been marked as a duplicate of this issue. ***
In order to fix this issue, we need to separate the 'Folder creating' and 'Java file creating' in JsfProjectTemplate.xml! I.e., They are currently under in one single xml parsing-n-creating action. Since 'Java file creating' needs to be under ProjectManager.mutex(), while 'Folder creating' invokes another Children.MUTEX! BTW, I still can't reproduce it. Do you see this happened always? Any steps that can always reproduce this issue?
.
*** Issue 155505 has been marked as a duplicate of this issue. ***
*** Issue 157207 has been marked as a duplicate of this issue. ***
This issue already has 24 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=133241
Build: NetBeans IDE Dev (Build 200907010200) VM: Java HotSpot(TM) Client VM, 1.5.0_19-137, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_19-b02-304 OS: Mac OS X, 10.5.7, i386 User Comments: Just closed J2SEE Freeform project. 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.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.Children$Keys.applyKeys(Children.java:1513) at org.openide.nodes.Children$Keys.setKeys(Children.java:1457)
Created attachment 84234 [details] stacktrace
Build: NetBeans IDE Dev (Build 200907150249) 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: On closing a freeform 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.postRequest(Mutex.java:1245)<br/> at org.openide.util.Mutex.postRequest(Mutex.java:1209)<br/> at org.openide.util.Mutex.postWriteRequest(Mutex.java:582)<br/> at org.openide.nodes.Children$Keys.applyKeys(Children.java:1513)<br/> at org.openide.nodes.Children$Keys.setKeys(Children.java:1457)<br/>
Created attachment 84913 [details] stacktrace
Build: NetBeans IDE Dev (Build 090918) VM: Java HotSpot(TM) Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: SunOS, 5.10, x86 User Comments: I was creating a project from existing sources, when exception occurred 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.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.Children$Keys.applyKeys(Children.java:1513) at org.openide.nodes.Children$Keys.setKeys(Children.java:1457)
Created attachment 87916 [details] stacktrace
Build: NetBeans IDE Dev (Build cnd-main-2095-on-091103) VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: Linux, 2.6.28-15-generic, i386 User Comments: Steps to reproduce: - add remote Linux (Ubuntu) host with GNU tool collection using Smart Secure Copy - set it as default - untar litesql-0.3.5 project - create a project from existing source using litesql-0.3.5 Result: Exception appears 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.Children$Keys.applyKeys(Children.java:1514) at org.openide.nodes.Children$Keys.setKeys(Children.java:1458)
Created attachment 90450 [details] stacktrace
It's definitely not a visualweb issue. Please investigate and reassign to the right component.
There seem to be a bunch of different culprits in these stack traces. Offhand I see cnd.makeproject.ui.MakeLogicalViewProvider and java.project.support.ui.PackageViewChildren. Milan perhaps you can manually classify the responsible modules and file individual bug reports accordingly? (Tonda and I are discussing how to better handle this kind of thing mechanically.)
I've filed issue #175996 and issue #175997. Other reports are probably no more relevant.
> I've filed issue #175996 and issue #175997. Other reports are probably no more relevant. so closing this one