Bug 92815 - An internal error occurred during: "Java Search" NullPointerException
Summary: An internal error occurred during: "Java Search" NullPointerException
Status: CLOSED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.1 RC2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2005-04-26 14:28 EDT by Alberto Gobbi CLA
Modified: 2009-08-30 02:06 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Gobbi CLA 2005-04-26 14:28:53 EDT
Hi,
thanks for all your great work. Eclipse rocks!

I ran into this internal error while using a search for references
(Reference/Workspace) on a method variable. It does not always happen but the
stacktrace might help to find the problem:

!ENTRY org.eclipse.core.runtime 4 2 2005-04-26 11:12:40.686
!MESSAGE An internal error occurred during: "Java Search".
!STACK 0
java.lang.NullPointerException
	at
org.eclipse.jdt.internal.compiler.env.AccessRestriction.equals(AccessRestriction.java:43)
	at
org.eclipse.jdt.internal.core.search.matching.LocalVariablePattern.findIndexMatches(LocalVariablePattern.java:49)
	at
org.eclipse.jdt.internal.core.search.matching.MatchLocator.findIndexMatches(MatchLocator.java:306)
	at
org.eclipse.jdt.internal.core.search.PatternSearchJob.search(PatternSearchJob.java:111)
	at
org.eclipse.jdt.internal.core.search.PatternSearchJob.execute(PatternSearchJob.java:64)
	at
org.eclipse.jdt.internal.core.search.processing.JobManager.performConcurrentJob(JobManager.java:260)
	at
org.eclipse.jdt.internal.core.search.BasicSearchEngine.findMatches(BasicSearchEngine.java:181)
	at
org.eclipse.jdt.internal.core.search.BasicSearchEngine.search(BasicSearchEngine.java:382)
	at org.eclipse.jdt.core.search.SearchEngine.search(SearchEngine.java:512)
	at org.eclipse.jdt.internal.ui.search.JavaSearchQuery.run(JavaSearchQuery.java:131)
	at
org.eclipse.search2.internal.ui.InternalSearchUI$InternalSearchJob.run(InternalSearchUI.java:93)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)



eclipse.buildId=I20050219-1500
java.version=1.5.0_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86

Alberto
Comment 1 Frederic Fusier CLA 2005-04-26 14:50:38 EDT
You're build ID looks a little bit old.
May you give a try with a more recent one (at least 3.1 M6) and let us know if
this  problem still occurs?
If it does, please reopen with a detailed test case to help us to reproduce, thanks
Comment 2 Frederic Fusier CLA 2005-06-08 06:26:58 EDT
Close at there's more than 1 month without any feedback on this issue
=> consider it does no longer happen
Comment 3 Denis Roy CLA 2009-08-30 02:06:10 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.