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.
I've spotted the deadlock in my debugging installation, but it appeared on me in a clean build, right after I attempted to creat a new Java Application project. I filled in project name, clicked Next, then Finish. Deadlock. I'm giving this a P1, since I cannot run the IDE in debug mode at all, and only occasionally without cleanin the userdir. Will attach thread dumps
Created attachment 7065 [details] Thread dump after right-click root node in Projects tab, trying to reach New
Created attachment 7066 [details] Thread dump after clicking Finish in New Java Application wizard
Created attachment 7069 [details] Experimental patch
Please delay initialization of the Cache, if it is possible. I have a patch which (supposedly) solves the deadlock, but I don't know what synchronization model is used in projects module, so there may be some odd effects.
Svato, thanks for the patch, although it is correct, I fixed it in a bit different way. Could you please verify it, thanks.
Verified.