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
Have been using dependency management to use this library with more recent versions of jackson. Starting with 2.14.0 a NPE is introduced when using patch to add a new element that was previously null.
java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "com.fasterxml.jackson.core.JsonPointer.getMatchingProperty()" is null
at io.progix.dropwizard.patch.JsonPath.<init>(JsonPath.java:70)
at io.progix.dropwizard.patch.ContextualJsonPatch.apply(ContextualJsonPatch.java:106)
Note that the implementation was largely rewritten for Jackson 2.14 to
reduce memory usage by sharing backing "full path" representation for
nested instances.
The text was updated successfully, but these errors were encountered:
Have been using dependency management to use this library with more recent versions of jackson. Starting with 2.14.0 a NPE is introduced when using patch to add a new element that was previously null.
Based on the class docs of JsonPointer the rewrite is the likely culprit.
https://github.com/FasterXML/jackson-core/blob/2.14/src/main/java/com/fasterxml/jackson/core/JsonPointer.java#L16
The text was updated successfully, but these errors were encountered: