Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kryo对List数据反序列化报错 #82

Open
zeuschocolate opened this issue Feb 14, 2023 · 3 comments
Open

kryo对List数据反序列化报错 #82

zeuschocolate opened this issue Feb 14, 2023 · 3 comments

Comments

@zeuschocolate
Copy link

启用多级缓存(redis单机模式),且使用默认的kryo对redis数据进行序列化时,
存入List类型的值时,会导致一级失效后,直接将一级二级缓存全部清除直接从数据库取值
打断点后发现,是在从redis取值时,List不能被反序列化,但这个错误没有抛出,报错附图
image
image

@xiaolyuh123
Copy link
Contributor

你的list对下可以给下吗

@zeuschocolate
Copy link
Author

就是一个正常的对象的list,没什么特殊的,我看报错信息为什么是list没有空参构造啊

@zeuschocolate
Copy link
Author

我把序列化方式换成了fastjson就没问题了,当前使用版本是3.4.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants