IBM Support

JR48398: TWTASK.PROCESSINSTANCESTEP RESULTS IN NPE WITH PARALLEL EVENTS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When running a BPD , if multiple steps are active at a given
    moment, executing TWTask.processInstanceStep API may result in a
    NullPointerException. This issue only occurs when parallel
    events are active at the same time.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM Business Process Manager Advanced,      *
    *                  Standard, and Express editions.             *
    ****************************************************************
    * PROBLEM DESCRIPTION: When running the                        *
    *                      TWTask.processInstanceStep() API, a     *
    *                      NullPointerException might occur.       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The TWTask.processInstanceStep() API results in a
    NullPointerException when the process instance has multiple
    active tasks that are waiting for user input. The
    TWTask.processInstanceStep() API cannot find the correct step
    ID.
    The following exception stack may be seen:
    Caused by: java.lang.NullPointerException
    at
    com.lombardisoftware.core.script.js.TWTaskScriptable.findBpdExec
    utionTreeNode(TWTaskScriptable.java:526)
    at
    com.lombardisoftware.core.script.js.TWTaskScriptable.findBpdExec
    utionTreeNode(TWTaskScriptable.java:531)
    at
    com.lombardisoftware.core.script.js.TWTaskScriptable.findBpdExec
    utionTreeNode(TWTaskScriptable.java:522)
    at
    com.lombardisoftware.core.script.js.TWTaskScriptable.jsGet_proce
    ssInstanceStep(TWTaskScriptable.java:500)
    

Problem conclusion

  • A fix is available so that the implementation of the
    WTask.processInstanceStep() API iterates through the process
    diagram to locate the corresponding step in the flow .
    
    On Fix Central (http://www.ibm.com/support/fixcentral),
    select the
    product group, product, installed version, and platform, click
    Continue and then select APAR or SPR, enter JR48398, and click
    Continue. When downloading 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

    JR48398

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-11-10

  • Closed date

    2013-11-29

  • Last modified date

    2013-12-11

  • 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 ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
11 December 2013