Summary: | NPE in ASTConverter | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | mspringm |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.1 M2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
mspringm
2004-08-30 04:20:53 EDT
sorry, it's NOT 'F4' but 'F3' I cannot reproduce with latest. Could you please provide the whole source of the class in which you have the problem? Ideally it would be good if you could extract a small test case that reproduces the problem. You can also try to move to the latest integration build. The class is: --- start of source --- import java.util.concurrent.TimeUnit; public class TstTimeUnitF3 { public void run() { TimeUnit tunit; } } --- end of source --- try with eclipse.buildId=N200409070010 result: !ENTRY org.eclipse.core.runtime 4 2 Sep 08, 2004 09:36:02.777 !MESSAGE An internal error occurred during: "Override indicator installation job". !STACK 0 java.lang.NullPointerException at org.eclipse.jdt.core.dom.ASTConverter.lookupScope(ASTConverter.java:3357) at org.eclipse.jdt.core.dom.ASTConverter.lookupForScopes(ASTConverter.java:3320) at org.eclipse.jdt.core.dom.ASTConverter.convert(ASTConverter.java:1295) at org.eclipse.jdt.core.dom.ASTParser.convert(ASTParser.java:705) at org.eclipse.jdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:682) at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:574) at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.createAST (ASTProvider.java:441) at org.eclipse.jdt.internal.ui.javaeditor.ASTProvider.getAST (ASTProvider.java:393) at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor$8.run(JavaEditor.java:3864) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66) comment: Set the compiler compliance level to "1.4" and it works fine. Set it to "1.5" an get the exception. I am investigating. Fixed and released in HEAD. Regression test added. Verified in I200409230100. |