Instrumentation issue with dynamic proxy generated

32 views
Skip to first unread message

Neeraj Chauhan

unread,
Feb 27, 2018, 6:18:51 AM2/27/18
to quasar-pulsar-user
I am trying to do a POC on Quasar Fiber and facing issue in instrumenting a class as below:

at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(java.lang.Object,java.lang.reflect.Method,java.lang.Object[],org.springframework.cglib.proxy.MethodProxy) (CglibAopProxy.java:656 bci: 614)
at com.test.connector.QuasarFiberPOCConnector$$EnhancerBySpringCGLIB$$97c6718e.postWithFiber(java.lang.Object) (<generated> bci: 36) **
at com.test.service.QuasarFiberPOCService$1.run (QuasarFiberPOCService.java:43 bci: 147)
at com.test.service.QuasarFiberPOCService$1.run (QuasarFiberPOCService.java:1 bci: 1) (optimized)
at co.paralleluniverse.fibers.Fiber.run (Fiber.java:1072 bci: 11)

I have below entries in suspendables and suspendable-supers

##suspendables

org.springframework.http.client.ClientHttpRequest.*
org.springframework.web.client.RestOperations.*
org.springframework.cglib.proxy.MethodProxy.invoke
org.springframework.cglib.reflect.FastClass.invoke
org.springframework.cglib.core.ClassGenerator.generateClass
org.springframework.cglib.core.AbstractClassGenerator.create
org.springframework.aop.framework.JdkDynamicAopProxy.invoke
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint 
org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke
org.springframework.aop.framework.adapter.AfterReturningAdviceInterceptor.invoke
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept
org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs
org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod
org.springframework.aop.aspectj.AspectJAroundAdvice.invoke
org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke
com.mmt.test.aspect.ConnectorLogger.logExecutionTime
 
##suspendable-supers

org.springframework.http.client.ClientHttpRequest.*
org.springframework.web.client.RestOperations.*
org.springframework.cglib.reflect.FastClass.invoke
org.springframework.cglib.core.ClassGenerator.generateClass
org.springframework.cglib.core.AbstractClassGenerator.create
org.aopalliance.intercept.Joinpoint.proceed
org.aopalliance.intercept.MethodInterceptor.invoke
com.mmt.test.aspect.ConnectorLogger.logExecutionTime
org.aspectj.lang.ProceedingJoinPoint.proceed


Am i missing something?
Reply all
Reply to author
Forward
0 new messages