Bug 318544 - Error in JDT Core during AST creation
Summary: Error in JDT Core during AST creation
Status: CLOSED DUPLICATE of bug 277574
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 318545 318546 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-01 02:16 EDT by Lysathor CLA
Modified: 2012-07-11 09:46 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lysathor CLA 2010-07-01 02:16:44 EDT
What steps will reproduce the problem?
1. In package view drag fields from one class to another
2. 
3. 


-- Error Details --
Date: Thu Jul 01 08:13:57 CEST 2010
Message: Error in JDT Core during AST creation
Severity: Error
Product: Eclipse 1.3.0.20100617-0520 (org.eclipse.epp.package.java.product)
Plugin: org.eclipse.jdt.ui
Session Data:
eclipse.buildId=I20100608-0911
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product


Exception Stack Trace:
java.lang.ArrayIndexOutOfBoundsException
Comment 1 Walter Harley CLA 2010-07-01 08:44:08 EDT
Lysathor, please attach a full stack trace.  The name of the exception is not sufficient information to debug this.

Also, if possible when you are reporting bugs, please set the component correctly.  You assigned this one to "APT", which is the annotation processing tooling; this bug has nothing to do with annotation processing.  If you're not sure, a good first guess is either Core or UI.
Comment 2 Walter Harley CLA 2010-07-01 08:46:41 EDT
*** Bug 318545 has been marked as a duplicate of this bug. ***
Comment 3 Walter Harley CLA 2010-07-01 08:47:34 EDT
*** Bug 318546 has been marked as a duplicate of this bug. ***
Comment 4 Lysathor CLA 2010-07-01 14:46:32 EDT
Sorry for not providing sufficient or correct information. But that was what eclipse provided when I used the "report bug" feature of the error log. Usually that provies a full stack trace, but for this problem it did not. So please report that as a bug of that feature (is that Mylyn?).

Because I am only a java developer and not an eclipse developer I do not know which component causes the problem when a error log entry is created. I assumed that eclipse can handle that (as I said I used the "report as bug" feature).

Thanks for your understanding.
Comment 5 Olivier Thomann CLA 2010-07-04 17:27:54 EDT
Could you please check your .log file in the .metadata folder of your eclipse installation. You might have more details there.
Comment 6 Lysathor CLA 2010-07-05 04:45:38 EDT
Hello,

meanwhile I cleared the error log. There is an exception that might be related to the one I reported, but I assume that it is not.

java.lang.NullPointerException
at org.eclipse.jdt.internal.debug.eval.ast.engine.ASTInstructionCompiler.visit(ASTInstructionCompiler.java:3175)
at org.eclipse.jdt.core.dom.QualifiedName.accept0(QualifiedName.java:167)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2528)
at org.eclipse.jdt.core.dom.ReturnStatement.accept0(ReturnStatement.java:136)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.Block.accept0(Block.java:136)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2528)
at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:504)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:484)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:484)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:219)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.internal.debug.eval.ast.engine.ASTEvaluationEngine.createExpressionFromAST(ASTEvaluationEngine.java:414)
at org.eclipse.jdt.internal.debug.eval.ast.engine.ASTEvaluationEngine.getCompiledExpression(ASTEvaluationEngine.java:233)
at org.eclipse.jdt.internal.debug.eval.ast.engine.ASTEvaluationEngine.evaluate(ASTEvaluationEngine.java:115)
at org.eclipse.jdt.internal.debug.ui.JavaWatchExpressionDelegate$EvaluationRunnable.run(JavaWatchExpressionDelegate.java:144)
at org.eclipse.jdt.internal.debug.core.model.JDIThread$ThreadJob.run(JDIThread.java:2756)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 7 Olivier Thomann CLA 2010-07-05 15:35:13 EDT
Moving to JDT/Debug for comments.
Comment 8 Michael Rennie CLA 2010-07-06 10:22:26 EDT
The NPE looks remarkably similar to the other bug you filed (bug 282548). It would be good if you could reproduce the ArrayIndexOutOfBoundsException and provide the stack trace for us.
Comment 9 Michael Rennie CLA 2012-07-11 09:46:13 EDT

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