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/03/04 04:53:46 UTC

[GitHub] [skywalking] wuxiansen opened a new issue #4440: DubboServerHandler ... java.lang.NullPointerException... Dubbo 2.7.5

wuxiansen opened a new issue #4440: DubboServerHandler ... java.lang.NullPointerException... Dubbo 2.7.5
URL: https://github.com/apache/skywalking/issues/4440
 
 
   JDK: 1.8
   Dubbo 2.7.5
   ES: 6.8.5
   
   run -d 
   >DUBBO_OPS="-Dskywalking.collector.grpc_channel_check_interval=2 -Dskywalking.collector.app_and_service_register_check_interval=2 -Dcollector.discovery_check_interval=2 -javaagent:/home/app/agent/skywalking/agent/skywalking-agent.jar  -Dconfig=/home/app/agent/skywalking/agent/config  -Dskywalking.agent.service_name=$1 -Dskywalking.collector.backend_service=app-serv-01.com:11800"
   
   
   ## Exception: 
   
   ```
   ERROR 2020-03-04 12:48:52:508 DubboServerHandler-192.168.254.226:20880-thread-199 InstMethodsInter : class[class org.elasticsearch.action.TransportActionNodeProxy] before method[execute] intercept failure 
   java.lang.NullPointerException
   	at org.apache.skywalking.apm.plugin.elasticsearch.v5.TransportActionNodeProxyInterceptor.beforeMethod(TransportActionNodeProxyInterceptor.java:53)
   	at org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:82)
   	at org.elasticsearch.action.TransportActionNodeProxy.execute(TransportActionNodeProxy.java)
   	at org.elasticsearch.client.transport.support.TransportProxyClient$1.doWithNode(TransportProxyClient.java:58)
   	at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:228)
   	at org.elasticsearch.client.transport.support.TransportProxyClient.execute(TransportProxyClient.java:55)
   	at org.elasticsearch.client.transport.TransportClient.doExecute(TransportClient.java:295)
   	at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:359)
   	at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:86)
   	at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:56)
   	at org.springframework.data.elasticsearch.core.ElasticsearchTemplate.index(ElasticsearchTemplate.java:536)
   	at com.nuonuo.financial.app.open.api.service.reports.impl.ChargingInterfaceServiceImpl.insert(ChargingInterfaceServiceImpl.java:71)
   	at org.apache.dubbo.common.bytecode.Wrapper3.invokeMethod(Wrapper3.java)
   	at org.apache.dubbo.rpc.proxy.javassist.JavassistProxyFactory$1.doInvoke(JavassistProxyFactory.java:47)
   	at org.apache.dubbo.rpc.proxy.AbstractProxyInvoker.invoke(AbstractProxyInvoker.java:84)
   	at org.apache.dubbo.config.invoker.DelegateProviderMetaDataInvoker.invoke(DelegateProviderMetaDataInvoker.java:56)
   	at org.apache.dubbo.rpc.protocol.InvokerWrapper.invoke(InvokerWrapper.java:56)
   	at org.apache.dubbo.validation.filter.ValidationFilter.invoke(ValidationFilter.java:96)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
   	at org.apache.dubbo.rpc.filter.ExceptionFilter.invoke(ExceptionFilter.java:52)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
   	at org.apache.dubbo.monitor.support.MonitorFilter.invoke$original$kKMPkMx8(MonitorFilter.java:89)
   	at org.apache.dubbo.monitor.support.MonitorFilter.invoke$original$kKMPkMx8$accessor$KLYEGUpD(MonitorFilter.java)
   	at org.apache.dubbo.monitor.support.MonitorFilter$auxiliary$HMIgP4TD.call(Unknown Source)
   	at org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:93)
   	at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
   	at org.apache.dubbo.rpc.filter.TimeoutFilter.invoke(TimeoutFilter.java:44)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
   	at org.apache.dubbo.rpc.protocol.dubbo.filter.TraceFilter.invoke(TraceFilter.java:81)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
   	at org.apache.dubbo.rpc.filter.ContextFilter.invoke(ContextFilter.java:102)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
   	at org.apache.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:149)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
   	at org.apache.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:38)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
   	at org.apache.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:41)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
   	at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:150)
   	at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:100)
   	at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:175)
   	at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
   	at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   
   ERROR 2020-03-04 12:48:52:508 DubboServerHandler-192.168.254.226:20880-thread-199 InstMethodsInter : class[class org.elasticsearch.action.TransportActionNodeProxy] after method[execute] intercept failure 
   java.lang.NullPointerException
   
   ERROR 2020-03-04 12:48:52:512 DubboServerHandler-192.168.254.226:20880-thread-199 InstMethodsInter : class[class org.apache.dubbo.monitor.support.MonitorFilter] after method[invoke] intercept failure 
   java.lang.NullPointerException
   	at org.apache.skywalking.apm.agent.core.context.ContextManager.stopSpan(ContextManager.java:182)
   	at org.apache.skywalking.apm.plugin.asf.dubbo.DubboInterceptor.afterMethod(DubboInterceptor.java:100)
   	at org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:105)
   	at org.apache.dubbo.monitor.support.MonitorFilter.invoke(MonitorFilter.java)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
   	at org.apache.dubbo.rpc.filter.TimeoutFilter.invoke(TimeoutFilter.java:44)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
   	at org.apache.dubbo.rpc.protocol.dubbo.filter.TraceFilter.invoke(TraceFilter.java:81)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
   	at org.apache.dubbo.rpc.filter.ContextFilter.invoke(ContextFilter.java:102)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
   	at org.apache.dubbo.rpc.filter.GenericFilter.invoke(GenericFilter.java:149)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
   	at org.apache.dubbo.rpc.filter.ClassLoaderFilter.invoke(ClassLoaderFilter.java:38)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
   	at org.apache.dubbo.rpc.filter.EchoFilter.invoke(EchoFilter.java:41)
   	at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper$1.invoke(ProtocolFilterWrapper.java:81)
   	at org.apache.dubbo.rpc.protocol.dubbo.DubboProtocol$1.reply(DubboProtocol.java:150)
   	at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.handleRequest(HeaderExchangeHandler.java:100)
   	at org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeHandler.received(HeaderExchangeHandler.java:175)
   	at org.apache.dubbo.remoting.transport.DecodeHandler.received(DecodeHandler.java:51)
   	at org.apache.dubbo.remoting.transport.dispatcher.ChannelEventRunnable.run(ChannelEventRunnable.java:57)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   
   
   ```

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [skywalking] wu-sheng edited a comment on issue #4440: DubboServerHandler ... java.lang.NullPointerException... Dubbo 2.7.5

