Bug 444872 - java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.convertToRawType(LookupEnvironment.java:508)
Summary: java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compil...
Status: CLOSED WORKSFORME
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-23 16:01 EDT by Pierre-Yves Beaudouin CLA
Modified: 2015-07-26 10:58 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre-Yves Beaudouin CLA 2014-09-23 16:01:58 EDT
Actions to reproduce:
- Edit a .java file
- Save it

What happens: AspectJ Internal Compiler Error window

Details:

java.lang.NullPointerException
at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.convertToRawType(LookupEnvironment.java:508)
at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.RawTypeBinding.initializeArguments(RawTypeBinding.java:193)
at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding.substitute(ParameterizedTypeBinding.java:1185)
at org.aspectj.org.eclipse.jdt.internal.compile ... oBuildJob.run(AutoBuildJob.java:241)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

Compile error: NullPointerException thrown: null

Using:

Spring Tool Suite 
Version: 3.6.1.RELEASE
Build Id: 201408250826
Platform: Eclipse Juno SR2 (3.8.2)

Eclipse AspectJ Development Tools - org.eclipse.ajdt
Version: 2.2.4.e43yJ8-20140523-1400
AspectJ version: 1.8.1.20140523140000

Eclipse AspectJ Development Tools - org.aspectj
Version: 1.8.1.20140523140000
AspectJ version: 1.8.1.20140523140000
Comment 1 Pierre-Yves Beaudouin CLA 2014-09-23 16:06:15 EDT
Reproducible: always
Comment 2 Andrew Clement CLA 2014-10-07 19:37:19 EDT
Will be tricky to sort out without a test project that shows the problem. Can you by any chance share the code that is failing for you?
Comment 3 Pierre-Yves Beaudouin CLA 2014-10-16 18:49:25 EDT
(In reply to Andrew Clement from comment #2)
> Will be tricky to sort out without a test project that shows the problem.
> Can you by any chance share the code that is failing for you?

I agree. I didn't make a copy of the project and the NPE has gone since. Feel free to close the issue.