You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2018/07/04 10:11:02 UTC

[GitHub] BlackEragon commented on issue #1325: Fix #1280: Modify tomcat interceptor

BlackEragon commented on issue #1325: Fix #1280: Modify tomcat interceptor
URL: https://github.com/apache/incubator-skywalking/pull/1325#issuecomment-402433338
 
 
   I have meet an error with " No active context" in this place,Is there a problem with my usage?
   
   `ERROR 2018-07-04 17:33:41 InstMethodsInter :  class[class com.hpe.msp.admin.web.api.ApiController] after method[findApiListByCondition] intercept failure 
   java.lang.IllegalStateException: No active context
   	at org.apache.skywalking.apm.agent.core.context.ContextManager.getRuntimeContext(ContextManager.java:204)
   	at org.apache.skywalking.apm.plugin.spring.mvc.commons.interceptor.AbstractMethodInterceptor.afterMethod(AbstractMethodInterceptor.java:104)
   	at org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:105)
   	at com.hpe.msp.admin.web.api.ApiController.findApiListByCondition(ApiController.java)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   
   `

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services