Bug 468886

Summary: AJDT plugin for eclipse 4.4
Product: [Tools] AspectJ Reporter: Ammar HOMSI <myammars>
Component: IDEAssignee: aspectj inbox <aspectj-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: aclement
Version: DEVELOPMENT   
Target Milestone: ---   
Hardware: PC   
OS: Windows All   
Whiteboard:

Description Ammar HOMSI CLA 2015-05-30 12:51:41 EDT
java.lang.NullPointerException
at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.InferenceContext18.checkExpression(InferenceContext18.java:802)
at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.InferenceContext18.moreSpecificMain(InferenceContext18.java:752)
at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.InferenceContext18.isMoreSpecificThan(InferenceContext18.java:700)
at org.aspectj.org.eclipse.jdt.internal.compil ... oBuildJob.run(AutoBuildJob.java:241)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Compile error: NullPointerException thrown: null
Comment 1 Andrew Clement CLA 2016-03-08 12:15:07 EST
Please confirm AJDT version and if possible try on a more recent version. As written on bug 488362 I'm half suspecting these are old JDT issues that are no longer found in an up to date AspectJ.
Comment 2 Andrew Clement CLA 2016-03-08 12:45:59 EST
I notice it says AJDT for Eclipse 4.4.  Unfortunately there are no further updates for that version and that probably explains why you are seeing the problem, you need to get to a later eclipse. It should be addressed in a 4.5 version.

I'd recommend Eclipse 4.5 in any case, even without AspectJ, because the included JDT compiler has also had many fixes go in since then.