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

Stunner - JavaScript Entry/Exit Action causes error

    XMLWordPrintable

Details

    • Bug
    • Status: New (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 7.9.0.GA, 7.9.1.GA, 7.10.0.GA, 7.10.1.GA, 7.11.0.GA
    • None
    • jBPM Designer
    • Hide
      1. Create a new process.
      2. Create a task that has On Entry/Exit Action field. (e.g.: User task).
      3. Input any String to On Entry or Exit Action.
      4. Change the language to JavaScript.

      Actual result

      An unexpected system error occurs.

      Expected result

      No errors occur either in UI or server log.

      Show
      Create a new process. Create a task that has On Entry/Exit Action field. (e.g.: User task). Input any String to On Entry or Exit Action. Change the language to JavaScript. Actual result An unexpected system error occurs. Expected result No errors occur either in UI or server log.
    • Release Notes

    Description

      If the language in Entry Action is set to JavaScript, after changing node to Multiple Instance using Properties panel, an unexpected error occurs:
      "Uncaught exception: Error: Could not find source file: 'inmemory://model/134'."

      Server log:

      ERROR [org.kie.workbench.common.services.backend.logger.GenericErrorLoggerServiceImpl] (default task-15) Error from user: testadmin Error ID: -1655199525 Location: LibraryPerspective|$ProjectScreen[EDiagramEditorPropertiesScreen,],org.kie.workbench.common.screens.messageconsole.MessageConsole,AddAssetsScreen,BPMNDiagramEditor?path_uri=default://master@MySpace/Project/src/main/resources/com/myspace/project/C.bpmn&file_name=C.bpmn&has_version_support=true Exception: Uncaught exception: Error: Could not find source file: 'inmemory://model/134'.
      

      Note, the issue happens only with fresh installation of Business central.

      The steps to reproduce has been updated with the 7.11.0 release. Original steps to reproduce from previous versions are here:

      1. Create a new process.
      2. Create a task that has Multiple Instance property (e.g.: User task).
      3. Input any String to On Entry or Exit Action.
      4. Change the language to JavaScript.
      5. Set the Multiple Instance to True.

      Attachments

        Issue Links

          Activity

            People

              josephblt Wagner Lemos
              lterifaj Lubomír Terifaj
              Lubomír Terifaj Lubomír Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: