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

使用报错 data err #43

Open
zhugw opened this issue Jul 28, 2022 · 1 comment
Open

使用报错 data err #43

zhugw opened this issue Jul 28, 2022 · 1 comment

Comments

@zhugw
Copy link

zhugw commented Jul 28, 2022

非常简单的JSON也不能正常处理

{"age":30}

界面上提示data err!!

idea.log中报错信息如下

2022-07-28 15:43:05,157 [1162679]   INFO - STDERR - java.lang.NullPointerException: Cannot invoke "String.replaceAll(String, String)" because "str" is null
2022-07-28 15:43:05,157 [1162679]   INFO - STDERR - 	at com.foxsteps.gsonformat.ConvertBridge.removeComment(ConvertBridge.java:288)
2022-07-28 15:43:05,157 [1162679]   INFO - STDERR - 	at com.foxsteps.gsonformat.ConvertBridge.collectDeclareFields(ConvertBridge.java:307)
2022-07-28 15:43:05,157 [1162679]   INFO - STDERR - 	at com.foxsteps.gsonformat.ConvertBridge.collectClassAttribute(ConvertBridge.java:235)

idea版本:

IntelliJ IDEA 2022.2 (Ultimate Edition)
Runtime version: 17.0.3+7-b469.32 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.4
Metal Rendering is ON
Non-Bundled Plugins:
    GsonFormatPlus (1.6.1)
@z1143715275
Copy link

解决了吗

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