You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "237chenhao (via GitHub)" <gi...@apache.org> on 2023/08/22 03:26:17 UTC
[GitHub] [dubbo] 237chenhao opened a new issue, #12942: dubbo3.2.1默认使用fastjson2序列化,序列化报错UnsupportedOperationException
237chenhao opened a new issue, #12942:
URL: https://github.com/apache/dubbo/issues/12942
### Environment
* Dubbo version: 3.2.1
* Operating System version: mac
* Java version: 17
* nacos: 2.2.1
参数对象中有泛型和枚举,泛型实际传递的是Map:

进行RPC调用时报序列化错误:

--
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] 237chenhao closed issue #12942: dubbo3.2.1默认使用fastjson2序列化,序列化报错UnsupportedOperationException
Posted by "237chenhao (via GitHub)" <gi...@apache.org>.
237chenhao closed issue #12942: dubbo3.2.1默认使用fastjson2序列化,序列化报错UnsupportedOperationException
URL: https://github.com/apache/dubbo/issues/12942
--
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
[GitHub] [dubbo] 237chenhao commented on issue #12942: dubbo3.2.1默认使用fastjson2序列化,序列化报错UnsupportedOperationException
Posted by "237chenhao (via GitHub)" <gi...@apache.org>.
237chenhao commented on issue #12942:
URL: https://github.com/apache/dubbo/issues/12942#issuecomment-1698355820
> 手动指定下 fastjson2 版本试试看 https://github.com/alibaba/fastjson2/releases/tag/2.0.39
>
> 如果还不行的话在 https://github.com/alibaba/fastjson2/issues/new/choose 提交 issue
跑隔壁fastjson2提了issue,问题已解决,https://github.com/alibaba/fastjson2/issues/1805
--
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
[GitHub] [dubbo] AlbumenJ commented on issue #12942: dubbo3.2.1默认使用fastjson2序列化,序列化报错UnsupportedOperationException
Posted by "AlbumenJ (via GitHub)" <gi...@apache.org>.
AlbumenJ commented on issue #12942:
URL: https://github.com/apache/dubbo/issues/12942#issuecomment-1687632492
手动指定下 fastjson2 版本试试看 https://github.com/alibaba/fastjson2/releases/tag/2.0.39
如果还不行的话在 https://github.com/alibaba/fastjson2/issues/new/choose 提交 issue
--
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
[GitHub] [dubbo] 237chenhao commented on issue #12942: dubbo3.2.1默认使用fastjson2序列化,序列化报错UnsupportedOperationException
Posted by "237chenhao (via GitHub)" <gi...@apache.org>.
237chenhao commented on issue #12942:
URL: https://github.com/apache/dubbo/issues/12942#issuecomment-1697411184
debug调试看了1个小时的源码,深不见底呀,问题应该是出在com.alibaba.fastjson2.writer.ObjectWriterCreatorASM类

最终返回的是FieldWriterObject类,FieldWriterObject并没有实现方法writeEnumJSONB

--
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