Uploaded image for project: 'Magnolia Workflow Module'
  1. Magnolia Workflow Module
  2. MGNLWORKFLOW-195

Exception handling in JbpmWorkflowManager swallowing errors

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 5.2.1
    • Fix Version/s: 5.3
    • Component/s: None

      Description

      The JbpmWorkflowManager is currently performing a catch-all via java.lang.Exception in the majority of methods, e.g. launch, completeWorkItem, initKnowledgeService which is generally considered slightly iffy practice.

      More importantly, any exception is being caught and subsequently swallowing any useful exceptions (and thus logging) by only throwing a RuntimeException without any logging.

      Synopsis: Jbpm workflow errors are being swallowed and not output to any log.

        Attachments

          Activity

            People

            Assignee:
            fgrilli Federico Grilli
            Reporter:
            dean.pullen Dean Pullen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: