Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraradermache2011-02-03 12:12:41 +0000
committeraradermache2011-02-03 12:12:41 +0000
commit3c7c7f56f6125a1c131755ccca948657caf021a5 (patch)
treef73be37bea9aa5878ff916b0d0dbc8f40e8141af /extraplugins/conversion/org.eclipse.papyrus.conversion.di2todi/src
parentf6fe632fdc9238067f1098400a6f798162641640 (diff)
downloadorg.eclipse.papyrus-3c7c7f56f6125a1c131755ccca948657caf021a5.tar.gz
org.eclipse.papyrus-3c7c7f56f6125a1c131755ccca948657caf021a5.tar.xz
org.eclipse.papyrus-3c7c7f56f6125a1c131755ccca948657caf021a5.zip
Bug fixes
Diffstat (limited to 'extraplugins/conversion/org.eclipse.papyrus.conversion.di2todi/src')
-rw-r--r--extraplugins/conversion/org.eclipse.papyrus.conversion.di2todi/src/org/eclipse/papyrus/conversion/di2todi/blackboxes/UtilitiesLibrary.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/extraplugins/conversion/org.eclipse.papyrus.conversion.di2todi/src/org/eclipse/papyrus/conversion/di2todi/blackboxes/UtilitiesLibrary.java b/extraplugins/conversion/org.eclipse.papyrus.conversion.di2todi/src/org/eclipse/papyrus/conversion/di2todi/blackboxes/UtilitiesLibrary.java
index 54bece31085..9138b043865 100644
--- a/extraplugins/conversion/org.eclipse.papyrus.conversion.di2todi/src/org/eclipse/papyrus/conversion/di2todi/blackboxes/UtilitiesLibrary.java
+++ b/extraplugins/conversion/org.eclipse.papyrus.conversion.di2todi/src/org/eclipse/papyrus/conversion/di2todi/blackboxes/UtilitiesLibrary.java
@@ -153,7 +153,7 @@ public class UtilitiesLibrary {
// and thus detects elements referenced by the di2 model that do not exist (anymore) in the
// uml model
Element element = bridge.getElement();
- if (element.eIsProxy()) {
+ if ((element != null) && element.eIsProxy()) {
// is still proxy (the getElement implementation of Uml1SemanticModelBridge already tried to
// resolve) => return null
return null;

Back to the top