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
Exception in thread "main" com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of Test$EmptyProxy out of VALUE_NULL token
at [Source: java.io.StringReader@27c20538; line: 1, column: 49] (through reference chain: Data["proxy"])
at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:148)
The text was updated successfully, but these errors were encountered:
Ok; this is bit exotic, and needs support from jackson-databind to accept a special case of getting JsonToken.VALUE_NULL. Bit ugly, but was possible to add without ill effects; will work in 2.7.0 (can not backport fix in 2.6).
I found a problem with deserializing empty classes in combination with polymorphism. The issue can also be found on SO: http://stackoverflow.com/questions/33722369/jackson-xml-deserializing-empty-classes-and-polymorphism
The problem happens both with JAXB and Jackson XML annotations. I pasted the XML example below:
This gives the following exeption:
The text was updated successfully, but these errors were encountered: