Announcement Announcement Module
Collapse
No announcement yet.
AopCoinfigException is normal? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • AopCoinfigException is normal?

    There are some AopCoinfigException were throwed out when use CGLib,but the code was performed correctly,is it normal?

    Code:
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Unable to apply any optimisations to advised method public java.lang.String java.lang.Object.toString() - using AOP_PROXY
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract void org.springframework.aop.framework.Advised.addAdvisor(org.springframework.aop.Advisor) throws org.springframework.aop.framework.AopConfigException is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract void org.springframework.aop.framework.Advised.addAdvisor(int,org.springframework.aop.Advisor) throws org.springframework.aop.framework.AopConfigException is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract void org.springframework.aop.framework.Advised.setTargetSource(org.springframework.aop.TargetSource) is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract boolean org.springframework.aop.framework.Advised.isProxyTargetClass() is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract void org.springframework.aop.framework.Advised.setExposeProxy(boolean) is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract boolean org.springframework.aop.framework.Advised.isExposeProxy() is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract boolean org.springframework.aop.framework.Advised.isFrozen() is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract java.lang.Class[] org.springframework.aop.framework.Advised.getProxiedInterfaces() is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract void org.springframework.aop.framework.Advised.addAdvice(org.aopalliance.aop.Advice) throws org.springframework.aop.framework.AopConfigException is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract void org.springframework.aop.framework.Advised.addAdvice(int,org.aopalliance.aop.Advice) throws org.springframework.aop.framework.AopConfigException is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract org.springframework.aop.TargetSource org.springframework.aop.framework.Advised.getTargetSource() is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract boolean org.springframework.aop.framework.Advised.isInterfaceProxied(java.lang.Class) is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract boolean org.springframework.aop.framework.Advised.removeAdvice(org.aopalliance.aop.Advice) throws org.springframework.aop.framework.AopConfigException is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract boolean org.springframework.aop.framework.Advised.removeAdvisor(org.springframework.aop.Advisor) throws org.springframework.aop.framework.AopConfigException is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract void org.springframework.aop.framework.Advised.removeAdvisor(int) throws org.springframework.aop.framework.AopConfigException is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract org.springframework.aop.Advisor[] org.springframework.aop.framework.Advised.getAdvisors() is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract boolean org.springframework.aop.framework.Advised.replaceAdvisor(org.springframework.aop.Advisor,org.springframework.aop.Advisor) throws org.springframework.aop.framework.AopConfigException is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract java.lang.String org.springframework.aop.framework.Advised.toProxyConfigString() is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract int org.springframework.aop.framework.Advised.indexOf(org.springframework.aop.Advisor) is declared on Advised - using DISPATCH_ADVISED

  • #2
    Since the message is logged on DEBUG level, I would consider it normal.
    Besides that, I understand the log that way, that some method declares to throw the mentioned exception. It does not look like the exception is actually being thrown.

    Regards,
    Andreas

    Comment


    • #3
      Andreas is correct. This is normal debug log output. It refers to normal processing of methods, some of which have signatures throwing AopConfigException.

      Comment

      Working...
      X