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
java.lang.NullPointerException: unhandled token type NOT_AVAILABLE
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:897)
at com.github.fge.jackson.NodeType.getNodeType(NodeType.java:144)
at com.github.fge.jackson.JsonNumEquals.doEquivalent(JsonNumEquals.java:68)
at com.github.fge.jackson.JsonNumEquals.doEquivalent(JsonNumEquals.java:43)
at com.google.common.base.Equivalence.equivalent(Equivalence.java:65)
The cause seems to be that there is no enum value in com.github.fge.jackson.NodeType that corresponds to MissingNode.
From the commentary in NodeType, it was intended that it be a short-lived replacement until Databind's JsonNodeType could be used, and that has an entry for MISSING.
I would be happy to review contributions of either a NodeType entry addition of MISSING, or a larger refactor to use JsonNodeType from Databind, or both, serially.
Problem
The following code:
results in
The cause seems to be that there is no enum value in
com.github.fge.jackson.NodeType
that corresponds to MissingNode.Workaround:
The text was updated successfully, but these errors were encountered: