mcck commented on issue #75:
URL:
https://github.com/apache/dubbo-hessian-lite/issues/75#issuecomment-2437334140
> Can you pls test on Dubbo 3.3 using hessian-lite 4.x?
I upgraded the version
dubbo version: 3.3.1
hessian-lite version: 4.0.3
A new error has occurred:
```
Caused by: java.lang.IllegalArgumentException: [Serialization Security]
Serialized class java.io.InputStream has not implement Serializable interface.
Current mode is strict check, will disallow to deserialize it by default.
at
org.apache.dubbo.common.utils.DefaultSerializeClassChecker.loadClass(DefaultSerializeClassChecker.java:119)
~[dubbo-3.3.1.jar:3.3.1]
at
org.apache.dubbo.common.serialize.hessian2.Hessian2SerializerFactory.getDefaultDeserializer(Hessian2SerializerFactory.java:68)
~[dubbo-3.3.1.jar:3.3.1]
at
com.alibaba.com.caucho.hessian.io.SerializerFactory.loadDeserializer(SerializerFactory.java:545)
~[hessian-lite-4.0.3.jar:4.0.3]
at
com.alibaba.com.caucho.hessian.io.SerializerFactory.getDeserializer(SerializerFactory.java:474)
~[hessian-lite-4.0.3.jar:4.0.3]
at
com.alibaba.com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:2408)
~[hessian-lite-4.0.3.jar:4.0.3]
at
com.alibaba.com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:2218)
~[hessian-lite-4.0.3.jar:4.0.3]
at
org.apache.dubbo.common.serialize.hessian2.Hessian2ObjectInput.readObject(Hessian2ObjectInput.java:118)
~[dubbo-3.3.1.jar:3.3.1]
at
org.apache.dubbo.common.serialize.hessian2.Hessian2ObjectInput.readObject(Hessian2ObjectInput.java:129)
~[dubbo-3.3.1.jar:3.3.1]
at
org.apache.dubbo.common.serialize.DefaultSerializationExceptionWrapper$ProxyObjectInput.readObject(DefaultSerializationExceptionWrapper.java:170)
~[dubbo-3.3.1.jar:3.3.1]
... 10 common frames omitted
```
* And I haven't found how to customize InputStream Serializable
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]