1 Reply Latest reply on Nov 1, 2006 4:27 AM by Ståle Pedersen

    error when introducing method in class

    Fábio Costa Newbie

      The error occurs in the execution of a method introduced for mixin structure in class Calculator

      jboss-aop.xml:

      
      <?xml version="1.0" encoding="UTF-8"?>
      <aop>
       <introduction class="com.jboss.mortage.business.Calculator">
      
       <interfaces>
       com.jboss.aspect.Main
       </interfaces>
      
       <class>
       com.jboss.aspect.MainImpl
       </class>
      
       <construction>
       new com.jboss.aspect.MainImpl()
       </construction>
      
       </introduction>
      </aop>
      
      



      Main.java:

      package com.jboss.aspect;
      
      public interface Main {
       void metodo();
      }
      



      MainImpl.java:

      package com.jboss.aspect;
      
      public class MainImpl implements Main{
      
       public void metodo() {
       System.out.println("=====YEAH !!! =====");
      
       }
      
      }
      


      log:
      java.lang.StackOverflowError
       java.lang.String.lastIndexOf(String.java:1458)
       sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:261)
       java.lang.ClassLoader.loadClass(ClassLoader.java:251)
       org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1270)
       org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
       java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1717)
       org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1689)
       com.jboss.mortage.business.Calculator._added_m$0(Calculator.java)
       com.jboss.mortage.business.Calculator.metodo(Calculator.java)
       sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       java.lang.reflect.Method.invoke(Method.java:585)
       org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:1


        • 1. Re: error when introducing method in class
          Ståle Pedersen Newbie

          hi, you have an error in your jboss-aop.xml file, you need to wrap the introduction defenitions in a mixin tag, eg:

          <aop>
           <introduction class="Calculator">
           <mixin>
           <interfaces>
           Main
           </interfaces>
           <class>
           MainImpl
           </class>
           <construction>
           new MainImpl()
           </construction>
           </mixin>
           </introduction>
          </aop>
          

          i tried the rest of your code in a small app and it worked as expected.