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.
[recent Retouche sources] The attached deadlock happened to me a few times recently in Retouche, maybe after external CVS update, but not sure. This is what I guess happens: In Java Source Worker Thread, ProjectManager.findProject is called, and starts creation of a new project instance. During NbModuleProject.<init>, (after many method calls), the ProjectManager.findProject is called again, most probably with the same argument. It detects that this project is currently being load, and attempts to wait until it is load - but as the loading is performed in the same Thread, the wait never ends. I am currently running with debugging info from ProjectManager enabled, so if this happens again to me we may confirm or disconfirm this guess. Please see also issue #60073 and issue #60011.
Created attachment 35270 [details] Thread dumps.
Fs listeners on META-INF/services are registered on initialization NbModuleProject. There is the problem. It shoud be invoked by using ProjectManager.mutex().postWriteRequest(...) Is it correct?
registering of listener was redirected to ProjectManager.mutex().postWriteRequest(...) Checking in ServiceNodeHandler.java; /cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/metainf/ServiceNodeHandler.java,v <-- ServiceNodeHandler.java new revision: 1.4; previous revision: 1.3 done
fixed