zrlw opened a new issue #8811:
URL: https://github.com/apache/dubbo/issues/8811
### Environment
* Dubbo version: 3.0
### Steps to reproduce this issue
测试dubbo-samples项目的AnnotationServicesIT.testGreeting方法时,偶尔会出现服务端超时触发此异常。
手工触发方法:
修改AnnotationAction.java的greetingService服务引用对象的method超时注解,从3000改为1000(服务端代码里有2000毫秒sleep),然后运行就会遇到NPE:
```
java.lang.NullPointerException
at
org.apache.dubbo.rpc.protocol.dubbo.DecodeableRpcResult.decode(DecodeableRpcResult.java:85)
```
DecodeableRpcResult 85行代码:```if (invocation.getServiceModel() != null) { ```
服务端超时,此处invocation为null。
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]