[jboss-jira] [JBoss JIRA] Created: (JBAOP-518) Post condition of InstanceAdvisorDelegate.initializeAspects is not aspect != null

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Mon Jan 28 10:02:21 EST 2008


Post condition of InstanceAdvisorDelegate.initializeAspects is not aspect != null
---------------------------------------------------------------------------------

                 Key: JBAOP-518
                 URL: http://jira.jboss.com/jira/browse/JBAOP-518
             Project: JBoss AOP
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 2.0.0.CR3
            Reporter: Carlo de Wolf


I have an instance advisor, but no instance aspects. This leads into:

java.lang.NullPointerException
    at org.jboss.aop.InstanceAdvisorDelegate.getPerInstanceAspect(InstanceAdvisorDelegate.java:182)
    at org.jboss.aop.GeneratedInstanceAdvisorMixin.getPerInstanceAspect(GeneratedInstanceAdvisorMixin.java:80)
    at org.jboss.ejb3.test.ejbthree1023.DefaultLocalBean$DefaultLocalBeanInstanceAdvisor.getPerInstanceAspect(DefaultLocalBean$DefaultLocalBeanInstanceAdvisor.java)

(only reproducable with EJBTHREE-1174 patch #47)

-- 
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

        



More information about the jboss-jira mailing list