[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.