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

[BUG]NullPointerException was found in 2.0.43,ObjectReaderBean.checkAutoType0(ObjectReaderBean.java:182) #2127

Closed
imgoby opened this issue Dec 26, 2023 · 3 comments
Labels
bug Something isn't working fixed
Milestone

Comments

@imgoby
Copy link

imgoby commented Dec 26, 2023

Caused by: java.lang.NullPointerException
	at java.base/java.lang.Class.isAssignableFrom(Native Method)
	at com.alibaba.fastjson2.reader.ObjectReaderBean.checkAutoType0(ObjectReaderBean.java:182)
	at com.alibaba.fastjson2.reader.ObjectReaderBean.checkAutoType(ObjectReaderBean.java:165)
	at com.alibaba.fastjson2.reader.ORG_9_5_SubmitReportModel.readJSONBObject(Unknown Source)
	at com.alibaba.fastjson2.reader.ORG_8_18_SubmitMessageHighPropertiesModel.readJSONBObject(Unknown Source)
	at com.alibaba.fastjson2.JSONB.parseObject(JSONB.java:540)
	at org.apache.dubbo.common.serialize.fastjson2.FastJson2ObjectInput.readObject(FastJson2ObjectInput.java:149)
	at org.apache.dubbo.common.serialize.DefaultSerializationExceptionWrapper$ProxyObjectInput.readObject(DefaultSerializationExceptionWrapper.java:175)
	... 118 more

image

@imgoby imgoby added the bug Something isn't working label Dec 26, 2023
@wenshao
Copy link
Member

wenshao commented Dec 26, 2023

什么版本?

@imgoby
Copy link
Author

imgoby commented Jan 5, 2024

2.0.43

@wenshao wenshao added this to the 2.0.45 milestone Jan 6, 2024
@wenshao wenshao added the fixed label Jan 6, 2024
@wenshao
Copy link
Member

wenshao commented Jan 7, 2024

https://github.com/alibaba/fastjson2/releases/tag/2.0.45
问题已修复,请用新版本

@wenshao wenshao closed this as completed Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed
Projects
None yet
Development

No branches or pull requests

2 participants