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.

Bug 241003 - Find usages yields partial result
Summary: Find usages yields partial result
Status: RESOLVED INCOMPLETE
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-27 10:15 UTC by aldobrucale
Modified: 2015-03-09 11:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (346.32 KB, text/plain)
2014-01-28 11:38 UTC, aldobrucale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aldobrucale 2014-01-27 10:15:34 UTC
[ BUILD # : 201401270001 ]
[ JDK VERSION : 1.7.0_45 ]

"Find usages" for a class or method in all projects only returns the usages
from the projects where the class or method is defined.
Comment 1 Jiri Prox 2014-01-27 10:39:16 UTC
Can you provide more info please?

What project types do you use? 
What scope for find usages was set?

Thanks
Comment 2 aldobrucale 2014-01-27 14:54:52 UTC
I have standard java se projects and netbeans rcp modules. The search scope was "Open Projects".

The same thing had already happened last week with a previous build of netbeans, but it doesn't seem to be easily reproducible: although I didn't restart the IDE after filing this issue, now everything seems to be working correctly.
Comment 3 aldobrucale 2014-01-28 11:34:59 UTC
It is happening again. Is there anything I can do to help diagnose this problem?
Comment 4 aldobrucale 2014-01-28 11:38:29 UTC
Created attachment 144461 [details]
messages.log

There is an exception related to org.netbeans.api.java.source.TreeUtilities in the ide log.
Comment 5 Ralph Ruijs 2015-03-09 11:57:15 UTC
Hard to fix without steps to reproduce. JDK from the logs is early access jdk8 and no logging about find usages. Please open a new issue if the problem occurs again with current builds and jdk version.