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
While using jackson to serialize classes which deviate quite a bit from JavaBeans requirements, I've been struggling figuring out which property SetterlessProperty.set() complains about when it is called. Setting a breakpoint in this method and inspecting this in the debugger clarified this (the class is already contained in the error message Cannot construct instance of <classname>).
Adding the name of the property to the exception message e.g. like in commit d427ba5 would greatly simplify hunting down such errors. (this commit can be turned into a pull request easily).
The text was updated successfully, but these errors were encountered:
cowtowncoder
changed the title
FEATURE: add name of unsettable property in SetterlessProperty.set()
Include name of unsettable property in exception from SetterlessProperty.set()Nov 28, 2017
While using jackson to serialize classes which deviate quite a bit from JavaBeans requirements, I've been struggling figuring out which property
SetterlessProperty.set()
complains about when it is called. Setting a breakpoint in this method and inspectingthis
in the debugger clarified this (the class is already contained in the error messageCannot construct instance of <classname>
).Adding the name of the property to the exception message e.g. like in commit d427ba5 would greatly simplify hunting down such errors. (this commit can be turned into a pull request easily).
The text was updated successfully, but these errors were encountered: