Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-59

Runtime exceptions should bubble up

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0-incubating
    • 1.0-incubating
    • BPEL Runtime
    • None

    Description

      Curremtly in the ASSIGN there's the following code:

      try

      { copy(aCopy); }

      catch (FaultException fault)

      { faultData = createFault(fault.getQName(), aCopy, fault .getMessage()); break; }

      catch (Exception ex)

      { __log.fatal("Unexpected exception in assignment, terminating process", ex); instance(ASSIGN.this); getBpelRuntimeContext().terminate(); break; }

      Which practically means that any non-fault exception will result in the process terminating. However an engine failure (a sneaky NPE hidden in a rarely executed piece of code) shouldn't affect the process. So such an exception should bubble up to the IL and trigger a transaction rollback.

      Attachments

        Activity

          People

            mriou Matthieu Riou
            mriou Matthieu Riou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: