Closed jochenberger closed 1 month ago
If there is no setter (e.g. if the field is made final), the problem does not arise.
This bug was introduced in 4.35.0: since then, even for void
methods it is possible to provide custom definitions. The JacksonModule
didn't take that into account and therefore can run into this error.
Thanks for raising this. I'll fix it soon.
For the time being, perhaps downgrade to version 4.34.0
temporarily.
I'm still trying to gather more info, but I can already provide a stacktrace. I'm working with
@JsonUnwrapped
on a delegate object. The Lombok-generated setter for that object seems to cause the issue.