Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,7 @@ public Object complete(JsonParser jp, DeserializationContext ctxt, Object bean)
typeId = _properties[i].getDefaultTypeId();
}
} else if (_tokens[i] == null) {
SettableBeanProperty prop = _properties[i].getProperty();
throw ctxt.mappingException("Missing property '%s' for external type id '%s'",
prop.getName(), _properties[i].getTypePropertyName());
continue;
}
_deserializeAndSet(jp, ctxt, bean, i, typeId);
}
Expand Down Expand Up @@ -191,9 +189,7 @@ public Object complete(JsonParser jp, DeserializationContext ctxt,
}
typeId = _properties[i].getDefaultTypeId();
} else if (_tokens[i] == null) {
SettableBeanProperty prop = _properties[i].getProperty();
throw ctxt.mappingException("Missing property '%s' for external type id '%s'",
prop.getName(), _properties[i].getTypePropertyName());
continue;
}
values[i] = _deserialize(jp, ctxt, i, typeId);
}
Expand Down