LinXiaoJian opened a new issue #5011:
URL: https://github.com/apache/skywalking/issues/5011


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [√] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Question
   - What do you want to know?
   When I sent the request, I saw the NullPointerException in the 
skywalking-api.log file. Does Skywalking 8.0.1 support vertx 3.8.5 ? How should 
I solve this problem?
   
   - Which version of SkyWalking, OS and JRE?
   SkyWalking 8.0.1
   vertx 3.8.5
   k3s v1.18.4 + k3s1
   
   ERROR 2020-07-02 11:12:22:875 vert.x-eventloop-thread-0 InstMethodsInter : 
class[class io.vertx.ext.web.impl.RouteState] after method[handleContext] 
intercept failure 
   java.lang.NullPointerException
           at 
org.apache.skywalking.apm.agent.core.context.ContextManager.stopSpan(ContextManager.java:172)
           at 
org.apache.skywalking.apm.plugin.vertx3.RouteStateInterceptor.afterMethod(RouteStateInterceptor.java:82)
           at 
org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:97)
           at io.vertx.ext.web.impl.RouteState.handleContext(RouteState.java)
           at 
io.vertx.ext.web.impl.RoutingContextImplBase.iterateNext(RoutingContextImplBase.java:131)
           at 
io.vertx.ext.web.impl.RoutingContextImpl.next(RoutingContextImpl.java:130)
           at 
io.vertx.ext.web.handler.impl.BodyHandlerImpl$BHandler.doEnd(BodyHandlerImpl.java:296)
           at 
io.vertx.ext.web.handler.impl.BodyHandlerImpl$BHandler.end(BodyHandlerImpl.java:276)
           at 
io.vertx.ext.web.handler.impl.BodyHandlerImpl.lambda$handle$0(BodyHandlerImpl.java:87)
           at 
io.vertx.ext.web.handler.impl.BodyHandlerImpl$$Lambda$417/00000000B4815850.handle(Unknown
 Source)
           at 
io.vertx.core.http.impl.HttpServerRequestImpl.onEnd(HttpServerRequestImpl.java:530)
           at 
io.vertx.core.http.impl.HttpServerRequestImpl.handleEnd(HttpServerRequestImpl.java:516)
           at 
io.vertx.core.http.impl.Http1xServerConnection.handleEnd(Http1xServerConnection.java:176)
           at 
io.vertx.core.http.impl.Http1xServerConnection.handleContent(Http1xServerConnection.java:163)
           at 
io.vertx.core.http.impl.Http1xServerConnection.handleMessage$original$5bFp59Ed(Http1xServerConnection.java:140)
           at 
io.vertx.core.http.impl.Http1xServerConnection.handleMessage$original$5bFp59Ed$accessor$6WLZB3ND(Http1xServerConnection.java)
           at 
io.vertx.core.http.impl.Http1xServerConnection$auxiliary$Xo68aMgs.call(Unknown 
Source)
           at 
org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:86)
           at 
io.vertx.core.http.impl.Http1xServerConnection.handleMessage(Http1xServerConnection.java)
           at 
io.vertx.core.net.impl.VertxHandler$$Lambda$404/00000000D000C7C0.handle(Unknown 
Source)
           at io.vertx.core.impl.ContextImpl.executeTask(ContextImpl.java:369)
           at 
io.vertx.core.impl.EventLoopContext.execute(EventLoopContext.java:43)
           at io.vertx.core.impl.ContextImpl.executeFromIO(ContextImpl.java:232)
           at 
io.vertx.core.net.impl.VertxHandler.channelRead(VertxHandler.java:173)
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
           at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
           at 
io.netty.channel.ChannelInboundHandlerAdapter.channelRead(ChannelInboundHandlerAdapter.java:93)
           at 
io.netty.handler.codec.http.websocketx.extensions.WebSocketServerExtensionHandler.channelRead(WebSocketServerExtensionHandler.java:102)
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
           at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
           at 
io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:328)
           at 
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:302)
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
           at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
           at 
io.vertx.core.http.impl.Http1xOrH2CHandler.end(Http1xOrH2CHandler.java:61)
           at 
io.vertx.core.http.impl.Http1xOrH2CHandler.channelRead(Http1xOrH2CHandler.java:38)
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
           at 
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352)
           at 
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1422)
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374)
           at 
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360)
           at 
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:931)
           at 
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163)
           at 
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:700)
           at 
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:635)
           at 
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:552)
           at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:514)
           at 
io.netty.util.concurrent.SingleThreadEventExecutor$6.run(SingleThreadEventExecutor.java:1044)
           at 
io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
           at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
           at java.base/java.lang.Thread.run(Thread.java:834)


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to