Open zhangyz-hd opened 3 years ago
change serialization to "kryo", the "kryo2" not support event , it may have another purpose.The reason of the NPE is that the data of channel event is null .it's outputObject will use Kryo.writeObjectOrNull(Output output, Object object, Class type)
, when use "kryo2" . data is null ,so that data.getClass() will throw NPE.
change serialization to "kryo", the "kryo2" not support event , it may have another purpose.The reason of the NPE is that the data of channel event is null .it's outputObject will use
Kryo.writeObjectOrNull(Output output, Object object, Class type)
, when use "kryo2" . data is null ,so that data.getClass() will throw NPE.
I know that kryo2 was not publid. But when I added a method to org.apache.dubbo.common.serialize.Serialization, kryo2 caused me some trouble, so I should delete kryo2 implements?
Environment
Steps to reproduce this issue
Pls. provide [GitHub address] to reproduce this issue. https://github.com/zhangyz-hd/dubbo-issues
If there is an exception, please attach the exception trace: