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

Stunner & Forms - not possible to execute process with ArrayList process variable

XMLWordPrintable

    • Hide

      1. Import BPMN2 file exampleProcess.bpmn2 (for now only in old Designer), save and deploy

      • create process
      • click “import from BPMN2”
      • select attached file

      2. Go to Process Definitions, start process

      • You will see
      • Click Submit, you will see two errors
      • process not started. In server log I see an error: error.log

      3. Undeploy KIE-Server, open Business Process again

      • Try to generate all forms
      • in server log you can see: ```17:31:20,220 ERROR [org.jbpm.designer.web.server.TaskFormsServlet] (default task-124) java.lang.NullPointerException```

      4. Close business process, add new form using Add Asset and generate forms for the process

      • Empty form will be created
      • Build and deploy project again
      • Start process
      • Click Submit button
      • Process will be successfully started and executed

      Expected Result:
      1. If use try to generate form he/she will get empty form, or form with some basic type, like int, String and so on and missed variables like ArrayList.
      2. If user didn't generated forms he/she will be able to use process as he/she generated default forms. Another option - show readable notification "Please, generate form first".

      Show
      1. Import BPMN2 file exampleProcess.bpmn2 (for now only in old Designer), save and deploy create process click “import from BPMN2” select attached file 2. Go to Process Definitions, start process You will see Click Submit, you will see two errors process not started. In server log I see an error: error.log 3. Undeploy KIE-Server, open Business Process again Try to generate all forms in server log you can see: ```17:31:20,220 ERROR [org.jbpm.designer.web.server.TaskFormsServlet] (default task-124) java.lang.NullPointerException``` 4. Close business process, add new form using Add Asset and generate forms for the process Empty form will be created Build and deploy project again Start process Click Submit button Process will be successfully started and executed Expected Result: 1. If use try to generate form he/she will get empty form, or form with some basic type, like int, String and so on and missed variables like ArrayList. 2. If user didn't generated forms he/she will be able to use process as he/she generated default forms. Another option - show readable notification "Please, generate form first".

      If you have a process with variables with type ArrayList, it is not possible to execute process if you didn't generate empty forms. See Step To Reproduce.

        1. error.log
          21 kB
        2. exampleProcess.bpmn2
          22 kB
        3. image-2018-03-07-17-38-38-778.png
          image-2018-03-07-17-38-38-778.png
          27 kB
        4. image-2018-03-07-17-39-09-988.png
          image-2018-03-07-17-39-09-988.png
          17 kB
        5. image-2018-03-07-17-39-36-866.png
          image-2018-03-07-17-39-36-866.png
          24 kB
        6. image-2018-03-07-17-41-04-312.png
          image-2018-03-07-17-41-04-312.png
          7 kB
        7. image-2018-03-07-17-42-50-372.png
          image-2018-03-07-17-42-50-372.png
          9 kB

              rh-ee-pefernan Pere Fernandez Perez
              kgaevski@redhat.com Kirill Gaevskii
              Juraj Soltes Juraj Soltes (Inactive)
              Juraj Soltes Juraj Soltes (Inactive)
              Juraj Soltes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: