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.
After the introduction of custom refactoring scopes (20110719-7437ea481470 but also in 20110718-d662371caec6), FU no longer seems to work. For example, with maven & maven.j2ee open, I select TYPE_APPCLIENT in NbMavenProject.java and press Alt-F7. I leave the Scope set to Open Projects. ("..." shows both projects checked.) The only hit is within NbMavenProjectImpl. But a textual search shows three usages in maven.j2ee.
By the way, log file shows things like operation INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: class org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper ignored cancel for 89 ms. SEVERE [org.netbeans.modules.java.source.save.ElementOverlay]: No element and no QualIdent SEVERE [org.netbeans.modules.java.source.save.ElementOverlay]: No element and no QualIdent SEVERE [org.netbeans.modules.java.source.save.ElementOverlay]: No element and no QualIdent SEVERE [org.netbeans.modules.java.source.save.ElementOverlay]: No element and no QualIdent SEVERE [org.netbeans.modules.java.source.save.ElementOverlay]: No element and no QualIdent SEVERE [org.netbeans.modules.java.source.save.ElementOverlay]: No element and no QualIdent SEVERE [org.netbeans.modules.java.source.save.ElementOverlay]: No element and no QualIdent SEVERE [org.netbeans.modules.java.source.save.ElementOverlay]: No element and no QualIdent
Setting a "custom scope" which happens to contain all open projects works. It is just the built-in "Open Projects" scope which in fact just searches in the current project.
Changeset: 600dbb77c27d Author: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Date: 2011-07-20 10:06 Message: Issue #200230 - Find Usages on open projects no longer works
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/600dbb77c27d User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: Issue #200230 - Find Usages on open projects no longer works
*** Bug 200304 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/27f9b03428f4 User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: After fix of bug #200230, some find usages implementations broke. ClasspathInfo needs to be in context until #199779 is used in all modules.