[jboss-jira] [JBoss JIRA] Created: (JBAOP-463) Call.getClassName() and Call.getMethodName() must not be called after Call is edited

Flavia Rainone (JIRA) jira-events at lists.jboss.org
Mon Sep 24 09:43:43 EDT 2007


Call.getClassName() and Call.getMethodName() must not be called after Call is edited
------------------------------------------------------------------------------------

                 Key: JBAOP-463
                 URL: http://jira.jboss.com/jira/browse/JBAOP-463
             Project: JBoss AOP
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 2.0.0.beta1, 1.5.5.GA
            Reporter: Flavia Rainone
         Assigned To: Flavia Rainone
             Fix For: 2.0.0.beta2, 1.5.6.GA


The catcher block of call edit methods (CallerExprEditor class) should not try to retrieve the class name and the method name. These fields should not be retrieved after the call has been edited. Otherwise, the result is a NullPointerException.

To reproduce this error, use JRE6 to run the attached example.

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