blob: 3a19c611dae6d53bf5e51e502be6188249eeadc6 [file] [log] [blame]
@@ -116,7 +116,7 @@
// Create targetProperty
Property targetProperty = UMLFactory.eINSTANCE.createProperty();
targetProperty.setType(sourceType);
- targetProperty.setName(sourceType.getName().toLowerCase()); // all elements in UML must have a qualified name
+ targetProperty.setName(sourceType.getName() != null ? sourceType.getName().toLowerCase() : "null");
Association association = UMLFactory.eINSTANCE.createAssociation();
association.getMemberEnds().add(sourcePart);