You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/09/15 13:16:03 UTC

[GitHub] [dubbo] zrlw opened a new issue #8811: [3.0] 服务端超时DecodeableRpcResult.decode(Channel channel, InputStream input)抛NPE异常

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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ closed issue #8811: [3.0] 服务端超时DecodeableRpcResult.decode(Channel channel, InputStream input)抛NPE异常

Posted by GitBox <gi...@apache.org>.
AlbumenJ closed issue #8811:
URL: https://github.com/apache/dubbo/issues/8811


   


-- 
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: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org