You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type of caseInsensitive should be Boolean instead of boolean. Otherwise, when using contructors without caseInsensitive, e.g. EnumDeserializer(com.fasterxml.jackson.databind.util.EnumResolver), will cause NullPointerException.
Version Information
since 2.15.0
Exception Related to 2.15.4 Version
java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because "caseInsensitive" is null
at com.fasterxml.jackson.databind.deser.std.EnumDeserializer.<init>(EnumDeserializer.java:82)
at com.fasterxml.jackson.databind.deser.std.EnumDeserializer.<init>(EnumDeserializer.java:131)
...
The text was updated successfully, but these errors were encountered:
Hunter-Lam
changed the title
Incompatible contructor parameter type in EnumDeserializer
Incompatible Constructor Parameter Type in EnumDeserializer
Jun 14, 2024
cowtowncoder
changed the title
Incompatible Constructor Parameter Type in EnumDeserializer
Incompatible Constructor Parameter Type in EnumDeserializerJun 15, 2024
Uh oh!
There was an error while loading. Please reload this page.
Code Link
jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/EnumDeserializer.java
Line 110 in 9af381d
Description
Type of
caseInsensitive
should beBoolean
instead ofboolean
. Otherwise, when using contructors withoutcaseInsensitive
, e.g.EnumDeserializer(com.fasterxml.jackson.databind.util.EnumResolver)
, will causeNullPointerException
.Version Information
since 2.15.0
Exception Related to 2.15.4 Version
The text was updated successfully, but these errors were encountered: