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

Failing process causes Unexpected error dialog

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.18.0.Final
    • 7.x
    • Console
    • None
    • 5
    • NEW
    • NEW
    • 2019 Week 08-10

      When there's failing task (Script task in this case) at the beginning of the process, then start of the process fails with two consecutive error dialogs.

      First is:

      Error
      Unable to complete your request. The following exception occurred: "Unable to create response: [errorsConsole.processErrorAtStart:9 - Process Error:2] -- On purpose".
      

      which is expected.

      Second is:

      Unexpected error
      An unexpected error happened. Please try again in a few moments.
      

      which seems like the error is not caught and bubbles up to UI.
      In the error details there's raw stacktrace of the error (from the Script task).

      It looks like a regression, previously there used to be an 'Error' dialog with more info provided:

      Error
      Unexpected error occurred: Unexpected HTTP response code when requesting URI 'http://localhost:8080/kie-server/services/rest/server/containers/consoleErrorsContainerID/tasks/2/states/completed'! Error code: 500, message: "Unexpected error during processing: [errorsConsole.processError:8 - Process Error:3] -- On purpose"
      

            cnicolai@redhat.com Cristiano Nicolai
            jstastny@redhat.com Jan Stastny
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: