Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-9099

[SW][COMMUNITY_TRACKER] Empty fields Marshaled as "field":null

XMLWordPrintable

    • 2023 Week 18-20 (from May 1)
    • Low

      This issue tracks https://github.com/serverlessworkflow/sdk-go/issues/171
      This was caught while using the Kogito engine to parse this workflow using the operator:

      https://github.com/kiegroup/kogito-serverless-operator/blob/main/config/samples/sw.kogito_v1alpha08_kogitoserverlessworkflow.yaml

      The issue from Kogito Serverless Engine:

      [ERROR] Caused by: java.lang.NullPointerException: Cannot invoke "java.util.List.isEmpty()" because the return value of "io.serverlessworkflow.api.states.SwitchState.getEventConditions()" is null

      This issue is caused by the fields with the "null" value.

              rhn-support-fspolti Filippe Spolti
              rhn-support-fspolti Filippe Spolti
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: