5 Replies Latest reply on Jun 22, 2009 5:57 PM by Osvaldo Pina

    Error building 3.2.6.SP1

    Osvaldo Pina Newbie

      Hi all,

      I'm trying ot build 3.2.6.SP1 and I'm getting the following tests on error:

      Failed tests:
      testTimerAction(org.jbpm.jbpm2036.JBPM2036Test)

      Tests in error:
      testReadLock(org.jbpm.jbpm1755.JBPM1755Test)
      testUpgradeLock(org.jbpm.jbpm1755.JBPM1755Test)
      testForceLock(org.jbpm.jbpm1755.JBPM1755Test)
      testTaskMgmtDefinitionAddSwimlaneInverseReference(org.jbpm.taskmgmt.def.TaskMgmtDefinitionDbTest)
      testTimerRepeat(org.jbpm.scheduler.exe.UnsafeSessionUsageTest)
      testStartStateSwimlaneInitialization(org.jbpm.taskmgmt.exe.SwimlaneDbTest)
      testSwimlaneActorId(org.jbpm.taskmgmt.exe.SwimlaneDbTest)
      testSwimlanePooledActor(org.jbpm.taskmgmt.exe.SwimlaneDbTest)
      testSwimlanePooledActorThenTaskInstanceAssignment(org.jbpm.taskmgmt.exe.SwimlaneDbTest)
      testSwimlanePooledActorThenSwimlaneInstanceAssignment(org.jbpm.taskmgmt.exe.SwimlaneDbTest)
      testSwimlanePooledActorsUpdate(org.jbpm.taskmgmt.exe.SwimlaneDbTest)
      testSwimlanePoolInitialization(org.jbpm.taskmgmt.exe.SwimlaneDbTest)


      this are the exception stack traces:

      Running org.jbpm.jbpm1755.JBPM1755Test
      org.jbpm.persistence.JbpmPersistenceException: transaction commit failed
      at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:137)
      at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:198)
      at org.jbpm.svc.Services.close(Services.java:243)


      org.jbpm.JbpmException: event 'process-end' did not occur within 300000 ms
      at org.jbpm.graph.def.EventCallback.waitForEvent(EventCallback.java:165)
      at org.jbpm.graph.def.EventCallback.waitForEvent(EventCallback.java:154)
      at org.jbpm.jbpm1755.JBPM1755Test.launchProcessInstances(JBPM1755Test.java:68)


      Caused by: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.jbpm.graph.exe.Token#2]
      at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)



      org.jbpm.JbpmException: could not delete ProcessDefinition(testStartStateSwimlaneInitialization)
      at org.jbpm.db.GraphSession.deleteProcessDefinition(GraphSession.java:263)
      at org.jbpm.db.GraphSession.deleteProcessDefinition(GraphSession.java:230)
      at org.jbpm.taskmgmt.exe.SwimlaneDbTest.testStartStateSwimlaneInitialization(SwimlaneDbTest.java:76)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


      Caused by: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.jbpm.graph.node.StartState#5]
      at org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:377)
      at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:79)
      at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:68)
      at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111)



      ...