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: 祁晓波 <[email protected]>
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();