Author: objectiser
Date: 2009-11-18 10:03:43 -0500 (Wed, 18 Nov 2009)
New Revision: 279
Modified:
branches/ODE/ODE-1.x-fixes/dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/ProcessDaoImpl.java
Log:
RIFTSAW-83 - avoid npe when terminating a process instance that has had its process
definition undeployed
Modified:
branches/ODE/ODE-1.x-fixes/dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/ProcessDaoImpl.java
===================================================================
---
branches/ODE/ODE-1.x-fixes/dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/ProcessDaoImpl.java 2009-11-18
07:27:22 UTC (rev 278)
+++
branches/ODE/ODE-1.x-fixes/dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/ProcessDaoImpl.java 2009-11-18
15:03:43 UTC (rev 279)
@@ -79,7 +79,7 @@
}
public QName getProcessId() {
- return QName.valueOf(_process.getProcessId());
+ return _process == null ? null : QName.valueOf(_process.getProcessId());
}
public ProcessInstanceDAO getInstance(Long iid) {
Show replies by date