Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/uml/nattable/org.eclipse.papyrus.uml.nattable/src/org/eclipse/papyrus/uml/nattable/manager/cell/StereotypePropertyCellManager.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable/src/org/eclipse/papyrus/uml/nattable/manager/cell/StereotypePropertyCellManager.java b/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable/src/org/eclipse/papyrus/uml/nattable/manager/cell/StereotypePropertyCellManager.java
index fe2e1b40a1f..a7279a39c2b 100644
--- a/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable/src/org/eclipse/papyrus/uml/nattable/manager/cell/StereotypePropertyCellManager.java
+++ b/plugins/uml/nattable/org.eclipse.papyrus.uml.nattable/src/org/eclipse/papyrus/uml/nattable/manager/cell/StereotypePropertyCellManager.java
@@ -291,7 +291,10 @@ public class StereotypePropertyCellManager extends UMLFeatureCellManager {
}
}
}
-
+ //if the stereotype is not applied, we return null.
+ if(stereotypeApplication == null) {
+ return null;
+ }
solvedValue = valueSolver.deduceValueFromString(prop, newValue);
steApFeature = stereotypeApplication.eClass().getEStructuralFeature(prop.getName());
if(prop.getType() instanceof Enumeration) {//Enumeration AND not EnumerationLiteral

Back to the top