Community
Participate
Working Groups
I imported the maven project and the compilation stops and this error pops up: java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.ast.AllocationExpression.resolvePart3(AllocationExpression.java:544) at org.aspectj.org.eclipse.jdt.internal.compiler.ast.AllocationExpression.checkAgainstFinalTargetType(AllocationExpression.java:758) at org.aspectj.org.eclipse.jdt.internal.compiler.ast.ConditionalExpression.checkAgainstFinalTargetType(ConditionalExpression.java:727) at org.aspectj.org.eclipse.j ... AutoBuildJob.run(AutoBuildJob.java:235) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Compile error: NullPointerException thrown: null Installation details: Eclipse Mars 1 up to date I'm sorry I can't give any more details. The project is not mine and I don't have permissions to share it.
I probably need a sample that triggers this to fix it. It might be fixed when we next upgrade to a new version of JDT (which will happen for Java 9 if not before). I tried searching the JDT bugs to see if this had been reported against them but that didn't show up anything.