IBM Support

JR49919: ECM INTEGRATION SERVICE FAILS IF CONTENT LENGTH IS NULL

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the ECM integration service is invoked with the
    createDocument ECM operation and the contentLength property in
    the ECMContentStream object is omitted, the service invocation
    fails with the following NullPointerException:
    
    
    java.lang.NullPointerException
     at com.ibm.bpm.integration.runtime.databinding.TWObjectToECM.
      mapDocumentContentStream(TWObjectToECM.java:55)
     at com.ibm.bpm.integration.runtime.ECMIntegrationServices.
      createDocument(ECMIntegrationServices.java:556)
     at com.lombardisoftware.component.ecmconnector.worker.
      ECMConnectorWorker.createDocument(ECMConnectorWorker.
      java:323)
     at com.lombardisoftware.component.ecmconnector.worker.
      ECMConnectorWorker.doJob(ECMConnectorWorker.java:111)
     at com.lombardisoftware.component.common.workflow.ExecutionJob.
      doJob(ExecutionJob.java:409)
    

Local fix

  • Yes. Set the contentLength property in the ECMContentStream
    object to the actual length of the document before invoking the
    integration service.
    

Problem summary

  • You receive a NullPointerException when you invoke the ECM
    integration service with the createDocument ECM operation if the
    contentLength property of the Content stream parameter (type
    ECMContentStream) is not specified.
    
    PROBLEM DETAILED DESCRIPTION:
    The problem occurs when the IBM BPM runtime object (TWObject) is
    converted to an ECM object because the implementation code does
    not expect that the contentLength property to be null.
    

Problem conclusion

  • A fix for IBM BPM V8.5.0.1 is available that allows the
    contentLength property to be omitted.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR49919:
    
    1.  Select BM Business Process Manager with your edition from
     the product selector, the installed version to the fix pack
     level, and your platform, and then click Continue.
    
    2.  Select APAR or SPR, enter JR49919, and click Continue.
    
    When you download fix packages, ensure that you also download
    the readme file for each fix. Review each readme file for
    additional installation instructions and information about the
    fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR49919

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-04-09

  • Closed date

    2014-06-05

  • Last modified date

    2014-06-05

  • 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

    BPM STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 October 2021