17:36:42,970 FIN | [BaseJbpmTestCase] === starting testSimpleSubflow ============================= 17:36:43,181 FIN | [WireContext] eagerly initializing org.jbpm.pvm.internal.id.DatabaseIdComposer 17:36:43,184 FIN | [WireContext] eagerly initializing org.jbpm.pvm.internal.jobexecutor.JobExecutor 17:36:43,196 INF | [DispatcherThread] starting DispatcherThread 17:36:43,206 INF | [Environment] Hibernate 3.3.1.GA 17:36:43,208 INF | [Environment] hibernate.properties not found 17:36:43,211 INF | [Environment] Bytecode provider name : javassist 17:36:43,214 INF | [Environment] using JDK 1.4 java.sql.Timestamp handling 17:36:43,246 INF | [Configuration] configuring from resource: jbpm.hibernate.cfg.xml 17:36:43,246 INF | [Configuration] Configuration resource: jbpm.hibernate.cfg.xml 17:36:43,289 INF | [Configuration] Reading mappings from resource : jbpm.repository.hbm.xml 17:36:43,415 INF | [Configuration] Reading mappings from resource : jbpm.execution.hbm.xml 17:36:43,484 INF | [Configuration] Reading mappings from resource : jbpm.history.hbm.xml 17:36:43,514 INF | [Configuration] Reading mappings from resource : jbpm.task.hbm.xml 17:36:43,534 INF | [Configuration] Reading mappings from resource : jbpm.identity.hbm.xml 17:36:43,543 INF | [Configuration] Configured SessionFactory: null 17:36:43,554 INF | [DriverManagerConnectionProvider] Using Hibernate built-in connection pool (not for production use!) 17:36:43,554 INF | [DriverManagerConnectionProvider] Hibernate connection pool size: 5 17:36:43,554 INF | [DriverManagerConnectionProvider] autocommit mode: false 17:36:43,626 INF | [DriverManagerConnectionProvider] using driver: oracle.jdbc.driver.OracleDriver at URL: jdbc:oracle:thin:@Area51:1521:jbpmdb 17:36:43,626 INF | [DriverManagerConnectionProvider] connection properties: {user=jbpm, password=****} 17:36:43,870 INF | [Dialect] Using dialect: org.hibernate.dialect.Oracle10gDialect 17:36:43,873 INF | [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions) 17:36:43,874 INF | [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) 17:36:43,876 INF | [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory 17:36:43,879 INF | [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.NoCacheProvider 17:36:43,907 INF | [SessionFactoryImpl] building session factory 17:36:44,293 INF | [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured 17:36:44,446 FIN | [HibernateSessionResource] ----- beginning hibernate tx 5316106 -------------------------------------------------------- 17:36:44,446 FIN | [HibernateSessionResource] ----- beginning hibernate tx 25902690 -------------------------------------------------------- 17:36:44,538 FIN | [HibernateSessionResource] ----- committing hibernate tx 17027654 ------------------------------------------------------- 17:36:44,541 FIN | [HibernateSessionResource] ----- beginning hibernate tx 4574743 -------------------------------------------------------- 17:36:44,544 FIN | [HibernateSessionResource] ----- committing hibernate tx 6322407 ------------------------------------------------------- 17:36:44,559 INF | [CheckDbCmd] jBPM version info: library[4.2], schema[4.2] 17:36:44,559 FIN | [HibernateSessionResource] ----- committing hibernate tx 19196213 ------------------------------------------------------- Deploying...... Process Engine = org.jbpm.pvm.internal.cfg.ProcessEngineImpl@12ddfe4 Repo Service = org.jbpm.pvm.internal.repository.RepositoryServiceImpl@c62080 Execution Service = org.jbpm.pvm.internal.svc.ExecutionServiceImpl@17fc44f 17:36:44,562 FIN | [HibernateSessionResource] ----- beginning hibernate tx 26567569 -------------------------------------------------------- 17:36:44,583 FIN | [DatabaseDbidGenerator] last id -2 was consumed. acquiring new block... 17:36:44,584 FIN | [HibernateSessionResource] ----- beginning hibernate tx 19057790 -------------------------------------------------------- 17:36:44,626 FIN | [HibernateSessionResource] ----- committing hibernate tx 19934057 ------------------------------------------------------- 17:36:44,627 FIN | [DatabaseDbidGenerator] acquired new id block [210001-220000] 17:36:44,842 FIN | [HibernateSessionResource] ----- committing hibernate tx 10097681 ------------------------------------------------------- 17:36:44,911 FIN | [HibernateSessionResource] ----- beginning hibernate tx 8643419 -------------------------------------------------------- 17:36:45,003 FIN | [HibernateSessionResource] ----- committing hibernate tx 26081910 ------------------------------------------------------- 17:36:45,008 FIN | [HibernateSessionResource] ----- beginning hibernate tx 11324773 -------------------------------------------------------- 17:36:45,078 FIN | [HibernateSessionResource] ----- committing hibernate tx 1911694 ------------------------------------------------------- Running Test...... 17:36:45,082 FIN | [HibernateSessionResource] ----- beginning hibernate tx 8819824 -------------------------------------------------------- 17:36:45,091 FIN | [ProcessDefinitionImpl] creating new execution for process 'SimpleSubprocessWorkflow' 17:36:45,093 FIN | [DatabaseIdComposer] generated execution id SIMPLE.OrderId-1 ID [SIMPLE.OrderId-1] Key [OrderId-1] Name [null] Process Started 17:36:45,097 FIN | [ExecuteActivity] executing activity(10357805) ID [SIMPLE.OrderId-1] Key [OrderId-1] Name [null] Transitioning to Simple Subflow A ID [SIMPLE.OrderId-1] Key [OrderId-1] Name [null] Invoking Sub Process A (Simple Subflow) 17:36:45,098 FIN | [ExecuteActivity] executing activity(Simple SubflowA) 17:36:45,103 FIN | [ProcessDefinitionImpl] creating new execution for process 'SimpleSubprocessA' 17:36:45,103 FIN | [DatabaseIdComposer] generated execution id SIMPLE-SUBPROC-A.210020 17:36:45,104 FIN | [ExecuteActivity] executing activity(start1) 17:36:45,104 FIN | [ExecuteActivity] executing activity(Custom Java A) 17:36:45,105 FIN | [ScopeInstanceImpl] create variable 'resultA' in 'execution[SIMPLE-SUBPROC-A.210020]' with value 'success' 17:36:45,105 FIN | [ExecuteActivity] executing activity(check_status_A) ID [SIMPLE-SUBPROC-A.210020] Key [null] Name [null] Simple Custom Java A Started ID [SIMPLE-SUBPROC-A.210020] Key [null] Name [null] Simple Custom Java A Ended ID [SIMPLE-SUBPROC-A.210020] Key [null] Name [null] Invoking Custom Java A Invoking Custom A ID [SIMPLE-SUBPROC-A.210020] Key [null] Name [null] Setting Activity Result Status = success Invoked Custom A Successfully Exiting Custom A ID [SIMPLE-SUBPROC-A.210020] Key [null] Name [null] Invoked Custom Java A 17:36:45,141 FIN | [ExecuteActivity] executing activity(end-success) 17:36:45,141 FIN | [ExecutionImpl] execution[SIMPLE-SUBPROC-A.210020] ends with state ended 17:36:45,163 FIN | [DbSessionImpl] deleting process instance SIMPLE-SUBPROC-A.210020 17:36:45,281 WRN | [JDBCExceptionReporter] SQL Error: 2292, SQLState: 23000 17:36:45,282 SEV | [JDBCExceptionReporter] ORA-02292: integrity constraint (JBPM.FK_EXEC_SUBPI) violated - child record found ### EXCEPTION ########################################### 17:36:45,282 SEV | [AbstractFlushingEventListener] Could not synchronize database state with session org.hibernate.exception.ConstraintViolationException: could not delete: [org.jbpm.pvm.internal.model.ExecutionImpl#210020] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:94) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2569) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2725) at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:97) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:172) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027) at org.hibernate.impl.SessionImpl.forceFlush(SessionImpl.java:1048) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:188) at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:50) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93) at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:562) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:550) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:546) at org.jbpm.pvm.internal.hibernate.DbSessionImpl.save(DbSessionImpl.java:87) at org.jbpm.jpdl.internal.activity.SubProcessActivity.execute(SubProcessActivity.java:91) at org.jbpm.pvm.internal.model.op.ExecuteActivity.perform(ExecuteActivity.java:60) at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:655) at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:615) at org.jbpm.pvm.internal.model.ExecutionImpl.start(ExecutionImpl.java:215) at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:65) at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:38) at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42) at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54) at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53) at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40) at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43) at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.java:74) at de.o2.sebula.simpleflow.SimpleSubprocessTest.testSimpleSubflow(SimpleSubprocessTest.java:89) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:164) at org.jbpm.test.BaseJbpmTestCase.runTest(BaseJbpmTestCase.java:80) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02292: integrity constraint (JBPM.FK_EXEC_SUBPI) violated - child record found at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85) at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194) at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467) at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2551) ... 50 more ### EXCEPTION ########################################### ### EXCEPTION ########################################### 17:36:45,285 INF | [DefaultCommandService] exception while executing command org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd@1c354e6 org.hibernate.exception.ConstraintViolationException: could not delete: [org.jbpm.pvm.internal.model.ExecutionImpl#210020] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:94) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2569) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2725) at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:97) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:172) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027) at org.hibernate.impl.SessionImpl.forceFlush(SessionImpl.java:1048) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:188) at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:50) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93) at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:562) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:550) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:546) at org.jbpm.pvm.internal.hibernate.DbSessionImpl.save(DbSessionImpl.java:87) at org.jbpm.jpdl.internal.activity.SubProcessActivity.execute(SubProcessActivity.java:91) at org.jbpm.pvm.internal.model.op.ExecuteActivity.perform(ExecuteActivity.java:60) at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:655) at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:615) at org.jbpm.pvm.internal.model.ExecutionImpl.start(ExecutionImpl.java:215) at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:65) at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:38) at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42) at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54) at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53) at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40) at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43) at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.java:74) at de.o2.sebula.simpleflow.SimpleSubprocessTest.testSimpleSubflow(SimpleSubprocessTest.java:89) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:164) at org.jbpm.test.BaseJbpmTestCase.runTest(BaseJbpmTestCase.java:80) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02292: integrity constraint (JBPM.FK_EXEC_SUBPI) violated - child record found at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85) at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194) at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467) at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2551) ... 50 more ### EXCEPTION ########################################### 17:36:45,286 FIN | [HibernateSessionResource] ----- rolling back hibernate tx 16448834 ----------------------------------------------------- 17:36:45,607 SEV | [BaseJbpmTestCase] ### EXCEPTION ########################################### 17:36:45,607 SEV | [BaseJbpmTestCase] TEST THROWS EXCEPTION: could not delete: [org.jbpm.pvm.internal.model.ExecutionImpl#210020] org.hibernate.exception.ConstraintViolationException: could not delete: [org.jbpm.pvm.internal.model.ExecutionImpl#210020] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:94) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2569) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2725) at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:97) at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263) at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:172) at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:50) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027) at org.hibernate.impl.SessionImpl.forceFlush(SessionImpl.java:1048) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:188) at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:50) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93) at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:562) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:550) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:546) at org.jbpm.pvm.internal.hibernate.DbSessionImpl.save(DbSessionImpl.java:87) at org.jbpm.jpdl.internal.activity.SubProcessActivity.execute(SubProcessActivity.java:91) at org.jbpm.pvm.internal.model.op.ExecuteActivity.perform(ExecuteActivity.java:60) at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:655) at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:615) at org.jbpm.pvm.internal.model.ExecutionImpl.start(ExecutionImpl.java:215) at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:65) at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:38) at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42) at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54) at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.executeInNewEnvironment(EnvironmentInterceptor.java:53) at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:40) at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) at org.jbpm.pvm.internal.svc.SkipInterceptor.execute(SkipInterceptor.java:43) at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.java:74) at de.o2.sebula.simpleflow.SimpleSubprocessTest.testSimpleSubflow(SimpleSubprocessTest.java:89) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:164) at org.jbpm.test.BaseJbpmTestCase.runTest(BaseJbpmTestCase.java:80) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02292: integrity constraint (JBPM.FK_EXEC_SUBPI) violated - child record found at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85) at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194) at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1223) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467) at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350) at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2551) ... 50 more ### EXCEPTION ########################################### 17:36:45,608 SEV | [BaseJbpmTestCase] 17:36:45,609 FIN | [HibernateSessionResource] ----- beginning hibernate tx 3119471 -------------------------------------------------------- 17:36:45,631 FIN | [DeleteDeploymentCmd] deleting deployment 210001 17:36:45,680 FIN | [HibernateSessionResource] ----- committing hibernate tx 25704433 ------------------------------------------------------- 17:36:45,683 FIN | [HibernateSessionResource] ----- beginning hibernate tx 28410421 -------------------------------------------------------- 17:36:45,698 FIN | [DeleteDeploymentCmd] deleting deployment 210007 17:36:45,779 FIN | [HibernateSessionResource] ----- committing hibernate tx 13043649 ------------------------------------------------------- 17:36:45,800 FIN | [HibernateSessionResource] ----- beginning hibernate tx 15805298 -------------------------------------------------------- 17:36:45,818 FIN | [DeleteDeploymentCmd] deleting deployment 210013 17:36:45,843 FIN | [HibernateSessionResource] ----- committing hibernate tx 7584802 ------------------------------------------------------- 17:36:45,844 FIN | [JobExecutor] stopping job executor Closing Process Engine... 17:36:45,844 FIN | [DispatcherThread] deactivating DispatcherThread 17:36:45,844 FIN | [DispatcherThread] joining DispatcherThread 17:36:45,844 INF | [DispatcherThread] inactive job dispatcher thread 'DispatcherThread' got interrupted 17:36:45,844 INF | [DispatcherThread] DispatcherThread leaves cyberspace 17:36:46,044 FIN | [JobExecutor] stopping job executor 17:36:46,044 INF | [SessionFactoryImpl] closing 17:36:46,044 INF | [DriverManagerConnectionProvider] cleaning up connection pool: jdbc:oracle:thin:@Area51:1521:jbpmdb