Community
Participate
Working Groups
I get this NPE during compilation. I use 3.6M6 on Snow Leopard 10.6.2. !ENTRY org.eclipse.core.resources 4 75 2010-04-15 14:40:18.989 !MESSAGE Errors occurred during the build. !SUBENTRY 1 org.eclipse.jdt.core 4 75 2010-04-15 14:40:18.989 !MESSAGE Errors running builder 'Java Builder' on project 'xxx.xxx.xxx'. !STACK 0 java.lang.NullPointerException at org.eclipse.jdt.internal.compiler.problem.ProblemReporter.missingTypeInMethod(ProblemReporter.java:5116) at org.eclipse.jdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:448) at org.eclipse.jdt.internal.compiler.ast.AllocationExpression.resolveType(AllocationExpression.java:307) at org.eclipse.jdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:359) at org.eclipse.jdt.internal.compiler.ast.Assignment.resolveType(Assignment.java:157) at org.eclipse.jdt.internal.compiler.ast.Expression.resolve(Expression.java:915) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:451) at org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:212) at org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:410) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1147) at org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.resolve(TypeDeclaration.java:1235) at org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.resolve(CompilationUnitDeclaration.java:531) at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:759) at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137) at java.lang.Thread.run(Thread.java:637)
Sorry, dup of 306464. *** This bug has been marked as a duplicate of bug 306464 ***
If you could provide a test case, this would be great. Anything in your .log file that could be interesting?
Verified for 3.7M1 using build I20100802-1800