Community
Participate
Working Groups
I got the error bellow while typing the last ")" in the text: CharRange CHAR_RANGE_1 = new CharRange(0x0, 0xD7FF); The class CharRange is not imported yet and underlined in red. !ENTRY org.eclipse.core.runtime 4 2 Apr 15, 2004 14:30:04.35 !MESSAGE An internal error occurred during: "Java AST creation". !STACK 0 java.lang.IllegalArgumentException at org.eclipse.jdt.core.dom.ASTNode.setSourceRange(ASTNode.java:2592) at org.eclipse.jdt.core.dom.ASTConverter.convertToVariableDeclarationFragment(ASTConverter.java:2677) at org.eclipse.jdt.core.dom.ASTConverter.convertToFieldDeclaration(ASTConverter.java:2722) at org.eclipse.jdt.core.dom.ASTConverter.checkAndAddMultipleFieldDeclaration(ASTConverter.java:364) at org.eclipse.jdt.core.dom.ASTConverter.buildBodyDeclarations(ASTConverter.java:324) at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:268) at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:146) at org.eclipse.jdt.core.dom.ASTParser.convert(ASTParser.java:697) at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:667) at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:563) at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST(ASTProvider.java:383) at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST(ASTProvider.java:344) at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$PartListenerGroup.calculateASTandInfo rm(SelectionListenerWithASTManager.java:123) at org.eclipse.jdt.internal.ui.viewsupport.SelectionListenerWithASTManager$1.run(SelectionListenerWithASTManager .java:101) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:62)
Version 3.0.m8
Cannot reproduce trying to type the following code. package p; public class X { CharRange CHAR_RANGE_1 = new CharRange(0x0, 0x7FF); public static void main(String[] args) { } } Could you please provide a complete test case or try to detail steps to reproduce if you get it often? Thanks for your help.
This has not happened since the first time I ran into it. Easy enough to watch for of course, I'll report here if it happens again.
Close as REMIND. Please reopen if it happens again.
Closing as never reproduced in a long time
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.