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

NPE when serializer is missing #989

Open
yawkat opened this issue Dec 10, 2024 · 0 comments
Open

NPE when serializer is missing #989

yawkat opened this issue Dec 10, 2024 · 0 comments
Labels
type: bug Something isn't working

Comments

@yawkat
Copy link
Member

yawkat commented Dec 10, 2024

Expected Behavior

There should never be an NPE in serde code.

Actual Behaviour

NPE in this line. Likely deserializer is null.

User reports this happens in conjunction with io.micronaut.serde.exceptions.SerdeException: Cannot find deserializer: class …, with the missing deserializer implementing Deserializer<String>. Likely there is some failure looking up the deserializer, so that it is not set, and then the NPE happens later on. The first error is likely fine, but the NPE should not happen.

Steps To Reproduce

Unclear. No test case currently available. Reproducers welcome :)

Environment Information

No response

Example Application

No response

Version

N/A

@sdelamo sdelamo added the type: bug Something isn't working label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants