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

Failing process causes Unexpected error dialog

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 7.x
    • Fix Version/s: 7.18.0.Final
    • Component/s: Console
    • Labels:
      None
    • Sprint:
      2019 Week 08-10
    • Story Points:
      5
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      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"
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  cristiano.nicolai Cristiano Nicolai
                  Reporter:
                  jstastny Jan Stastny
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: