[jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1

sebastian.s do-not-reply at jboss.com
Mon Sep 28 05:05:08 EDT 2009


Full Stacktrace ..


  | ### EXCEPTION ###########################################
  | 11:00:39,186 INF | [DefaultCommandService] exception while executing command org.jbpm.pvm.internal.cmd.CompleteTaskCmd at 1c01ba9
  | org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.jbpm.pvm.internal.model.ExecutionImpl#2]
  | 	at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:409)
  | 	at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:108)
  | 	at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:97)
  | 	at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140)
  | 	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
  | 	at org.jbpm.pvm.internal.model.ExecutionImpl_$$_javassist_4.getHistoryActivityInstanceDbid(ExecutionImpl_$$_javassist_4.java)
  | 	at org.jbpm.pvm.internal.history.events.TaskComplete.process(TaskComplete.java:49)
  | 	at org.jbpm.pvm.internal.history.HistorySessionImpl.process(HistorySessionImpl.java:31)
  | 	at org.jbpm.pvm.internal.history.HistoryEvent.fire(HistoryEvent.java:61)
  | 	at org.jbpm.pvm.internal.task.TaskImpl.historyTaskComplete(TaskImpl.java:305)
  | 	at org.jbpm.pvm.internal.task.TaskImpl.complete(TaskImpl.java:190)
  | 	at org.jbpm.pvm.internal.task.TaskImpl.complete(TaskImpl.java:186)
  | 	at org.jbpm.pvm.internal.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:58)
  | 	at org.jbpm.pvm.internal.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:32)
  | 	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.execute(EnvironmentInterceptor.java:46)
  | 	at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
  | 	at org.jbpm.pvm.internal.svc.TaskServiceImpl.completeTask(TaskServiceImpl.java:88)
  | 	at org.jbpm.examples.userescalation.EscalationTest.testTaskEscalaton(EscalationTest.java:70)
  | 	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)
  | ### EXCEPTION ###########################################
  | 11:00:39,186 SEV | [BaseJbpmTestCase] 
  | ### EXCEPTION ###########################################
  | 11:00:39,186 SEV | [BaseJbpmTestCase] TEST THROWS EXCEPTION: No row with the given identifier exists: [org.jbpm.pvm.internal.model.ExecutionImpl#2]
  | org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.jbpm.pvm.internal.model.ExecutionImpl#2]
  | 	at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:409)
  | 	at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:108)
  | 	at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:97)
  | 	at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140)
  | 	at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
  | 	at org.jbpm.pvm.internal.model.ExecutionImpl_$$_javassist_4.getHistoryActivityInstanceDbid(ExecutionImpl_$$_javassist_4.java)
  | 	at org.jbpm.pvm.internal.history.events.TaskComplete.process(TaskComplete.java:49)
  | 	at org.jbpm.pvm.internal.history.HistorySessionImpl.process(HistorySessionImpl.java:31)
  | 	at org.jbpm.pvm.internal.history.HistoryEvent.fire(HistoryEvent.java:61)
  | 	at org.jbpm.pvm.internal.task.TaskImpl.historyTaskComplete(TaskImpl.java:305)
  | 	at org.jbpm.pvm.internal.task.TaskImpl.complete(TaskImpl.java:190)
  | 	at org.jbpm.pvm.internal.task.TaskImpl.complete(TaskImpl.java:186)
  | 	at org.jbpm.pvm.internal.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:58)
  | 	at org.jbpm.pvm.internal.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:32)
  | 	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.execute(EnvironmentInterceptor.java:46)
  | 	at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
  | 	at org.jbpm.pvm.internal.svc.TaskServiceImpl.completeTask(TaskServiceImpl.java:88)
  | 	at org.jbpm.examples.userescalation.EscalationTest.testTaskEscalaton(EscalationTest.java:70)
  | 	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)
  | ### EXCEPTION ###########################################
  | 11:00:39,186 SEV | [BaseJbpmTestCase] 
  | 11:00:39,217 FIN | [DbSessionImpl] deleting history process instance escalation.1
  | 11:00:39,248 FIN | [DbSessionImpl] deleting process instance escalation.1
  | 11:00:39,264 FIN | [DeleteDeploymentCmd] deleting deployment 1
  | 11:00:39,311 FIN | [BaseJbpmTestCase] === ending testTaskEscalaton =============================
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257272#4257272

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257272



More information about the jboss-user mailing list