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.
There is deadlock in test org.openide.loaders.DataFolderTest when running under continuous xtest framework. Thread dump is attached.
Created attachment 4745 [details] full thread dump
DataObjectPool's static initializer calls TopManager.getDefault(). This call waits for FolderInstance to finish. But "Folder recognizer" thread also wants to access the DataObjectPool class.
Milan, are you able to reproduce the bug? We would need to verify that the solution helps.
This bug can be fixed easily with enhancement 20549 implemented. ErrorManager could call non blocking variant of allInstances to prevent this deadlock.
*** Issue 20747 has been marked as a duplicate of this issue. ***
Fixed in 8 files of org.openide.loaders.* package. Static field DataObjectPool.POOL was changed to private and new access method was created ( getPOOL() ). The POOL shouldn't be accessed directly, but only using this method.
verified, it seems be ok.
Resolved for 3.4.x or earlier, no new info since then -> closing.