Community
Participate
Working Groups
Hello all, I am getting the following stack trace with AspectJ 1.7.0.20111215190600 java.lang.NullPointerException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodVerifier.checkForRedundantSuperinterfaces(MethodVerifier.java:307) at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodVerifier.computeInheritedMethods(MethodVerifier.java:567) at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodVerifier.verify(MethodVerifier.java:977) at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Method ... AutoBuildJob.run(AutoBuildJob.java:241) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Compile error: NullPointerException thrown: null Issue exists on Mac OS X and Linux systems as far as I know.
I think this will be related to introduction of a new interface, I fixed something like this before putting 1.7.0.M1 out. Do you perhaps have a sample of code that shows the problem?
*** Bug 372962 has been marked as a duplicate of this bug. ***
Dear Andrew, this is not actually a sample. But I work for a open source company and because of this you could get our sources with git. It is a maven based project that is normally developed with eclipse. In fact it is a simple a matter of import it into eclipse to see the problem. The source is mirrored at http://repo.or.cz/w/nuclos.git . Git URLs are git://repo.or.cz/nuclos.git or http://repo.or.cz/r/nuclos.git .
Thanks Thomas, that was great, it enabled me to recreate and fix it. I just committed the change, hopefully it'll be in an AJDT later today.
*** Bug 373733 has been marked as a duplicate of this bug. ***
Dear Andrew, well, I see the bug is FIXED - but it still bites me. Is in STS 2.9.1. And when I use the 'dev' update site of aspectj, it is still there as well... How can I get a recent version of the aspectj stuff with the fix included??? Cheers, Thomas
Hi Thomas, > And when I use the 'dev' update site of aspectj, it is still there as well... Do you mean the dev build of AJDT? The one from here: http://download.eclipse.org/tools/ajdt/37/dev/update That should be an AJDT 2.2.0 version dated 20120314. Is that what you have, as the fix should be in there? If it doesn't address it please can you give me a new stack trace and let's reopen this.
Dear Andrew, sorry for the noise. I tried a fresh eclipse-indigo install with the dev update site. The problem doesn't show up. However, trying to update an STS-2.9.x installation does not work. Because of this, I opened a bug at https://issuetracker.springsource.com/browse/STS-2549 .