Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-14915

Camunda start form cannot be displayed in Tasklist

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • 7.18.0
    • 7.18.0-alpha6
    • webapp
    • None

      Environment (Required on creation):

      Tested with process and form packaged in a process application. Edit: The issue is related to start forms.

      Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket):

      Steps to reproduce (Required on creation):

      1. Build the Java process application from the get started guide with 7.18.0-alpha6 version: https://github.com/camunda/camunda-get-started-java
      2. Deploy on Tomcat
      3. Start the Loan Approval process

      Observed Behavior (Required on creation):

      The start form cannot be loaded and it's displayed:

      Form failure: can't convert null to object

      Expected behavior (Required on creation):

      The form is displayed as described in https://docs.camunda.org/get-started/java-process-app/forms/#re-build-and-deploy

      Root Cause (Required on prioritization):

      The root cause is that the variables variable is not initialized in case of start event forms and it causes a frontend exception in https://github.com/camunda/camunda-bpm-platform/blob/master/webapps/ui/tasklist/client/scripts/form/directives/cam-tasklist-form-camunda.js#L101

      In case of start event forms there is no taskId so the loadVariables call is skipped and variables remains uninitialized.

      Solution Ideas (Optional):

      Either initialize variables to empty array or add null checks everywhere where it's used.

      Hints (optional):

        This is the controller panel for Smart Panels app

          1. approve-loan.form
            0.5 kB
          2. image (4).png
            image (4).png
            11 kB
          3. loan-approval.bpmn
            3 kB
          4. request-loan.form
            0.5 kB

              michael.schoettes Michael Schoettes
              yana.vasileva Yana Vasileva
              Daniel Kelemen Daniel Kelemen
              Tassilo Weidner Tassilo Weidner
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: