正确的json 但是在运行的时候解析失败, 个别的电脑上
- Dominant language
- Java
- Stars
- 4.4k
- Forks
- 613
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 6
Description
### 问题描述
*简要描述您碰到的问题。*
{"errcode":0,"errmsg":"成功!","data":{"switch_notice":true,"is_mock_open":false,"strice":false,"is_json5":false,"_id":379,"name":"会补贴","basepath":"","project_type":"private","uid":101,"group_id":91,"icon":"code-o","color":"yellow","add_time":1708443259,"up_time":1743002033,"env":[{"header":[{"name":"Token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NDA5NzEzMDgsInVzZXJuYW1lIjoiMTg0NTMifQ.7xr6BZBrewf-Rr09Eq12n1H9xv0o9Mw_K0qreJ5czmE"}],"global":[],"_id":"669e673aa1f02db6ff12fff4","name":"85环境","domain":"http://192.168.40.85:6009/cloud-caring"},{"header":[{"name":"Token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3NDA5NzEzMDgsInVzZXJuYW1lIjoiMTg0NTMifQ.7xr6BZBrewf-Rr09Eq12n1H9xv0o9Mw_K0qreJ5czmE"}],"global":[],"_id":"65d4c67b4747945f161a848d","name":"84环境","domain":"http://192.168.40.84:6009/cloud-caring"},{"header":[{"name":"Token","value":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MDk1NDc2ODgsInVzZXJuYW1lIjoiMTMzMjAifQ.mlT1Ao38TMSFq2PvwPe84EaEpc91BbYesxrBaPRXoDI"}],"global":[],"_id":"65e600eb47479417901a86da","name":"本地环境","domain":"http://192.168.48.47:8080"}],"tag":[],"cat":[],"role":false}}
实际上这个是正确的json, 但是在运行后就解析失败了
这个是远程debug目标电脑上的软件
我测试了不同的电脑, 有的电脑可以有的电脑不行, m1~m4 的都尝试过了, 2台电脑是报错其他电脑是好使, 给我也看懵逼了
用的都是jdk8
Contributor guide
Research direction
Start by reproducing the reported JSON parsing failure on the affected computers using JDK 8, then compare the runtime environment and complete error output with machines where parsing succeeds. Done means the same JSON parses consistently across the reported environments, or the incompatible environment and cause are identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100