Closed aftool closed 3 years ago
Hi there! I understand that it is not easy to reproduce this, but will tag this as "need-test-case" since without one it is not really possibly to verify the a fix works.
Since version 2.9 is will not be maintained after end of this month (there will be one more micro-patch, but just for known security issue(s)), I would recommend anyone who might see the issue to upgrade to a later minor version first: 2.10.5 would be the safest choice. If reproducible, still, this may be re-opened for investigation.
Hi, thanks for your response. I understand that reproduce will be important to identify the issue. actually my biggest problem is that I can't not reproduce this issue in test environment. Do you have any clue in what case will throw a NPE here, any clue will be useful for me.
Hi there! I understand that it is not easy to reproduce this, but will tag this as "need-test-case" since without one it is not really possibly to verify the a fix works.
Since version 2.9 is will not be maintained after end of this month (there will be one more micro-patch, but just for known security issue(s)), I would recommend anyone who might see the issue to upgrade to a later minor version first: 2.10.5 would be the safest choice. If reproducible, still, this may be re-opened for investigation.
@aftool I think that there were some rarely seen concurrency issues with some of class metadata introspection functionality in earlier Jackson 2.x version, in concurrent use cases. If so, you cannot reliably reproduce it. It would only happen rarely in certain sequence of usage. It is actually bit odd you would see it in 2.9 since I think most issues were with 2.8 and earlier.
If you can reproduce the issue with either 2.10.5 or 2.11.4, I will look at specific lines identified by stack traces and that could give some idea of what may be going on.
Yeah, this issue is really odd, cas it didn't happen for like two weeks, and after it occur then all the json transform failed with NPE. thanks for your advice, I will upgrade to version 2.10.5, to see if this issue happen again.
No reproduction for a newer version, closing. May be reopened with a reproduction (ideally unit test).
Describe the bug Recently I upgrade jackson-databind in my application from version 2.8.7 to 2.9.9.3, it works for two weeks then we encounter NPE throwed from AnnotatedCreatorCollector._findPotentialFactories, and the issue is gone after I restart my server. Here is the full stack trace:
I look into the code that throws nullpointerexception
encountered nullpointerexception at
my code is like:
Version information version 2.9.9.3 (upgrade from 2.8.7 to 2.9.9.3)
To Reproduce Sorry I'm unnable to reproduce the issue, the issue has disappeared after I restart my server.