Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1903

Failing process causes Unexpected error dialog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 7.3.0.GA
    • None
    • Business Central
    • None
    • 2019 Week 08-10

    Description

      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"
      

      Attachments

        Issue Links

          Activity

            People

              cnicolai@redhat.com Cristiano Nicolai
              cnicolai@redhat.com Cristiano Nicolai
              Jan Stastny Jan Stastny
              Jan Stastny Jan Stastny
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: