-
Notifications
You must be signed in to change notification settings - Fork 55
Guava's RangeHelper causing NPE in PropertyNamingStrategy #79
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
@arpit-pp Ok, looking at code, I think that Guava module should not pass But I would suggest also filing an issue for DropWizard since it may make sense to add a workaround there to work around the issue -- this avoids issues when used with existing Jackson versions. One challenge here is that the default Jackson |
Refs FasterXML/jackson-datatypes-collections#79 Fixes #3514 (cherry picked from commit 402062a)
I'm using Dropwizard which automatically configures Jackson at startup using the following code:
Guava's
RangeHelper
is callingAnnotationSensitivePropertyNamingStrategy.nameForField
with null value forAnnotatedField
param which is resulting in an NPE.Stacktrace:
The text was updated successfully, but these errors were encountered: