-
Notifications
You must be signed in to change notification settings - Fork 40.9k
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
Concurrency issue with ObjectMapper on RESTful http call #1855
Comments
AFAICT /cc @rstoyanchev in case he has seen this in MVC before. |
I can't share this specific project but I think it might be related to the
I read somewhere in the comments of the DeserializerCache that the Map deserializer doesn't get cached. I am going to try if I can convert that parameter type to be a class that encapsulates the Map definition that I have. |
That resolved it. My method signature is now:
@cowtowncoder any reason why Jackson doesn't allow caching of the Map type? |
@ShawnTuatara I consider it a flaw, and will be fixing it for Jackson 2.4.4. Back in the day construction of |
@ShawnTuatara Thanks for the report. I'll close this one here and we'll wait for the Jackson 2.4.4 release. |
I had originally asked about this issue on the Jackson side of things but thought it relevant to post this here as well.
FasterXML/jackson-databind#604
There was a comment on my original issue about why the canDeserialize() is being called instead of readValue() as well as if the ObjectMapper is being re-used. I am hoping that someone can take a look at how the spring-boot project is interacting with the ObjectMapper on the deserializing the json http request to see if there is any issues that would cause the problem I am having.
The text was updated successfully, but these errors were encountered: