My temporary solution is changing:
Code:
protected boolean isEntity() {
boolean isComplexType = true;
isComplexType = !simpleTypeHolder.isSimpleType(information.getActualType().getType());
return isComplexType && !isTransient() && !isCollectionLike() && !isMap();
}
for:
Code:
protected boolean isEntity() {
boolean isComplexType = true;
if (!isMap()) {
isComplexType = !simpleTypeHolder.isSimpleType(information.getActualType().getType());
}
return isComplexType && !isTransient() && !isCollectionLike();
}
Not optimal but it's a pain reliever. 'information.getActualType()' returning null for a HashMap sound like a bug to me. What do you think?