diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/instances/base/ElementManagement.java b/src/main/java/org/gcube/informationsystem/resourceregistry/instances/base/ElementManagement.java index 94881bc..41df377 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/instances/base/ElementManagement.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/instances/base/ElementManagement.java @@ -1165,6 +1165,10 @@ public abstract class ElementManagement { Set definedProperties = getAllProperties(); + if(definedProperties==null) { + // The type could define no property + return; + } for(PropertyDefinition propertyDefinition : definedProperties) {