[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]
Fs listeners on META-INF/services are registered on initialization
NbModuleProject. There is the problem. It shoud be invoked by using
Is it correct?
registering of listener was redirected to
Checking in ServiceNodeHandler.java;
new revision: 1.4; previous revision: 1.3