-
Notifications
You must be signed in to change notification settings - Fork 26.5k
dubbo:3.2 Triple Server NPE when client connect and disconnect #12855
Copy link
Copy link
Closed
Labels
type/bugBugs to being fixedBugs to being fixed
Description
Environment
- Dubbo version: 3.2.5
- Operating System version: CentOS 7
- Java version: 1.8.0_201
Steps
Triple client 在连接和断开Triple server时,server端分别出现NPE。
Expected Behavior
No NPE
Actual Behavior
NPE
exception trace:
2023-08-14 17:21:34.605 INFO 1 --- [rverWorker-14-7] d.r.transport.netty4.NettyChannelHandler:55 : [DUBBO] The connection of /10.244.232.0:58536 -> /10.244.24.215:50051 is established., dubbo version: 3.2.5, current host: 10.244.24.215
2023-08-14 17:21:36.107 ERROR 1 --- [0051-thread-199] o.a.d.c.t.serial.SerializingExecutor :? : [DUBBO] Exception while executing runnable org.apache.dubbo.rpc.protocol.tri.stream.TripleServerStream$ServerTransportObserver$$Lambda$2696/704937895@63104b52, dubbo version: 3.2.5, current host: 10.244.24.215, error code: 0-19. This may be caused by , go to https://dubbo.apache.org/faq/0/19 to find instructions.
java.lang.NullPointerException: null
at org.apache.dubbo.rpc.protocol.tri.ReflectionPackableMethod.<init>(ReflectionPackableMethod.java:78) ~[dubbo-3.2.5.jar:3.2.5]
at org.apache.dubbo.rpc.protocol.tri.ReflectionPackableMethod.init(ReflectionPackableMethod.java:127) ~[dubbo-3.2.5.jar:3.2.5]
at org.apache.dubbo.rpc.protocol.tri.DefaultPackableMethodFactory.create(DefaultPackableMethodFactory.java:29) ~[dubbo-3.2.5.jar:3.2.5]
at org.apache.dubbo.rpc.protocol.tri.call.ReflectionAbstractServerCall.startCall(ReflectionAbstractServerCall.java:126) ~[dubbo-3.2.5.jar:3.2.5]
at org.apache.dubbo.rpc.protocol.tri.call.AbstractServerCall.onHeader(AbstractServerCall.java:134) ~[dubbo-3.2.5.jar:3.2.5]
at org.apache.dubbo.rpc.protocol.tri.stream.TripleServerStream$ServerTransportObserver.processHeader(TripleServerStream.java:428) ~[dubbo-3.2.5.jar:3.2.5]
at org.apache.dubbo.rpc.protocol.tri.stream.TripleServerStream$ServerTransportObserver.lambda$onHeader$0(TripleServerStream.java:331) ~[dubbo-3.2.5.jar:3.2.5]
at org.apache.dubbo.common.threadpool.serial.SerializingExecutor.run(SerializingExecutor.java:102) ~[dubbo-3.2.5.jar:3.2.5]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_201]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_201]
at org.apache.dubbo.common.threadlocal.InternalRunnable.run(InternalRunnable.java:41) [dubbo-3.2.5.jar:3.2.5]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_201]
2023-08-14 17:21:41.102 INFO 1 --- [rverWorker-14-7] .d.r.transport.netty4.NettyServerHandler:90 : [DUBBO] The connection of /10.244.232.0:58536 -> /10.244.24.215:50051 is disconnected., dubbo version: 3.2.5, current host: 10.244.24.215
2023-08-14 17:21:41.103 WARN 1 --- [rverWorker-14-7] .d.r.p.t.t.TripleHttp2FrameServerHandler:? : [DUBBO] Triple Server received remote reset errorCode=0, dubbo version: 3.2.5, current host: 10.244.24.215, error code: 4-14. This may be caused by , go to https://dubbo.apache.org/faq/4/14 to find instructions.
2023-08-14 17:21:41.104 WARN 1 --- [rverWorker-14-7] .dubbo.remoting.transport.AbstractServer:? : [DUBBO] All clients has disconnected from /10.244.24.215:50051. You can graceful shutdown now., dubbo version: 3.2.5, current host: 10.244.24.215, error code: 99-0. This may be caused by unknown error in remoting module, go to https://dubbo.apache.org/faq/99/0 to find instructions.
2023-08-14 17:21:41.104 ERROR 1 --- [0051-thread-199] o.a.d.c.t.serial.SerializingExecutor :? : [DUBBO] Exception while executing runnable org.apache.dubbo.rpc.protocol.tri.stream.TripleServerStream$ServerTransportObserver$$Lambda$2702/1532370849@57d9e340, dubbo version: 3.2.5, current host: 10.244.24.215, error code: 0-19. This may be caused by , go to https://dubbo.apache.org/faq/0/19 to find instructions.
java.lang.NullPointerException: null
at org.apache.dubbo.rpc.protocol.tri.call.AbstractServerCall.onCancelByRemote(AbstractServerCall.java:232) ~[dubbo-3.2.5.jar:3.2.5]
at org.apache.dubbo.rpc.protocol.tri.stream.TripleServerStream$ServerTransportObserver.lambda$cancelByRemote$3(TripleServerStream.java:458) ~[dubbo-3.2.5.jar:3.2.5]
at org.apache.dubbo.common.threadpool.serial.SerializingExecutor.run(SerializingExecutor.java:102) ~[dubbo-3.2.5.jar:3.2.5]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_201]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_201]
at org.apache.dubbo.common.threadlocal.InternalRunnable.run(InternalRunnable.java:41) [dubbo-3.2.5.jar:3.2.5]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_201]
2023-08-14 17:21:41.105 INFO 1 --- [rverWorker-14-7] d.r.transport.netty4.NettyChannelHandler:69 : [DUBBO] The connection of /10.244.232.0:58536 -> /10.244.24.215:50051 is disconnected., dubbo version: 3.2.5, current host: 10.244.24.215
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type/bugBugs to being fixedBugs to being fixed
Type
Projects
Status
Done