You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by yi...@apache.org on 2019/06/29 16:56:46 UTC

[dubbo] branch 2.6.x updated: Dubbo throws IoException with error message while decoding fail (#4396)

This is an automated email from the ASF dual-hosted git repository.

yizhenqiang pushed a commit to branch 2.6.x
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/2.6.x by this push:
     new f932569  Dubbo throws IoException with error message while decoding fail (#4396)
f932569 is described below

commit f9325699388f653ebbcd921cbdd0baf02d838715
Author: 祁晓波 <qi...@gmail.com>
AuthorDate: Sun Jun 30 00:56:27 2019 +0800

    Dubbo throws IoException with error message while decoding fail (#4396)
    
    Really have this problem
---
 .../java/com/alibaba/dubbo/rpc/protocol/dubbo/DecodeableRpcResult.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dubbo-rpc/dubbo-rpc-dubbo/src/main/java/com/alibaba/dubbo/rpc/protocol/dubbo/DecodeableRpcResult.java b/dubbo-rpc/dubbo-rpc-dubbo/src/main/java/com/alibaba/dubbo/rpc/protocol/dubbo/DecodeableRpcResult.java
index f774557..e43080a 100644
--- a/dubbo-rpc/dubbo-rpc-dubbo/src/main/java/com/alibaba/dubbo/rpc/protocol/dubbo/DecodeableRpcResult.java
+++ b/dubbo-rpc/dubbo-rpc-dubbo/src/main/java/com/alibaba/dubbo/rpc/protocol/dubbo/DecodeableRpcResult.java
@@ -128,7 +128,7 @@ public class DecodeableRpcResult extends RpcResult implements Codec, Decodeable
                 }
                 break;
             default:
-                throw new IOException("Unknown result flag, expect '0' '1' '2', get " + flag);
+                throw new IOException("Unknown result flag, expect '0' '1' '2' '3' '4' '5', get " + flag);
         }
         if (in instanceof Cleanable) {
             ((Cleanable) in).cleanup();