apache / apache/dubbo

[Bug] level too large 2048 problem during serialization data by fastjson2

Open
#14,202 1 comment 0 reactions 0 assignees View on GitHub
component/need-triage type/need-triage
Dominant language
Java
Stars
41.6k
Forks
26.4k
Avg merge
15h 13m
Merged PRs (30d)
4

Description

### 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](https://github.com/apache/dubbo/issues?q=is%3Aissue) 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

1. create instance like this ```SomeObject so = new SomeObject{{ setV1("some value"); }}```
2. set **so** as parameter to dubbo service like ``` ds.insert(so);``` ( i use @DubboReference to inject *ds* )
3. get error info like below
![errimg](https://github.com/apache/dubbo/assets/6083234/5fb39442-39f4-40a8-8d2c-d8767a2f2fc7)

### 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](https://www.apache.org/foundation/policies/conduct)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.