Community
Participate
Working Groups
Build Identifier: 20090621-0832 I have an @Aspect with a number of simple @Pointcuts, which are then combined in another @Pointcut which is combined with some others in an @Around advice. When I changed the pointcut in the @Around (from something legal to something else legal), an error dialog appeared containing the following exception: java.lang.NullPointerException at org.aspectj.weaver.Shadow.getGenericArgTypes(Shadow.java:175) at org.aspectj.weaver.patterns.ArgsPointcut.getArgumentsToMatchAgainst(ArgsPointcut.java:88) at org.aspectj.weaver.patterns.ArgsPointcut.matchInternal(ArgsPointcut.java:76) at org.aspectj.weaver.patterns.Pointcut.match(Pointcut.java:146) at org.aspectj.weaver.patterns.AndPointcut.matchInternal(AndPointcut.java:52) at org.aspectj.weaver.patterns.Po ... d public ... (proprietary information deleted) Reproducible: Couldn't Reproduce
Looks like the getResolvedSignature() call within the Shadow.getGenericArgTypes() method returned null. There are some convoluted routes through that method which could lead to a null but without more to go on, it'll be tricky to investigate further. Let me know if you see it again, I'll bump this bug down to a lower priority for now.