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

ExtJsonConverter throws NPE for null schema/value #1552

Closed
jpechane opened this issue Jun 9, 2021 · 1 comment · Fixed by #1562
Closed

ExtJsonConverter throws NPE for null schema/value #1552

jpechane opened this issue Jun 9, 2021 · 1 comment · Fixed by #1562
Assignees
Labels
Bug Something isn't working Discussion

Comments

@jpechane
Copy link
Contributor

jpechane commented Jun 9, 2021

If a message that has no schema/value is passed to the converter then a NPE is thrown. The issue is io.apicurio.registry.utils.converter.ExtJsonConverter.fromConnectData(String, Headers, Schema, Object) line String schemaString = jsonSchema.toString()

Original Kafka JsonConverter supports this scenario.

@EricWittmann
Copy link
Member

@carlesarnal or @famartinrh - can one of you guys have a look at this? Code freeze for 2.0 is Monday, so if this is something we can easily fix we could cherry-pick it for 2.0.x and get it into GA.

@carlesarnal carlesarnal linked a pull request Jun 14, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Discussion
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants