Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-10088

Subprocess rollbacked transaction makes getTimerMappingInfo query fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.75.0.Final
    • 7.70.0.Final
    • Runtime Engine
    • None

      When there is a scenario similar to JBPM-9717 - a subprocess with a timer throws an exception- the transaction is rollbacked and the new query at getTimerMappingInfo fails, so timers are never deleted.

      Entering getTimerMappinInfo

      [KIE-LOG] STDOUT: 19:16:49,376 DEBUG [org.hibernate.SQL] (EJB default - 1) select timermappi0_.id as id1_43_, timermappi0_.externalTimerId as external2_43_, timermappi0_.info as info3_43_, timermappi0_.kieSessionId as kieSessi4_43_, timermappi0_.timerId as timerId5_43_, timermappi0_.uuid as uuid6_43_ from TimerMappingInfo timermappi0_ where timermappi0_.uuid=?
      [KIE-LOG] STDOUT: 19:16:49,376 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (EJB default - 1) SQL Error: 0, SQLState: null
      [KIE-LOG] STDOUT: 19:16:49,376 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (EJB default - 1) IJ031070: Transaction cannot proceed: STATUS_ROLLEDBACK

              ftirados Francisco Javier Tirado Sarti
              gmunozfe@redhat.com Gonzalo Muñoz Fernández
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: