Community
Participate
Working Groups
I encountered this stack trace when using incremental compilation in Eclipse. I can't repeatably reproduce the bug. Kind Status Priority Description Resource In Folder Location Error Internal compiler error java.lang.NullPointerException at org.aspectj.weaver.ResolvedTypeMunger.matches (ResolvedTypeMunger.java:53) at org.aspectj.weaver.ConcreteTypeMunger.matches (ConcreteTypeMunger.java:52) at org.aspectj.ajdt.internal.compiler.lookup.AjLookupEnvironment.weaveInterTypeDec larations(AjLookupEnvironment.java:291) at org.aspectj.ajdt.internal.compiler.lookup.AjLookupEnvironment.weaveInterTypeDec larations(AjLookupEnvironment.java:236) at org.aspectj.ajdt.internal.compiler.lookup.AjLookupEnvironment.doPendingWeaves (AjLookupEnvironment.java:137) at org.aspectj.ajdt.internal.compiler.lookup.AjLookupEnvironment.completeTypeBindi ngs(AjLookupEnvironment.java:106) at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile (Compiler.java:310) at org.eclipse.jdt.internal.compiler.Compiler.compile (Compiler.java:324) at org.aspectj.ajdt.internal.core.builder.AjBuildManager.performCompilation (AjBuildManager.java:373) at org.aspectj.ajdt.internal.core.builder.AjBuildManager.doBuild (AjBuildManager.java:138) at org.aspectj.ajdt.internal.core.builder.AjBuildManager.incrementalBuild (AjBuildManager.java:77) at org.aspectj.ajde.internal.CompilerAdapter.compile (CompilerAdapter.java:103) at org.aspectj.ajde.internal.AspectJBuildManager$CompilerThread.run (AspectJBuildManager.java:165) TestNamingException.java LinuxWorldAfter/test/src/org/sample/banking/model
I had just added a new library to the Java build path in Eclipse and the compiler also complained about not being able to see a type in the library.
Reopen if you come up with simple instructions to reproduce this bug reliably.