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.
NB 5.5 beta I have no steps to reproduce. I worked on a web project and I invoked Go to Class action - it contained wait... message.
Created attachment 30319 [details] threaddump
It looks like the problem is in the 2 threads started in org.netbeans.modules.j2ee.metadata.NNMDRListener$3.run(NNMDRListener.java:191) They both lock on ClassPath.getRoots and then they wait on each other in org.netbeans.api.java.classpath.ClassPath$RootsListener.fileFolderCreated(ClassPath.java:757) Not sure if this is a wrong usage pattern in NNModelerListener or a problem in CP API. Tomasi can you comment? Thanks.
The ClassPath.getRoots() is fixed in trunk to not to call SPI code in synchronized block. See issue: #77209. I will integrate it to 5.5. *** This issue has been marked as a duplicate of 77209 ***
verified
v