Bug 50849 - Error in javadoc causes IllegalArgumentException in AST.parseCompilationUnit()
Summary: Error in javadoc causes IllegalArgumentException in AST.parseCompilationUnit()
Status: RESOLVED DUPLICATE of bug 47396
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M7   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 50853 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-29 09:48 EST by Markus Keller CLA
Modified: 2004-01-29 16:48 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 Markus Keller CLA 2004-01-29 09:48:33 EST
I20040127_1238

public class A {
	/** @deprecated *//
	public A(int myParam) { }
}

Log fills with:

Error Jan 29, 2004 15:36:51.152 An internal error occurred during: "Java AST
creation".
java.lang.IllegalArgumentException
at java.lang.Throwable.<init>(Throwable.java)
at org.eclipse.jdt.core.dom.ASTNode.checkNewChild(ASTNode.java)
at org.eclipse.jdt.core.dom.ASTNode.replaceChild(ASTNode.java)
at org.eclipse.jdt.core.dom.BodyDeclaration.setJavadoc(BodyDeclaration.java:87)
at
org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:339)
at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:268)
at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:156)
at org.eclipse.jdt.core.dom.AST.parseCompilationUnit(AST.java:932)
at
org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.computeAST(SelectionListenerWithASTManager.java:125)
at
org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInform(SelectionListenerWithASTManager.java:144)
at
org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$1.run(SelectionListenerWithASTManager.java:99)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java)
Comment 1 Olivier Thomann CLA 2004-01-29 12:05:29 EST
*** Bug 50853 has been marked as a duplicate of this bug. ***
Comment 2 Frederic Fusier CLA 2004-01-29 16:48:03 EST

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