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.
This bug was originally marked as duplicate of bug 233560, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.4 RC1 (Build 201309162201) VM: Java HotSpot(TM) Client VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43 OS: Windows 8 User Comments: zmirc: I was in a Java Bean class, and I clicked on a JPQL query name with CTRL + click in order make NetBeans send me directly to the place where that JPQL query was defined (in an JPA Entity class). I tried this twice and it was the same result. NetBeans freezes. Maximum slowness yet reported was 106773 ms, average is 106773
Created attachment 141127 [details] nps snapshot
The slowness originates in this method: o.n.m.j2ee.persistence.editor.hyperlink.NamedQueryHyperlinkProvider.getLine() (file NamedQueryHyperlinkProvider.java, line 163). Method org.openide.text.LazyLines.iterator(), which was quite slow in this case, was called in EDT. (Maybe the Line.Set could be somehow preinitialized.) I'm not sure whether the problem is in LazyLines, or in NamedQueryHyperlinkProvider itself. Reassigning to javaee/Persistence. Please evaluate. Thanks.
ok, I'm not sure preinitialize also nice idea if it may take up to 100s and also it's related to some filesystem operations as I see, I may need to find another way for navigation, or may be the feature may need to be removed. I see both reports are maven based, it may be something in maven fs handling also.
np more org.openide.text.LazyLines.iterator() http://hg.netbeans.org/web-main/rev/83612dca97e2
*** Bug 238053 has been marked as a duplicate of this bug. ***
*** Bug 235532 has been marked as a duplicate of this bug. ***
*** Bug 240906 has been marked as a duplicate of this bug. ***