-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Wrong String.format()
in StdDelegatingDeserializer
hides actual error
#4787
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
Comments
Please try at least 2.18 version and rewrite the issue, @Horus1337 |
I committed 8f139af. I accidentally committed directly, had intended to create a branch and a PR. @cowtowncoder feel free to revert this commit. |
String.format()
in StdDelegatingDeserializer
hides actual error
@pjfanning That's fine in this case. I think I'll even backport it to 2.16/2.17/2.18. |
Thank you for the quick fix. |
Search before asking
Describe the bug
In com.fasterxml.jackson.databind.deser.std.StdDelegatingDeserializer
is the method
The String format in there is wrong, there is a '+' instead of ',' so another Runtime Exception is thrown.
fixes this
Version Information
since 2.6.0
Reproduction
String.format
("Cannot update object of type %s (using deserializer for type %s)"
+"EXAMPLE", "STRING")
Expected behavior
String.format
("Cannot update object of type %s (using deserializer for type %s)",
"EXAMPLE", "STRING")
Additional context
No response
The text was updated successfully, but these errors were encountered: