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

com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of org.openapitools.jackson.nullable.JsonNullable (no Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator) #233

Closed
k-wall opened this issue Mar 11, 2022 · 2 comments · Fixed by #234

Comments

@k-wall
Copy link

k-wall commented Mar 11, 2022

Since 0.17 topic objects with leaders are failing to unmarshal, the exception we are seeing is:

com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance of `org.openapitools.jackson.nullable.JsonNullable` (no Creators, like default construct, exist): cannot deserialize from Object value (no delegate- or property-based Creator)

Here's a simple test that reproduces the issue. The problem appears to be with the setter.

https://github.com/k-wall/app-services-sdk-java/blob/unmarshal-topic-exception/examples/src/integration-test/java/com/redhat/cloud/UnmarhsalTopicTest.java

@wtrocki
Copy link
Collaborator

wtrocki commented Mar 11, 2022

@k-wall Thank you for logging issue.
0.17.0 introduced number of breaking changes and we are in process of testing it against unreleased service version of service.

If problem occurs on production I recommend downgrading to 0.16.0 for now.

I will look to replicate this issue against stage API
to see if we need to do any fix on SDK.

@wtrocki
Copy link
Collaborator

wtrocki commented Mar 11, 2022

Sorry for inconvenience

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants