-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
NullPointerException
from ResolvedRecursiveType
(regression due to fix for #2331)
#2395
Comments
I can confirm this bug. I just wasted my morning trying to find out what's going on. Turned out to be the 2.9.9.2 release. |
Confirmed here too. Using JDK 11. In my case, when Dropwizard is trying to parse its yml config file:
|
We are also affected. |
In our case the issue is observed using (Edit: just checked and we initialize our It would also be good if we could get the changelog fixed too; the change that broke this was incorrectly included in the changelog for |
I'll update the changelog first. Reproduction with Java8 module is interesting since it is unclear why and how that should have any effect (obviously basic I will start with the test case but will need to figure out how to reproduce without other modules as tests from |
I can reproduce this: looks like NPE is indirectly triggered by call to |
Ah. This is due to |
NullPointerException
from ResolvedRecursiveType
(regression due to fix for #2331)
Great response time! 🚀 |
Indeed. Shit happens, and this is has been dealt with. Thank you, @cowtowncoder ! |
Do you have an indication about availability in a release? |
I'll have to think about timing a bit. There haven't been too many fixes aside from this one critical one, so it'll probably be But I think I will release that micro-patch by end of this week (so within 6 days). |
Thanks a lot! |
Any plans to release 2.9.9.3 soon? |
^ |
https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9 |
Thanks @cowtowncoder ! |
Bummer @cowtowncoder, the new bom still refers to |
Oh... f. Ok. How did I manage to do that. Joys of manual releases. Will need to release another pom. Thank you for reporting this. |
|
Thanks for the quick turnaround @cowtowncoder |
__Motivation__ A regression has been introduced in 2.9.9.2 and fixed in 2.9.9.3 See: FasterXML/jackson-databind#2395
* Bumped Jackson databank version to resolve CVE-2019-14379 * Fix NPE FasterXML/jackson-databind#2395
* Bumped Jackson databind version to resolve CVE-2019-14379 * Fix NPE FasterXML/jackson-databind#2395
Some downstream components are hitting the following regression in 2.9.9.2 FasterXML/jackson-databind#2395
Some downstream components are hitting the following regression in 2.9.9.2 FasterXML/jackson-databind#2395
Updated `jackson-databind` version to `2.9.9.3` which contains fix for [this regression](FasterXML/jackson-databind#2395).
Updated `jackson-databind` version to `2.9.9.3` which contains fix for [this regression](FasterXML/jackson-databind#2395).
Update to the latest [micro-patch](https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9#micro-patches) of jackson-databind 2.9.9.3 to fix a regression FasterXML/jackson-databind#2395 Signed-off-by: Jorge Solorzano <jorsol@gmail.com>
Hello,
the backport for #2331 into 2.9.9, specific 2.9.9.2, which comes through 2.9.9.20190727, leads to a null pointer exception together with the JDK 8 module:
Given
It doesn't matter whether the object to be parsed is empty as above or contains data as for example
Works with
com.fasterxml.jackson:jackson-bom:2.9.9
and breaks withcom.fasterxml.jackson:jackson-bom:2.9.9.20190727
:Please find a sample project attached.
jacksonissue.zip
The text was updated successfully, but these errors were encountered: