Bug 85209 - Java AST creation error
Summary: Java AST creation error
Status: RESOLVED DUPLICATE of bug 84215
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: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-14 18:47 EST by Keith Cochran CLA
Modified: 2005-02-14 22:18 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 Keith Cochran CLA 2005-02-14 18:47:29 EST
Get the following error compiling one of our source files.  Did not see this
error on past eclipse versions.

I'm using 3.1M4.

Not sure if this is a UI or Core error because after the compilation is complete
and then focusing on the offending file (clicking on the source file in the
editor), I consistently get a popup stating "An internal error occurred during:
"Java AST creation".

Marked this as "major" b/c I can't get a full build unless I exclude the
offending file from the build.

Please contact me directly if you need source.  This is unforunately occurring
in one of our proprietary source files.



!ENTRY org.eclipse.core.runtime 4 2 2005-02-14 15:25:01.843
!MESSAGE An internal error occurred during: "Java AST creation".
!STACK 0
java.lang.ArrayIndexOutOfBoundsException
	at java.lang.System.arraycopy(Native Method)
	at
org.eclipse.jdt.internal.compiler.flow.UnconditionalFlowInfo.copy(UnconditionalFlowInfo.java:197)
	at
org.eclipse.jdt.internal.compiler.flow.ExceptionHandlingFlowContext.recordHandlingException(ExceptionHandlingFlowContext.java:174)
	at
org.eclipse.jdt.internal.compiler.flow.FlowContext.checkExceptionHandlers(FlowContext.java:105)
	at
org.eclipse.jdt.internal.compiler.ast.MessageSend.analyseCode(MessageSend.java:53)
	at org.eclipse.jdt.internal.compiler.ast.Block.analyseCode(Block.java:40)
	at
org.eclipse.jdt.internal.compiler.ast.TryStatement.analyseCode(TryStatement.java:108)
	at
org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.analyseCode(MethodDeclaration.java:82)
	at
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.internalAnalyseCode(TypeDeclaration.java:697)
	at
org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.analyseCode(TypeDeclaration.java:264)
	at
org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.analyseCode(CompilationUnitDeclaration.java:80)
	at
org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:654)
	at
org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:443)
	at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:708)
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:574)
	at
org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:563)
	at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:494)
	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:66)
Comment 1 Olivier Thomann CLA 2005-02-14 22:18:36 EST

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