You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can not construct instance of org.immutables.fixture.jackson.ImmutableEntity, problem: nullableDefault
at [Source: {"nullableDefault":null}; line: 1, column: 40]
at org.immutables.fixture.jackson.ObjectMappedTest.jsonNullableWithDefault(ObjectMappedTest.java:252)
Caused by: java.lang.NullPointerException: nullableDefault
at org.immutables.fixture.jackson.ObjectMappedTest.jsonNullableWithDefault(ObjectMappedTest.java:252)
If you remove @Value.Style serialization works as expected.
The text was updated successfully, but these errors were encountered:
Thank you for reporting this. It's hard to dig every feature combination, especially with quite complex Jackson mapping. Here I would ask for help, If staged builder is involved then how it exactly affects Jackson so it doesn't work? One can, for example, take the generated code and out it into a source folder, remove @Value.Immutable annotation and try to fiddle / debug the code to find out what causes the problem.
Consider an entity definition:
and a JSON string:
{"nullableDefault":null}
This would fail jackson deserialisation with:
If you remove
@Value.Style
serialization works as expected.The text was updated successfully, but these errors were encountered: