Summary: | ArrayIndexOutOfBoundsException during AST creation | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Dan Campers <campers> | ||||
Component: | Core | Assignee: | Kent Johnson <kent_johnson> | ||||
Status: | CLOSED WORKSFORME | QA Contact: | |||||
Severity: | critical | ||||||
Priority: | P3 | ||||||
Version: | 3.1 | ||||||
Target Milestone: | 3.1 RC3 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Dan Campers
2005-06-15 09:54:53 EDT
Created attachment 23190 [details]
zip of the eclipse project
Zip of the eclipse project that demonstrates the bug. You will need to add
log4j to the /lib folder and updated the build path.
My .log file appeared, couldnt see it before. Stack trace is !MESSAGE Error in JDT Core during AST creation !STACK 0 java.lang.ArrayIndexOutOfBoundsException: 438 at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding. createMethod(BinaryTypeBinding.java:318) at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding. createMethods(BinaryTypeBinding.java:452) at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding. cachePartsFrom(BinaryTypeBinding.java:263) at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment. createBinaryTypeFrom(LookupEnvironment.java:482) at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment. createBinaryTypeFrom(LookupEnvironment.java:465) at org.eclipse.jdt.internal.compiler.Compiler.accept(Compiler.java:190) at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment. askForType(LookupEnvironment.java:125) at org.eclipse.jdt.internal.compiler.lookup.PackageBinding. getTypeOrPackage(PackageBinding.java:178) at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope. findImport(CompilationUnitScope.java:403) at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope. findSingleImport(CompilationUnitScope.java:456) at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope. faultInImports(CompilationUnitScope.java:321) at org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope. faultInTypes(CompilationUnitScope.java:390) at org.eclipse.jdt.core.dom.CompilationUnitResolver. resolve(CompilationUnitResolver.java:814) at org.eclipse.jdt.core.dom.CompilationUnitResolver. resolve(CompilationUnitResolver.java:498) at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java: 779) at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:588) at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider$1.run(ASTProvider. java:566) at org.eclipse.core.internal.runtime.InternalPlatform. run(InternalPlatform.java:1038) at org.eclipse.core.runtime.Platform.run(Platform.java:775) at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider. createAST(ASTProvider.java:563) at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider. java:493) at org.eclipse.jdt.internal.ui.viewsupport. SelectionListenerWithASTManager$PartListenerGroup. calculateASTandInform(SelectionListenerWithASTManager.java:165) at org.eclipse.jdt.internal.ui.viewsupport. SelectionListenerWithASTManager$3.run(SelectionListenerWithASTManager.java:142) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76) Updated summary after seeing the stack trace Sorry I cannot read your zip file... not in standard 2.0 format. Can you please attach the files individually or use another zip utility. thanks forget it - got it. Cannot reproduce on the latest but was able to reproduce on RC2. Please reopen if the problem still exists in your full workspace. Verified problem is fixed with eclipse-SDK-I20050617-1618-win32 (~RC3) |