dubbo
dubbo copied to clipboard
[Bug] level too large 2048 problem during serialization data by fastjson2
Pre-check
- [X] I am sure that all the content I provide is in English.
Search before asking
- [X] I had searched in the issues and found no similar issues.
Apache Dubbo Component
Java SDK (apache/dubbo)
Dubbo Version
- Dubbo 3.2.12,
- spring cloud 2023.0.1,
- spring boot 3.2.4,
- spring-cloud-alibaba 2022.0.0.0,
- JDK Azul zulu 17.0.4,
- Windows 11
Steps to reproduce this issue
- create instance like this
SomeObject so = new SomeObject{{ setV1("some value"); }} - set so as parameter to dubbo service like
ds.insert(so);( i use @DubboReference to inject ds ) - get error info like below
What you expected to happen
I need the method could run without error .
Anything else
Considering the complexity of Dubbo's workflow, I'm not sure if Dubbo's preprocessing might affect the data output to Fastjson2. Therefore, I'm submitting this issue to Dubbo first. If it's confirmed that Dubbo is not the problem, please provide me with relevant information so I can raise the question with the Fastjson2 team.
Are you willing to submit a pull request to fix on your own?
- [ ] Yes I am willing to submit a pull request on my own!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
This is the default limitation of fastjson2, you can consult Fastjson community how to avoid this issue. And we would appreciate it if you could put the link or solution back here once it's solved, thanks.