Bug 479337 - NullPointerException at AllocationExpression.java:544
Summary: NullPointerException at AllocationExpression.java:544
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: Build (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-08 09:28 EDT by Emilio Moretti CLA
Modified: 2015-11-18 18:04 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emilio Moretti CLA 2015-10-08 09:28:52 EDT
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.
Comment 1 Andrew Clement CLA 2015-11-18 18:04:36 EST
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.