On Thu, Jul 7, 2022 at 10:05 AM Alecia Reyes <[email protected]> wrote: > > All, > > My company is working with a TMS software and we have about 45 users. One > user is getting an error when using the software to call out to another > website. He is the only one getting this error and it's been happening every > time he does this daily since May. We have this issue escalated within the > vendor and their lead developer is very engaged but has yet to determine why > this is happening. One thing he has narrowed down is that after the user logs > in each day, the first time he tries to make this request it works. Also, if > later in the day he tries and gets the error, if he opens an additional > instance of the software, the first time he makes the request it works. On > our end, we have checked all our network lines, servers, de and re-installed > his software and even put him on a brand new laptop, nothing helped. I have > pasted the error below. > > Thanks in advance!! > > Lish :-) > > com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct > instance of 'java.lang.StringBuffer' (although at least one Creator exists): > no String-argument constructor/factory method to deserialize from String > value ("movement.id")
Usually this would not be enough to figure it out, but I recalled something... so it is probably this regression: https://github.com/FasterXML/jackson-databind/issues/3446 so depending on the version of Jackson, it'd be necessary to upgrade to Jackson 2.13.3. I am not 100% sure which version the problem started in but I'd guess either 2.12.0 or 2.13.0: the root cause is due to Jackson introspection being limited for JDK core types so a single-argument Constructor of `StringBuffer` was not found and thereby explicit deserializer is needed. I hope this helps, -+ Tatu +- -- You received this message because you are subscribed to the Google Groups "jackson-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jackson-user/CAL4a10hP3Av5DE21V%2BumpuDfLszb489BRG2Hyr9M6u6Fe3KCAg%40mail.gmail.com.
