Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-3338

workflow.json configuration without a mail username and password throws a NPE

    Details

    • Story Points:
      1
    • Sprint:
      OpenIDM Sprint 50

      Description

      If you configure the workflow engine to use a remote mail server but don't specify a username and password a NPE will be thrown. The code assumes if you specify a mail configuration that you will specify all of the configuration options. This is a problem when using a mail server that doesn't require authentication.

      java.lang.NullPointerException
      at org.forgerock.openidm.workflow.activiti.impl.ActivitiServiceImpl.readConfiguration(ActivitiServiceImpl.java:414)
      at org.forgerock.openidm.workflow.activiti.impl.ActivitiServiceImpl.activate(ActivitiServiceImpl.java:223)

      Attached is a patch that makes the parameters in the mail section optional.

        Attachments

          Activity

            People

            • Assignee:
              alin Alin Brici
              Reporter:
              hfranklin@trivir.com Huston Franklin [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: