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

Prevent NPE when TValue is empty #132

Merged
merged 1 commit into from
Jun 7, 2023

Conversation

dominikkv
Copy link

When a TValue is empty/null and it is serialized to Json, a NullPointerException occurs. This is because the serialization method does access the TypeInfo, which is null.

@andrea-magni andrea-magni self-assigned this Jun 7, 2023
@andrea-magni andrea-magni merged commit 92919a0 into andrea-magni:master Jun 7, 2023
@andrea-magni
Copy link
Owner

Thank you for your contribution, @dominikkv .

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants