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.
Create a new project and try to find usages of class String while scan is in progress -> No Patterns found.
Need to find a condition when the search should block waiting on scan. If I had reverse dependencies for the root with the searched symbol, and NONE of those (source) depenents were scanned, find usages could block. I am surprised by the message you've pasted - I tried to search for String usages on a freshly created project, but all the time the result window appeared with the 'scanning' hint. Maybe a race condition ? Did you also hit 'scan on background' button ?
Actually, I was able to get the IDE to a state when "No patterns found" was displayed even after the scanning finished. The culprit is somehwere between ClassPathInfo and ClassIndex - at the time the "No patterns found" is printed, the ClassIndex.sourceIndeces is empty, even when the Find Usages is invoked on e.g. MultiDataObject class. I reached the state by searching usages of j.l.s. immediately after the editor appeared. The 1st search succeeded, subsequent searches printed 'No patterns found'
Cannot reproduce in recent builds (04/16 +). Could you provide some +- working reproduction scenario, if you are still able to hit the bug ?