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

IllegalArgumentException when task is skipped in afterTaskAddedEvent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.9.1.GA
    • 7.8.1.GA
    • jBPM Core
    • WildFly 19, EAP 7.3.2
      OpenJDK 11

    • False
    • False
    • Release Notes
    • CR1
    • ?
    • Undefined
    • Hide

      Using method afterTaskActivatedEvent of TaskLifeCycleEventListener instead of afterTaskAddedEvent seems to help.

      Show
      Using method afterTaskActivatedEvent of TaskLifeCycleEventListener instead of afterTaskAddedEvent seems to help.
    • Hide

      Download and unpack definition-project.zip
      Install the definition project kjar using "mvn clean install"
      Deploy Kie server on WildFly or EAP
      Create a new container pointing to the installed kjar
      Start a process with id "definition-project.usertask"
      Check server log
      =>
      Error is logged in the server log

      Show
      Download and unpack definition-project.zip Install the definition project kjar using "mvn clean install" Deploy Kie server on WildFly or EAP Create a new container pointing to the installed kjar Start a process with id "definition-project.usertask" Check server log => Error is logged in the server log
    • ---
    • ---
    • 2020 Week 40-42 (from Sep 28), 2020 Week 43-45 (from Okt 19), 2020 Week 46-48 (from Nov 9), 2020 Week 49-51 (from Nov 30)

      When task is skipped in afterTaskAddedEvent method of TaskLifeCycleEventListener then IllegalArgumentException is thrown, see attachment.
      The functionality was working in 7.7.1, in 7.8.1 it is broken.

      The issue was reproduced by following steps to reproduce in https://issues.redhat.com/browse/RHPAM-3100

        1. definition-project.new.zip
          285 kB
        2. definition-project.zip
          43 kB
        3. stacktrace.txt
          49 kB

            elguardian@gmail.com Enrique González Martínez (Inactive)
            ksuta Karel Suta
            Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
            Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: