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

Flavia Rainone (JIRA) jira-events at lists.jboss.org
Tue Apr 21 10:44:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBAOP-718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12463438#action_12463438 ] 

Flavia Rainone commented on JBAOP-718:
--------------------------------------

The bug also happens at Advisor.resolveConstructorPointcut method

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