apache / dubbo-js

The Typescript implementation of Apache Dubbo. An RPC and microservice framework for Node.js and Web development.
https://dubbo.apache.org/
Apache License 2.0
767 stars 160 forks source link

LocalDateTime数据类型报错java.lang.StackOverflowError #204

Closed wv1124 closed 4 years ago

wv1124 commented 4 years ago

java.lang.StackOverflowError at com.alibaba.com.caucho.hessian.io.SerializerFactory.getSerializer(SerializerFactory.java:159) at com.alibaba.com.caucho.hessian.io.Hessian2Output.writeObject(Hessian2Output.java:406) at com.alibaba.com.caucho.hessian.io.JavaSerializer.writeObject(JavaSerializer.java:203) at com.alibaba.com.caucho.hessian.io.Hessian2Output.writeObject(Hessian2Output.java:408) .....

感觉是Hessian本身有问题吧

binlaniua commented 4 years ago

升级dubbo到2.5.6以上 修改列表 合并说明

wv1124 commented 4 years ago

LocalDateTime类型在序列化时会递归调用自己,需要升级dubbo,不是dubbo2js问题。