Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnsgar Radermacher2015-04-10 07:44:06 +0000
committerAnsgar Radermacher2015-04-10 07:44:38 +0000
commitf596d3e7f4d5b4ff4af2ce97e39e59d27f59c793 (patch)
tree967b1aba667ccc0cd3ba71c8b4effe869b03a645 /extraplugins/eastadl
parentfca933cc0c76c74cef1ac0a69fde35116fff59a3 (diff)
downloadorg.eclipse.papyrus-f596d3e7f4d5b4ff4af2ce97e39e59d27f59c793.tar.gz
org.eclipse.papyrus-f596d3e7f4d5b4ff4af2ce97e39e59d27f59c793.tar.xz
org.eclipse.papyrus-f596d3e7f4d5b4ff4af2ce97e39e59d27f59c793.zip
461853 - Runtime exceptions during validation of UML-RT model causes profile constraints to be disabled
Diffstat (limited to 'extraplugins/eastadl')
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/requirements/requirements/impl/RequirementImpl.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/requirements/requirements/impl/RequirementImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/requirements/requirements/impl/RequirementImpl.java
index 82090348b08..ef559bb5ead 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/requirements/requirements/impl/RequirementImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/requirements/requirements/impl/RequirementImpl.java
@@ -716,6 +716,7 @@ public class RequirementImpl extends org.eclipse.papyrus.sysml.requirements.inte
DeriveReqt.class);
if (currentDeriveReqt != null) {
+ if (currentDeriveReqt.getBase_Abstraction() != null) {
EList<NamedElement> clients = currentDeriveReqt.getBase_Abstraction().getClients();
Iterator<NamedElement> it = clients.iterator();
while (it.hasNext()) {
@@ -725,6 +726,7 @@ public class RequirementImpl extends org.eclipse.papyrus.sysml.requirements.inte
derived.add(currentRequirement);
}
}
+ }
}
}
}

Back to the top