summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Pielmann2012-05-03 07:50:20 (EDT)
committer Manik Kishore2012-05-08 03:43:52 (EDT)
commitaf0510a220f5ba00493180bcdc755d5bc53fcfd6 (patch)
tree07715f4fdde85e93f75bb067585b1bf3b682f769
parentf59066c42efc427589be75e05f73c0459700fa0a (diff)
downloadorg.eclipse.stardust.engine-af0510a220f5ba00493180bcdc755d5bc53fcfd6.zip
org.eclipse.stardust.engine-af0510a220f5ba00493180bcdc755d5bc53fcfd6.tar.gz
org.eclipse.stardust.engine-af0510a220f5ba00493180bcdc755d5bc53fcfd6.tar.bz2
Jira-ID: CRNT-24637
upgrading an audittrail based on IPP 5.3.15 to IPP 7.0 fails returning null git-svn-id: http://emeafrazerg/svn/ipp/product/trunk/stardust/engine@56039 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b
-rw-r--r--stardust-engine-core/src/main/java/org/eclipse/stardust/engine/core/runtime/beans/ModelDeploymentBean.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/core/runtime/beans/ModelDeploymentBean.java b/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/core/runtime/beans/ModelDeploymentBean.java
index 3b6e034..75576e3 100644
--- a/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/core/runtime/beans/ModelDeploymentBean.java
+++ b/stardust-engine-core/src/main/java/org/eclipse/stardust/engine/core/runtime/beans/ModelDeploymentBean.java
@@ -131,7 +131,10 @@ public class ModelDeploymentBean extends IdentifiablePersistentBean implements S
}
BpmRuntimeEnvironment rte = PropertyLayerProviderInterceptor.getCurrent();
- rte.setDeploymentBeanCreatedt(true);
+ if (rte != null)
+ {
+ rte.setDeploymentBeanCreatedt(true);
+ }
SessionFactory.getSession(SessionFactory.AUDIT_TRAIL).cluster(this);
}