Bug 201109 - [search] NPE while searching for class references
Summary: [search] NPE while searching for class references
Status: VERIFIED DUPLICATE of bug 166093
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 minor (vote)
Target Milestone: 3.3.1   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-24 13:12 EDT by Dmitry Stadnik CLA
Modified: 2007-09-06 06:09 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Stadnik CLA 2007-08-24 13:12:00 EDT
- Open JFace Dialog class
- Set cursor on saveDialogBounds(Shell) method
- Press Shift+Command+G (search references in workspace)
=>
java.lang.NullPointerException
at org.eclipse.jdt.internal.core.search.matching.MethodLocator.matchReportReference(MethodLocator.java:339)
at org.eclipse.jdt.internal.core.search.matching.PatternLocator.matchReportReference(PatternLocator.java:407)
at org.eclipse.jdt.internal.core.search.matching.MatchLocator.reportMatching(MatchLocator.java:2060)
at org.eclipse.jdt.internal.core.search.matching.MatchLocator.reportMatching(MatchLocator.java:2466)
at org.eclipse.jdt.internal.core.search.matching.MatchLocator.reportMatching(MatchLocator.java:2213)
at org.eclipse.jdt.internal.core.search.matching.MatchLocator.process(MatchLocator.java:1559)
at org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatches(MatchLocator.java:1037)
at org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatches(MatchLocator.java:1078)
at org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatches(MatchLocator.java:1184)
at org.eclipse.jdt.internal.core.search.JavaSearchParticipant.locateMatches(JavaSearchParticipant.java:94)
at org.eclipse.jdt.internal.core.search.BasicSearchEngine.findMatches(BasicSearchEngine.java:217)
at org.eclipse.jdt.internal.core.search.BasicSearchEngine.search(BasicSearchEngine.java:502)
at org.eclipse.jdt.core.search.SearchEngine.search(SearchEngine.java:550)
at org.eclipse.jdt.internal.ui.search.JavaSearchQuery.run(JavaSearchQuery.java:143)
at org.eclipse.search2.internal.ui.InternalSearchUI$InternalSearchJob.run(InternalSearchUI.java:94)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Comment 1 Olivier Thomann CLA 2007-08-24 14:51:22 EDT
Please provide build id.
Comment 2 Frederic Fusier CLA 2007-08-25 04:34:25 EDT
Sounds like you use 3.3 build as the line numbers slightly changed in the stack trace but it definitely looks like a duplicate of bug 166093.


*** This bug has been marked as a duplicate of bug 166093 ***
Comment 3 Jerome Lanneluc CLA 2007-09-06 06:09:12 EDT
The test case is not complete, but according to the trace it is really a dup of bug 166093, which is now verified. So marking this bug verified.