Community
Participate
Working Groups
This error happens in SpringSource Tool Suite with AspectJ Compiler version 1.8.13.201710301818 (sorry I couldn't select that version in this bug's version field - it wasn't listed). The same code compiles fine in SpringSource Tool Suite on Ubuntu with AspectJ Compiler version 1.8.10.201703272045. java.lang.ArrayIndexOutOfBoundsException at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ImplicitNullAnnotationVerifier.checkNullSpecInheritance(ImplicitNullAnnotationVerifier.java:342) at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodVerifier15.checkNullSpecInheritance(MethodVerifier15.java:423) at org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodVerifier15.checkAgainstInheritedMethods(MethodVerifier15.java:40 ... ldJob.run(AutoBuildJob.java:232) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56) Compile error: ArrayIndexOutOfBoundsException thrown: 0
I think it is probably the JDT upgrade in the 1.8.10 release that causes this issue (the 1.8.10 datestamp you have there being a build snapshot of it from earlier in that year). My preference for addressing this would be to get a good AJDT with AspectJ 9 out, the problem is in the JDT compiler (org.aspectj.org.eclipse.jdt...) and there have been a lot of changes in that version - it might 'just fix it' but if not then I'd rather fix it on the more recent version. You wouldn't find those long version numbers as targets for bugs here as it is the number given to the eclipse plugin packaged version of AspectJ included in AJDT. I'd be interested in whether it compiles outside of the tools using a later 1.8.X or 1.9 build.