Bug 5837 - ArrayIndexOutOfBoundsException in index merging
Summary: ArrayIndexOutOfBoundsException in index merging
Status: RESOLVED DUPLICATE of bug 5907
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 5890 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-11-13 08:48 EST by Philipe Mulet CLA
Modified: 2002-01-11 09:22 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 Philipe Mulet CLA 2001-11-13 08:48:12 EST
Using jdtcore from HEAD content, I got the following stack trace when 
performing a search action.

===================================
4 org.eclipse.ui 0 java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
        at org.eclipse.jdt.internal.core.index.impl.WordEntry.mapRefs(WordEntry.
java:130)
        at org.eclipse.jdt.internal.core.index.impl.MergeFactory.mergeReferences
(MergeFactory.java:174)
        at org.eclipse.jdt.internal.core.index.impl.MergeFactory.merge(MergeFact
ory.java:78)
        at org.eclipse.jdt.internal.core.index.impl.Index.merge(Index.java:231)
        at org.eclipse.jdt.internal.core.index.impl.Index.save(Index.java:340)
        at org.eclipse.jdt.internal.core.search.PatternSearchJob.search(PatternS
earchJob.java:115)
        at org.eclipse.jdt.internal.core.search.PatternSearchJob.execute(Pattern
SearchJob.java:81)
        at org.eclipse.jdt.internal.core.search.processing.JobManager.performCon
currentJob(JobManager.java:201)
        at org.eclipse.jdt.core.search.SearchEngine.searchAllTypeNames(SearchEng
ine.java:445)
        at org.eclipse.jdt.internal.ui.util.AllTypesSearchEngine.doSearchTypes(A
llTypesSearchEngine.java:98)
        at org.eclipse.jdt.internal.ui.util.AllTypesSearchEngine.searchTypes(All
TypesSearchEngine.java:82)
        at org.eclipse.jdt.internal.ui.util.AllTypesSearchEngine$1.run(AllTypesS
earchEngine.java:51)
        at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(Modal
Context.java:98)
java.lang.ArrayIndexOutOfBoundsException
Comment 1 Philipe Mulet CLA 2001-11-13 10:28:08 EST
Saved workspace for it.

Problem occurred when doing an open type query. 
Comment 2 Philipe Mulet CLA 2001-11-13 16:58:49 EST
Could not reproduce after reopening the same workspace. I guess the consistency check threw out the offending index.

Comment 3 Philipe Mulet CLA 2001-11-14 10:31:00 EST
*** Bug 5890 has been marked as a duplicate of this bug. ***
Comment 4 Philipe Mulet CLA 2001-11-29 11:18:07 EST

*** This bug has been marked as a duplicate of 5907 ***