Bug 4929 - ArrayIndexOutOfBounds when adding project to workspace
Summary: ArrayIndexOutOfBounds when adding project to workspace
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-12 10:42 EDT by Veronika Irvine CLA
Modified: 2002-01-11 09:22 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Veronika Irvine CLA 2001-10-12 10:42:44 EDT
On Linux
Build 200011011

1) Connect to dev.eclipse.org
2) Add to workspace org.eclipse.swt
3) In the packages view, copy .classpath_win32 to .classpath
4) Add to workspace org.eclipse.swt.examples

Get the following error:

java.lang.ArrayIndexOutOfBoundsException: 5
	at 
org.eclipse.jdt.internal.core.search.indexing.SourceIndexerRequestor.popTypeName
(SourceIndexerRequestor.java:242)
	at 
org.eclipse.jdt.internal.core.search.indexing.SourceIndexerRequestor.exitClass
(SourceIndexerRequestor.java:204)
	at 
org.eclipse.jdt.internal.compiler.SourceElementParser.notifySourceElementRequest
or(SourceElementParser.java:930)
	at 
org.eclipse.jdt.internal.compiler.SourceElementParser$LocalDeclarationVisitor.vi
sit(SourceElementParser.java:59)
	at 
org.eclipse.jdt.internal.compiler.ast.AnonymousLocalTypeDeclaration.traverse
(AnonymousLocalTypeDeclaration.java:124)
	at 
org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression.traverse
(QualifiedAllocationExpression.java:259)
	at org.eclipse.jdt.internal.compiler.ast.Assignment.traverse
(Assignment.java:117)
	at 
org.eclipse.jdt.internal.compiler.SourceElementParser.notifySourceElementRequest
or(SourceElementParser.java(Compiled Code))
	at 
org.eclipse.jdt.internal.compiler.SourceElementParser.notifySourceElementRequest
or(SourceElementParser.java(Compiled Code))
	at 
org.eclipse.jdt.internal.compiler.SourceElementParser.notifySourceElementRequest
or(SourceElementParser.java:919)
	at 
org.eclipse.jdt.internal.compiler.SourceElementParser$LocalDeclarationVisitor.vi
sit(SourceElementParser.java:59)
	at 
org.eclipse.jdt.internal.compiler.ast.AnonymousLocalTypeDeclaration.traverse
(AnonymousLocalTypeDeclaration.java:124)
	at 
org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression.traverse
(QualifiedAllocationExpression.java:259)
	at org.eclipse.jdt.internal.compiler.ast.MessageSend.traverse
(MessageSend.java(Compiled Code))
	at org.eclipse.jdt.internal.compiler.ast.Block.traverse(Block.java:136)
	at org.eclipse.jdt.internal.compiler.ast.ForStatement.traverse(ForStatem
ent.java:256)
	at org.eclipse.jdt.internal.compiler.SourceElementParser.notifySourceEle
mentRequestor(SourceElementParser.java(Compiled Code))
	at org.eclipse.jdt.internal.compiler.SourceElementParser.notifySourceEle
mentRequestor(SourceElementParser.java(Compiled Code))
	at org.eclipse.jdt.internal.compiler.SourceElementParser.notifySourceEle
mentRequestor(SourceElementParser.java:919)
	at org.eclipse.jdt.internal.compiler.SourceElementParser$LocalDeclaratio
nVisitor.visit(SourceElementParser.java:59)
	at org.eclipse.jdt.internal.compiler.ast.AnonymousLocalTypeDeclaration.t
raverse(AnonymousLocalTypeDeclaration.java:124)
	at org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression.t
raverse(QualifiedAllocationExpression.java:259)
	at org.eclipse.jdt.internal.compiler.ast.MessageSend.traverse(MessageSen
d.java(Compiled Code))
	at org.eclipse.jdt.internal.compiler.ast.Block.traverse(Block.java:136)
	at org.eclipse.jdt.internal.compiler.ast.ForStatement.traverse(ForStatem
ent.java:256)
	at org.eclipse.jdt.internal.compiler.SourceElementParser.notifySourceEle
mentRequestor(SourceElementParser.java(Compiled Code))
	at org.eclipse.jdt.internal.compiler.SourceElementParser.notifySourceEle
mentRequestor(SourceElementParser.java(Compiled Code))
	at org.eclipse.jdt.internal.compiler.SourceElementParser.notifySourceEle
mentRequestor(SourceElementParser.java:919)
	at org.eclipse.jdt.internal.compiler.SourceElementParser$LocalDeclaratio
nVisitor.visit(SourceElementParser.java:59)
	at org.eclipse.jdt.internal.compiler.ast.AnonymousLocalTypeDeclaration.t
raverse(AnonymousLocalTypeDeclaration.java:124)
	at org.eclipse.jdt.internal.compiler.ast.QualifiedAllocationExpression.t
raverse(QualifiedAllocationExpression.java:259)
	at org.eclipse.jdt.internal.compiler.ast.MessageSend.traverse(MessageSen
d.java(Compiled Code))
	at org.eclipse.jdt.internal.compiler.SourceElementParser.notifySourceEle
mentRequestor(SourceElementParser.java(Compiled Code))
	at org.eclipse.jdt.internal.compiler.SourceElementParser.notifySourceEle
mentRequestor(SourceElementParser.java(Compiled Code))
	at org.eclipse.jdt.internal.compiler.SourceElementParser.notifySourceEle
mentRequestor(SourceElementParser.java:919)
	at org.eclipse.jdt.internal.compiler.SourceElementParser.notifySourceEle
mentRequestor(SourceElementParser.java:589)
	at org.eclipse.jdt.internal.compiler.SourceElementParser.endParse(Source
ElementParser.java:326)
	at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java(Com
piled Code))
	at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:662
8)
	at org.eclipse.jdt.internal.compiler.SourceElementParser.parseCompilatio
nUnit(SourceElementParser.java:975)
	at org.eclipse.jdt.internal.core.search.indexing.SourceIndexer.indexFile
(SourceIndexer.java:64)
	at org.eclipse.jdt.internal.core.search.indexing.AbstractIndexer.index(A
bstractIndexer.java:558)
	at org.eclipse.jdt.internal.core.index.impl.Index.add(Index.java:88)
	at org.eclipse.jdt.internal.core.search.indexing.AddCompilationUnitToInd
ex.execute(AddCompilationUnitToIndex.java:46)
	at org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobMan
ager.java:238)
	at java.lang.Thread.run(Thread.java:498)
Comment 1 Jerome Lanneluc CLA 2001-10-15 07:06:12 EDT
Cannot reproduce. Has the content of HEAD changed since this bug was enterered? 
Is there a  version that I can use and that shows the problem?