You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "baixiang0101 (via GitHub)" <gi...@apache.org> on 2023/06/01 11:48:39 UTC

[GitHub] [dubbo-hessian-lite] baixiang0101 opened a new issue, #67: rpc返回结果用Stream.collect(Collectors.toList())可以正常返回,用Stream.toList()返回会报错

baixiang0101 opened a new issue, #67:
URL: https://github.com/apache/dubbo-hessian-lite/issues/67

   rpc返回结果用Stream.collect(Collectors.toList())可以正常返回,用Stream.toList()返回会报错
   
   ```
   Caused by: java.lang.UnsupportedOperationException: CollectionDeserializer[interface java.util.List]
   at com.alibaba.com.caucho.hessian.io.AbstractDeserializer.readObject(AbstractDeserializer.java:127)
   at com.alibaba.com.caucho.hessian.io.Hessian2Input.readObjectInstance(Hessian2Input.java:2848)
   at com.alibaba.com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:2175)
   at com.alibaba.com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:2104)
   at com.alibaba.com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:2148)
   at com.alibaba.com.caucho.hessian.io.JavaDeserializer$ObjectListFieldDeserializer.deserialize(JavaDeserializer.java:528)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo-hessian-lite] AlbumenJ commented on issue #67: rpc返回结果用Stream.collect(Collectors.toList())可以正常返回,用Stream.toList()返回会报错

Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #67:
URL: https://github.com/apache/dubbo-hessian-lite/issues/67#issuecomment-1574726774

   Please upgrade to 3.2.x and try use fastjson2 serialization.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org