Posted by GitBox <gi...@apache.org>.
wu-sheng edited a comment on issue #4440: DubboServerHandler ... java.lang.NullPointerException... Dubbo 2.7.5
URL: https://github.com/apache/skywalking/issues/4440#issuecomment-594373760
 
 
   We don't have plugin for es 2.4.6. Take a look on the supported list doc.

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [skywalking] wu-sheng closed issue #4440: DubboServerHandler ... java.lang.NullPointerException... Dubbo 2.7.5

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #4440: DubboServerHandler ... java.lang.NullPointerException... Dubbo 2.7.5
URL: https://github.com/apache/skywalking/issues/4440
 
 
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [skywalking] wu-sheng commented on issue #4440: DubboServerHandler ... java.lang.NullPointerException... Dubbo 2.7.5

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #4440: DubboServerHandler ... java.lang.NullPointerException... Dubbo 2.7.5
URL: https://github.com/apache/skywalking/issues/4440#issuecomment-594355129
 
 
   @wuxiansen Need you to help on debugging, when this no active span happens at the first place? Or could you have a runnable code on the github to reproduce this issue?

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [skywalking] wuxiansen commented on issue #4440: DubboServerHandler ... java.lang.NullPointerException... Dubbo 2.7.5

Posted by GitBox <gi...@apache.org>.
wuxiansen commented on issue #4440: DubboServerHandler ... java.lang.NullPointerException... Dubbo 2.7.5
URL: https://github.com/apache/skywalking/issues/4440#issuecomment-594373363
 
 
   app use es version 2.4.6  , but Skywalking: 6.6.0 to store es version 6.8.5 , maybe agent `org.apache.skywalking.apm.plugin.elasticsearch.v5.TransportActionNodeProxyInterceptor.beforeMethod(TransportActionNodeProxyInterceptor.java:53)`  is not compatible ?

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [skywalking] wu-sheng commented on issue #4440: DubboServerHandler ... java.lang.NullPointerException... Dubbo 2.7.5

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #4440: DubboServerHandler ... java.lang.NullPointerException... Dubbo 2.7.5
URL: https://github.com/apache/skywalking/issues/4440#issuecomment-594373760
 
 
   es 2.4.6 is not supported for sure. But your logs seem another issue.

----------------------------------------------------------------
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


With regards,
Apache Git Services