Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-2599

Incidents show PersistenceException instead of the actual exception

    XMLWordPrintable

Details

    Description

      Reproduce steps:

      • Create a process application with a service task
      • Let the delegate call an EJB
      • Throw a runtime exception in the EJB

      Problem:
      org.apache.ibatis.exceptions.PersistenceException is displayed

      Expected behavior:
      The actual EJB exception is displayed

      Hints (optional):
      Stacktrace excerpt:

      ### Error querying database. Cause: java.sql.SQLException: Transaction cannot proceed STATUS_MARKED_ROLLBACK
      ### The error may exist in org/camunda/bpm/engine/impl/mapping/entity/Execution.xml
      ### The error may involve org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.selectExecutionsByProcessInstanceId
      ### The error occurred while executing a query
      ### SQL: select * from ACT_RU_EXECUTION where PROC_INST_ID_ = ?
      ### Cause: java.sql.SQLException: Transaction cannot proceed STATUS_MARKED_ROLLBACK 
      

      Hint:
      Has impact not only on incidents

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                sebastian.menski Sebastian Menski
                matthijs.burke Matthijs
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce