Skip to content

Commit 90b22c0

Browse files
authored
DeserializationContext changed to allow null (#4179)
wrt FasterXML/jackson-module-kotlin#617 (comment)
1 parent 98ad112 commit 90b22c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/fasterxml/jackson/databind/exc/InvalidNullException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class InvalidNullException
3030
protected InvalidNullException(DeserializationContext ctxt, String msg,
3131
PropertyName pname)
3232
{
33-
super(ctxt.getParser(), msg);
33+
super(ctxt == null ? null : ctxt.getParser(), msg);
3434
_propertyName = pname;
3535
}
3636

0 commit comments

Comments
 (0)