NPE getting PER_INSTANCE and PER_JOINPOINT aspects for InstanceProxyContainer
------------------------------------------------------------------------------
Key: JBAOP-438
URL:
http://jira.jboss.com/jira/browse/JBAOP-438
Project: JBoss AOP
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.alpha5
Reporter: Kabir Khan
Assigned To: Kabir Khan
Fix For: 2.0.0.beta
This happens when the InstanceProxyContainer's domain has interface introductions
including the aspect, i.e. the aspect exists only in the InstanceProxyContainer and not in
the ClassProxyContainer
at
org.jboss.aop.InstanceAdvisorDelegate.getPerInstanceAspect(InstanceAdvisorDelegate.java:1
68)
at
org.jboss.aop.proxy.container.InstanceProxyContainer.getPerInstanceAspect(InstanceProxyCo
ntainer.java:85)
at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:106)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at AOPContainerProxy$0.beforeDelivery(AOPContainerProxy$0.java)
at
org.jboss.test.jca.inflow.test.InflowUnitTestCase.testInflow(InflowUnitTestCase.java:59)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira