com.alibaba.com.caucho.hessian.io.HessianFieldException: com.mucfc.risk.front.dto.CtsTransaction.transDate: java.sql.Date cannot be assigned from null

Google Groups | 智聪 罗 | 5 years ago
  1. 0

    hessian反序列化问题

    Google Groups | 5 years ago | 智聪 罗
    com.alibaba.com.caucho.hessian.io.HessianFieldException: com.mucfc.risk.front.dto.CtsTransaction.transDate: java.sql.Date cannot be assigned from null

    Root Cause Analysis

    1. com.alibaba.com.caucho.hessian.io.HessianFieldException

      com.mucfc.risk.front.dto.CtsTransaction.transDate: java.sql.Date cannot be assigned from null

      at com.alibaba.com.caucho.hessian.io.JavaDeserializer.logDeserializeError()
    2. com.alibaba.com
      JavaDeserializer.readObject
      1. com.alibaba.com.caucho.hessian.io.JavaDeserializer.logDeserializeError(JavaDeserializer.java:677)[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]
      2. com.alibaba.com.caucho.hessian.io.JavaDeserializer$SqlDateFieldDeserializer.deserialize(JavaDeserializer.java:608)[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]
      3. com.alibaba.com.caucho.hessian.io.JavaDeserializer.readObject(JavaDeserializer.java:233)[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]
      4. com.alibaba.com.caucho.hessian.io.JavaDeserializer.readObject(JavaDeserializer.java:157)[dubbo-2.5.4-SNAPSHOT.jar:2.5.4-SNAPSHOT]
      4 frames