IBM Support

PI11376: WEBSPHERE BATCH CONDITIONAL STEP EXECUTION FAILS WITH EXCEPTIONS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Customer cannot use the logic of step-scheduling for Step2
    based on return code from Step1 with their design. Step1 is run
    in single instance. Step2 will be run with multiple instances.
    
    
    
    <step-scheduling>
    
                <returncode-expression operator="eq" step="Step1"
    value="0"></returncode-expression>
    
    </step-scheduling>
    
    
    [1/29/14 16:36:33:212 GMT] 000000df impl
    com.ibm.ws.gridcontainer.services.impl.JobStatusManagerImplgetSt
    epStatus RETURN stepstatus: null
    [1/29/14 16:36:33:212 GMT] 000000df batch         E
    com.ibm.ws.batch.Condition _getStepReturnCode CWLRB5813E:
    [01/29/1416:36:33:212 GMT] WebSphere Batch Container was unable
    to lookup the return code for job ExtractLink:00080:00082 and
    step Step1 :
    java.lang.NullPointerException
    
                                     java.lang.NullPointerException
    
    atcom.ibm.ws.batch.Condition._getStepReturnCode(Condition.java:
    160 )
    atcom.ibm.ws.batch.Condition.EvaluateCondition(Condition.java:1
    17)
    atcom.ibm.ws.gridcontainer.batch.impl.JobManagerImpl._shouldSte
    pBe Called(JobManagerImpl.java:616)
    atcom.ibm.ws.gridcontainer.batch.impl.JobManagerImpl._sequentia
    lSt epScheduling(JobManagerImpl.java:737
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.5                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: Using the WebSphere Java batch          *
    *                      returncode-expression operator in       *
    *                      parallel step results in a              *
    *                      java.lang.NullPointerException          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The code that handles the returncode-expression operator for a
    batch job is improperly running for the top level step in a
    multiple instance step.
    

Problem conclusion

  • A code update has been made to properly handle the case where
    the returncode-expression operator is being used in a multiple
    instance step.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.3.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI11376

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-02-10

  • Closed date

    2014-05-19

  • Last modified date

    2014-05-19

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022