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.
[ JDK VERSION : 1.6.* ] In a bean declaration of a spring framework xml file like this <bean class="an.ExampleClass"> ... </bean> ctrl-clicking on "an.ExampleClass" the wait icon is shown first, then after a few seconds a dialog is shown saying "Lengthy operaton in progress" - "Calculating declaration position". As soon as I hit the "cancel" button, ExampleClass.java opens in the editor.
Created attachment 98114 [details] profiler snapshot
Passing to XML for evaluation.
31 kms spent in org.netbeans.modules.maven.hints.pom.StatusProvider$StatusProviderImpl.checkHints() it seems that Nexus indexer is reading from the Net and blocking the parsing thread. moving to Maven
I do not see the Maven code doing anything wrong here. It is running a POM-related hint, which needs the repository index, in its own request processor thread. If something else is waiting for this, it is not apparent from the profiler snapshot.
Honzla L. will take care of this (moving to java/source).
Dupe of bug #185004, to the best of my knowledge. The problem is that ElementOpen was called under the Java lock, and forked a new thread, waiting for its completion, and this new thread wants to get the Java lock as well. Which obviously led to a deadlock. Canceling the UI part of the deadlock unlocked the Java lock, allowing the background thread to proceed. *** This bug has been marked as a duplicate of bug 185004 ***