IBM Support

JR62154: YOU RECEIVE A NULLPOINTEREXCEPTION WHEN CALLING THE "SEND EVENT" REST API IN IBM WORKFLOW SERVER

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When running the Send Event REST API in an IBM Workflow Server,
    you might see the following NullPointerException error when
    connected to an external Content Platform Engine server:
    
    2/5/20 8:22:39:191 BRT] 00001587
    EmbeddedECMIn I CWTDS2074I: The default design object store was
    not found. Attempting to create the design object store.
    
    [2/5/20 8:22:39:192 BRT] 00001587 RestHelper W
    java.lang.NullPointerException
    com.lombardisoftware.core.TeamWorksRuntimeException:
    java.lang.NullPointerException
    at
    com.lombardisoftware.core.TeamWorksRuntimeException.asTeamWorksR
    untimeException(TeamWorksRuntimeException.java:88)
    at
    com.ibm.bpm.integration.runtime.IntegrationUtils.getECMConnectio
    nFromEventSourceId(IntegrationUtils.java:163)
    at
    com.ibm.bpm.integration.runtime.ECMIntegrationInboundServices.ge
    tParentTypeIds(ECMIntegrationInboundServices.java:454)
    at
    com.ibm.bpm.integration.runtime.ECMIntegrationInboundServices.se
    ndEvent(ECMIntegrationInboundServices.java:214)
    at
    com.ibm.bpm.rest.impl.event.ECMEventResource.sendEvent(ECMEventR
    esource.java:126)
    at sun.reflect.GeneratedMethodAccessor811.invoke(UnknownSource)
    ...
    
    Caused by: java.lang.NullPointerException
    at
    com.ibm.bpm.embeddedecm.common.CommonUtils.getRepositoryId(Commo
    nUtils.java:221)
    at
    com.ibm.bpm.embeddedecm.internal.EmbeddedECMInternalUtils.getDes
    ignRepositoryId(EmbeddedECMInternalUtils.java:2820)
    at
    com.ibm.bpm.embeddedecm.internal.EmbeddedECMInternalUtils.getDes
    ignEventSourceId(EmbeddedECMInternalUtils.java:2491)
    at
    com.ibm.bpm.embeddedecm.EmbeddedECMUtils.getDesignEventSourceId(
    EmbeddedECMUtils.java:250)
    at
    com.ibm.bpm.integration.runtime.IntegrationUtils.getECMConnectio
    nFromEventSourceId(IntegrationUtils.java:147)
    ... 97 more
    
    PRODUCTS AFFECTED
    IBM Business Automation Workflow
    

Local fix

Problem summary

  • This issue occurs when case management object stores aren't
    created.
    

Problem conclusion

  • A fix is available or will be available that ensures calling the
     Send Event REST API in a Workflow Server when case management
    object stores aren't created doesn't result in a
    NullPointerException.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR62154

  • Reported component name

    BUS AUTO WORKFL

  • Reported component ID

    5737H4100

  • Reported release

    I00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-03-20

  • Closed date

    2020-04-01

  • Last modified date

    2020-04-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    BUS AUTO WORKFL

  • Fixed component ID

    5737H4100

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"18.0.0.0"}]

Document Information

Modified date:
26 November 2020