diff --git a/lib/server-core-ext/src/main/java/org/apache/olingo/server/core/MetadataParser.java b/lib/server-core-ext/src/main/java/org/apache/olingo/server/core/MetadataParser.java index 3023c4b0d5..d4f5d1c231 100644 --- a/lib/server-core-ext/src/main/java/org/apache/olingo/server/core/MetadataParser.java +++ b/lib/server-core-ext/src/main/java/org/apache/olingo/server/core/MetadataParser.java @@ -915,7 +915,7 @@ private CsdlNavigationProperty readNavigationProperty(XMLEventReader reader, Sta property.setName(attr(element, "Name")); property.setType(readType(element)); property.setCollection(isCollectionType(element)); - property.setNullable(Boolean.parseBoolean(attr(element, "Nullable"))); + property.setNullable(Boolean.parseBoolean(attr(element, "Nullable") == null ? "true" : attr(element, "Nullable"))); property.setPartner(attr(element, "Partner")); property.setContainsTarget(Boolean.parseBoolean(attr(element, "ContainsTarget")));