summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-05-09 03:55:31 (EDT)
committer Manik Kishore2012-05-16 00:20:02 (EDT)
commitcbede1c404e3d895de4daf9a96ba4943d601191c (patch)
tree0956636c3febffe5029cddefd20afd6bed7f6c7d
parentdac01eebba52752ce03360086ea5e3a185fd6d24 (diff)
downloadorg.eclipse.stardust.engine-cbede1c404e3d895de4daf9a96ba4943d601191c.zip
org.eclipse.stardust.engine-cbede1c404e3d895de4daf9a96ba4943d601191c.tar.gz
org.eclipse.stardust.engine-cbede1c404e3d895de4daf9a96ba4943d601191c.tar.bz2
Jira-ID: CRNT-24702
Message Transformation Application - Data elements taken from external models lead to NPE git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/engine@56181 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--stardust-engine-core/src/main/java/org/eclipse/stardust/engine/core/struct/StructuredTypeRtUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/core/struct/StructuredTypeRtUtils.java b/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/core/struct/StructuredTypeRtUtils.java
index 22973f9..e468eb1 100644
--- a/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/core/struct/StructuredTypeRtUtils.java
+++ b/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/core/struct/StructuredTypeRtUtils.java
@@ -136,7 +136,7 @@ public class StructuredTypeRtUtils
{
if (declaredTypeId != null && declaredTypeId.startsWith("typeDeclaration:{"))
{
- QName qname = QName.valueOf(declaredTypeId.substring(17));
+ QName qname = QName.valueOf(declaredTypeId.substring(16));
IExternalPackage pkg = model.findExternalPackage(qname.getNamespaceURI());
if (pkg != null)
{