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.
070524. I opened a Java source from an NBM project using --open CLI. The IDE froze for a while before showing the document. Thread dumps revealed that java.source.tasklist.ErrorAnnotator.annotateIcon is synchronously calling ClassPath.getClassPath on the file, which is probably unwise as this may involve nontrivial computation (esp. for NBM projects).
Created attachment 42974 [details] Thread dump excerpt
*** Issue 108743 has been marked as a duplicate of this issue. ***
The TaskCache is not accessed synchronously in AWT anymore:Checking in ErrorAnnotator.java; /cvs/java/source/src/org/netbeans/modules/java/source/tasklist/ErrorAnnotator.java,v <-- ErrorAnnotator.java new revision: 1.4; previous revision: 1.3 done