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 2020/12/10 12:39:44 UTC

[GitHub] [skywalking] pkxiuluo opened a new issue #5991: agent enhance com.alibaba.dubbo.monitor.support.MonitorFilter cause java.lang.StackOverflowError

pkxiuluo opened a new issue #5991:
URL: https://github.com/apache/skywalking/issues/5991


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [x] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Bug
   - Which version of SkyWalking, OS and JRE?
   skywalking version : 8.2 release
   OS :mac and centos 7.2
   JRE :  1.8.0_121-b13
   
   - Which company or project?
   
   - What happened?
   If possible, provide a way to reproduce the error. e.g. demo application, component version.
   
   when agent use dubbo 2.6 plugin, agent log will print error as follows:
   RROR 2020-12-10 17:57:31:094 main InstMethodsInter : class[class org.apache.http.impl.client.InternalHttpClient] handle method[doExecute] exception failure 
   java.lang.StackOverflowError
   	at java.security.AccessController.doPrivileged(Native Method)
   	at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
   	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
   	at java.lang.ClassLoader.loadClass(ClassLoader.java:411)
   	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
   	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
   	at org.apache.skywalking.apm.agent.core.context.status.StatusChecker.check(StatusChecker.java:75)
   	at org.apache.skywalking.apm.agent.core.context.status.StatusChecker.checkStatus(StatusChecker.java:68)
   	at org.apache.skywalking.apm.agent.core.context.status.StatusCheckService.isError(StatusCheckService.java:67)
   	at org.apache.skywalking.apm.agent.core.context.trace.AbstractTracingSpan.log(AbstractTracingSpan.java:168)
   	at org.apache.skywalking.apm.agent.core.context.trace.ExitSpan.log(ExitSpan.java:94)
   	at org.apache.skywalking.apm.agent.core.context.trace.ExitSpan.log(ExitSpan.java:37)
   	at org.apache.skywalking.apm.plugin.httpClient.v4.HttpClientExecuteInterceptor.handleMethodException(HttpClientExecuteInterceptor.java:99)
   	at org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:90)
   	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java)
   	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
   	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
           ..... i  have hide  some meaningless logs ....
          at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)
   	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
   	at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1634)
   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:254)
   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:220)
   	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1024)
   	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:345)
   	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:340)
   	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1093)
   	at com.alibaba.dubbo.config.spring.extension.SpringExtensionFactory.getExtension(SpringExtensionFactory.java:67)
   	at com.alibaba.dubbo.common.extension.factory.AdaptiveExtensionFactory.getExtension(AdaptiveExtensionFactory.java:47)
   	at com.alibaba.dubbo.common.extension.ExtensionLoader.injectExtension(ExtensionLoader.java:521)
   	at com.alibaba.dubbo.common.extension.ExtensionLoader.createExtension(ExtensionLoader.java:497)
   	at com.alibaba.dubbo.common.extension.ExtensionLoader.getExtension(ExtensionLoader.java:309)
   	at com.alibaba.dubbo.common.extension.ExtensionLoader.getActivateExtension(ExtensionLoader.java:193)
   	at com.alibaba.dubbo.common.extension.ExtensionLoader.getActivateExtension(ExtensionLoader.java:172)
   	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.buildInvokerChain(ProtocolFilterWrapper.java:48)
   	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:108)
   	at com.alibaba.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java)
   	at com.alibaba.dubbo.registry.integration.RegistryDirectory.toInvokers(RegistryDirectory.java:387)
   	at com.alibaba.dubbo.registry.integration.RegistryDirectory.refreshInvoker(RegistryDirectory.java:253)
   	at com.alibaba.dubbo.registry.integration.RegistryDirectory.notify(RegistryDirectory.java:223)
   
   
   if i remove dubbo-conflict-patch-8.2.0.jar and apm-dubbo-plugin-8.2.0.jar from plugins folder, it recovered。
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



[GitHub] [skywalking] wu-sheng commented on issue #5991: agent enhance com.alibaba.dubbo.monitor.support.MonitorFilter cause java.lang.StackOverflowError

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #5991:
URL: https://github.com/apache/skywalking/issues/5991#issuecomment-742505214


   2.6 is too old, we are not supporting that.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



[GitHub] [skywalking] wu-sheng closed issue #5991: agent enhance com.alibaba.dubbo.monitor.support.MonitorFilter cause java.lang.StackOverflowError

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #5991:
URL: https://github.com/apache/skywalking/issues/5991


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



[GitHub] [skywalking] pkxiuluo commented on issue #5991: agent enhance com.alibaba.dubbo.monitor.support.MonitorFilter cause java.lang.StackOverflowError

Posted by GitBox <gi...@apache.org>.
pkxiuluo commented on issue #5991:
URL: https://github.com/apache/skywalking/issues/5991#issuecomment-742591954


   this problem is happend in dubbo 2.6.4 version.
   it caused by com.alibaba.dubbo.config.spring.extension.SpringExtensionFactory#getExtension forget to consider Object.class.
   
   it has bean fix in dubbo 2.6.5  ,and be referd from  [dubbo issue#1769](https://github.com/apache/skywalking/issues/1769)
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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