[jboss-jira] [JBoss JIRA] Created: (JBAOP-718) ArrayIndexOutOfBoundsException on Advisor.updateConstructorPointcutAfterRemove

Flavia Rainone (JIRA) jira-events at lists.jboss.org
Thu Apr 9 16:38:22 EDT 2009


ArrayIndexOutOfBoundsException on Advisor.updateConstructorPointcutAfterRemove
------------------------------------------------------------------------------

                 Key: JBAOP-718
                 URL: https://jira.jboss.org/jira/browse/JBAOP-718
             Project: JBoss AOP
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 2.1.0.CR3
            Reporter: Flavia Rainone
            Assignee: Flavia Rainone
             Fix For: 2.1.0.GA


Apparently, the number of constructors is not the same as the number of constructor infos, which causes a ArrayIndexOutOfBoundsException at line 1432:

     if(constructorInfos != null && constructorInfos.length > 0)
      {
         for (int i = 0; i < constructors.length; i++)
         {
1432--->            constructorInfos[i].resetInterceptors();
            Constructor<?> constructor = constructors[i];
            if (binding.getPointcut().matchesExecution(this, constructor))
            {

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list