[jboss-user] [JBoss AOP] - Re: Dynamic AOP - AspectManager.instance().addBinding() bloc

mane81 do-not-reply at jboss.com
Wed Oct 22 19:30:15 EDT 2008


Now I'm using jboss-aop-2.0.0.GA and running the application with run-load15HotSwap.sh.
I've this exception:
java.lang.NullPointerException
	at org.jboss.aop.pointcut.MethodMatcher.(MethodMatcher.java:72)
	at org.jboss.aop.pointcut.ExecutionMethodMatcher.(ExecutionMethodMatcher.java:53)
	at org.jboss.aop.pointcut.PointcutExpression.matchesExecution(PointcutExpression.java:118)
	at org.jboss.aop.Advisor.resolveMethodPointcut(Advisor.java:1333)
	at org.jboss.aop.GeneratedClassAdvisor.resolveMethodPointcut(GeneratedClassAdvisor.java:309)
	at org.jboss.aop.ClassAdvisor.resolvePointcuts(ClassAdvisor.java:751)
	at org.jboss.aop.ClassAdvisor.doRebuildInterceptorsForAddedBinding(ClassAdvisor.java:1160)
	at org.jboss.aop.ClassAdvisor$RebuildInterceptorsAction$2.rebuildInterceptorsForAddedBinding(ClassAdvisor.java:2348)
	at org.jboss.aop.ClassAdvisor.rebuildInterceptorsForAddedBinding(ClassAdvisor.java:1139)
	at org.jboss.aop.GeneratedClassAdvisor.access$1501(GeneratedClassAdvisor.java:65)
	at org.jboss.aop.GeneratedClassAdvisor$ClassAdvisorStrategy.rebuildInterceptorsForAddedBinding(GeneratedClassAdvisor.java:1538)
	at org.jboss.aop.GeneratedClassAdvisor.rebuildInterceptorsForAddedBinding(GeneratedClassAdvisor.java:244)
	at org.jboss.aop.Advisor.newBindingAdded(Advisor.java:1124)
	at org.jboss.aop.AspectManager.updateAdvisorsForAddedBinding(AspectManager.java:1498)
	at org.jboss.aop.AspectManager.updateAdvisorsForAddedBinding(AspectManager.java:1521)
	at org.jboss.aop.AspectManager.addBinding(AspectManager.java:1456)
	at AspectCreator.injectAspect(AspectCreator.java:43)
	at AspectCreator$MyThread.run(AspectCreator.java:62)


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184010#4184010

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184010



More information about the jboss-user mailing list