Fixed bug

This commit is contained in:
Luca Frosini 2021-03-02 16:39:30 +01:00
parent a684479858
commit 25f2850114
1 changed files with 4 additions and 0 deletions

View File

@ -1165,6 +1165,10 @@ public abstract class ElementManagement<El extends OElement, T extends Type> {
Set<PropertyDefinition> definedProperties = getAllProperties(); Set<PropertyDefinition> definedProperties = getAllProperties();
if(definedProperties==null) {
// The type could define no property
return;
}
for(PropertyDefinition propertyDefinition : definedProperties) { for(PropertyDefinition propertyDefinition : definedProperties) {