com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcResult.decode(DecodeableRpcResult.java:112) [DUBBO

2023-05-04 21:01:43 浏览数 (2)

com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcResult.decode(DecodeableRpcResult.java:112) [DUBBO] Decode rpc result failed: com.xxx.XXXXClass.XXXField: java.lang.reflect.InvocationTargetException, dubbo version: com.alibaba.com.caucho.hessian.io.HessianFieldException: com.xxx.XXXXClass.XXXField java.lang.reflect.InvocationTargetException

代码语言:javascript复制
com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcResult.decode(DecodeableRpcResult.java:112) [DUBBO] Decode rpc result failed: com.xxx.XXXXClass.XXXField: java.lang.reflect.InvocationTargetException, dubbo version: 

com.alibaba.com.caucho.hessian.io.HessianFieldException: com.xxx.XXXXClass.XXXField
: java.lang.reflect.InvocationTargetException
        at com.alibaba.com.caucho.hessian.io.JavaDeserializer.logDeserializeError(JavaDeserializer.java:671)
        at com.alibaba.com.caucho.hessian.io.JavaDeserializer$ObjectFieldDeserializer.deserialize(JavaDeserializer.java:400)
        at com.alibaba.com.caucho.hessian.io.JavaDeserializer.readObject(JavaDeserializer.java:233)
        at com.alibaba.com.caucho.hessian.io.JavaDeserializer.readObject(JavaDeserializer.java:157)
        at com.alibaba.com.caucho.hessian.io.Hessian2Input.readObjectInstance(Hessian2Input.java:2067)
        at com.alibaba.com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1592)
        at com.alibaba.com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1576)

一般是由于提供者、消费者各自引用的api不一致,消费者的api少了XXXField字段导致的。

0 人点赞