Bug 6528 - InvocationTargetException trying to search
Summary: InvocationTargetException trying to search
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-03 20:23 EST by Darin Wright CLA
Modified: 2002-01-14 10:37 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2001-12-03 20:23:35 EST
Using the lastest JCORE drop (2001-12-03), I get the following when searching 
for all references to IJavaProject.hasBuildState()

Log: Mon Dec 03 19:28:37 CST 2001
4 org.eclipse.jdt.ui 1 Internal Error
java.lang.reflect.InvocationTargetException: 
org.eclipse.jdt.internal.compiler.problem.AbortCompilation
	at org.eclipse.jdt.internal.compiler.problem.ProblemHandler.handle
(ProblemHandler.java:77)
	at org.eclipse.jdt.internal.compiler.problem.ProblemReporter.handle
(ProblemReporter.java:768)
	at 
org.eclipse.jdt.internal.compiler.problem.ProblemReporter.isClassPathCorrect
(ProblemReporter.java:1538)
	at 
org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.superInterfaces
(BinaryTypeBinding.java(Compiled Code))
	at 
org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.superInterfaces
(BinaryTypeBinding.java(Compiled Code))
	at 
org.eclipse.jdt.internal.core.search.matching.SuperTypeNamesCollector.collectSup
erTypeNames(SuperTypeNamesCollector.java:327)
	at 
org.eclipse.jdt.internal.core.search.matching.SuperTypeNamesCollector.collect
(SuperTypeNamesCollector.java:191)
	at 
org.eclipse.jdt.internal.core.search.matching.MethodReferencePattern.initializeP
olymorphicSearch(MethodReferencePattern.java:108)
	at 
org.eclipse.jdt.internal.core.search.matching.MatchLocator.locateMatches
(MatchLocator.java:361)
	at org.eclipse.jdt.core.search.SearchEngine.search
(SearchEngine.java:341)
	at org.eclipse.jdt.core.search.SearchEngine.search
(SearchEngine.java:287)
	at org.eclipse.jdt.internal.ui.search.JavaSearchOperation.execute
(JavaSearchOperation.java:76)
	at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run
(WorkspaceModifyOperation.java:64)
	at org.eclipse.core.internal.resources.Workspace.run
(Workspace.java:1186)
	at org.eclipse.ui.actions.WorkspaceModifyOperation.run
(WorkspaceModifyOperation.java:78)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run
(ModalContext.java:98)
Comment 1 Philipe Mulet CLA 2001-12-04 09:02:13 EST
Cannot reproduce with my self-hosted workspace. Could you provide a copy of 
your workspace to JBL ?
Comment 2 Darin Wright CLA 2001-12-04 09:16:27 EST
The problem is not occurring this morning. Perhaps it was some strange 
combination of plug-in versions that I was running with.

Comment 3 Jerome Lanneluc CLA 2001-12-04 09:19:37 EST
A try{...} catch(AbortCompilation e) {...} was missing when collecting super 
type names in the case of a binary type.
Comment 4 Jerome Lanneluc CLA 2001-12-04 09:20:05 EST
Fixed.