Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/uml/internationalization/org.eclipse.papyrus.uml.internationalization/src/org/eclipse/papyrus/uml/internationalization/utils/UMLInternationalizationKeyResolver.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/uml/internationalization/org.eclipse.papyrus.uml.internationalization/src/org/eclipse/papyrus/uml/internationalization/utils/UMLInternationalizationKeyResolver.java b/plugins/uml/internationalization/org.eclipse.papyrus.uml.internationalization/src/org/eclipse/papyrus/uml/internationalization/utils/UMLInternationalizationKeyResolver.java
index 641a8e94ab0..54f411f4b2c 100644
--- a/plugins/uml/internationalization/org.eclipse.papyrus.uml.internationalization/src/org/eclipse/papyrus/uml/internationalization/utils/UMLInternationalizationKeyResolver.java
+++ b/plugins/uml/internationalization/org.eclipse.papyrus.uml.internationalization/src/org/eclipse/papyrus/uml/internationalization/utils/UMLInternationalizationKeyResolver.java
@@ -132,7 +132,7 @@ public class UMLInternationalizationKeyResolver extends InternationalizationKeyR
// Use the shortest qualified name for the control mode if needed
boolean shortestQualifiedNameUsed = false;
- if (superElementInSameResource.eContainer() != null) {
+ if (null != superElementInSameResource && null != superElementInSameResource.eContainer()) {
List<String> shortestQualifiedNames = NameResolutionUtils.getShortestQualifiedNames(
(NamedElement) entry.getKey(), (Namespace) superElementInSameResource.eContainer(), false);
if (!shortestQualifiedNames.isEmpty()) {

Back to the top