IBM Support

JR63868: AN EXCEPTION MAY OCCUR WHEN A JAVA EXTERNAL SERVICE IS INVOKED WITHOUT OUTPUT DATA MAPPING

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 invoking a Java External Service, and the operation invoked
    has output, and no output data mapping is provided, the
    invocation fails. The server log file contains a stack trace
    that has these lines:
    
    Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size:
    0
    at java.util.ArrayList.rangeCheck(ArrayList.java:670)
    at java.util.ArrayList.get(ArrayList.java:446)
    at
    com.lombardisoftware.component.javaconnector.worker.JavaConnecto
    rWorker.bindOutput(JavaConnectorWorker.java:215)
    at
    com.lombardisoftware.component.javaconnector.worker.JavaConnecto
    rWorker.doJob(JavaConnectorWorker.java:129)
    at
    com.lombardisoftware.component.common.workflow.ExecutionJob.doJo
    b(ExecutionJob.java:522)
    
    PRODUCTS AFFECTED
    IBM Business Automation Workflow
    IBM Business Process Manager
    IBM BPM Standard
    IBM BPM Express
    

Local fix

  • In the service flow, create a private variable, and establish a
    data mapping that maps the output of the invocation to this
    variable.
    

Problem summary

  •   The implementation tries to access the output data mapping,
      but this data mapping does not exist.
    
      PRODUCTS AFFECTED
      IBM Business Automation Workflow
      IBM Business Process Manager
      IBM BPM Standard
      IBM BPM Express
    

Problem conclusion

  • A fix is available or will be available that ensures that the
    Java External Service is working as expected even if no output
    data mapping is provided.
    

Temporary fix

  • Not applicable.
    

Comments

APAR Information

  • APAR number

    JR63868

  • Reported component name

    BUS AUTO WORKFL

  • Reported component ID

    5737H4100

  • Reported release

    K00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-06-26

  • Closed date

    2021-08-27

  • Last modified date

    2021-08-27

  • 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":"20.0.0.1"}]

Document Information

Modified date:
28 August 2021