IBM Support

PH06673: WORKITEM.GETRESULT MAY RETURN NULL AND THIS CAUSE NPE IN CUSTOMER'S ASYNCBEAN APPLICATION.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Even though the customer uses waitForAll API of CommonJ so that
    it wait for the completion of all works, there is a chance that
    WorkItem.getResult returns null even after waitForAll returns
    true. This behavior may cause the unexpected NPE in the
    customer's asyncbean application.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of CommonJ WorkManager in IBM     *
    *                  WebSphere Application Server                *
    ****************************************************************
    * PROBLEM DESCRIPTION: Timing window after waitForAll where    *
    *                      getResult returns null                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    There is a small timing window after the WorkManager
    waitForAll method returns indicating all work is complete
    where querying a WorkItem's getResult method can return NULL,
    indicating that the work is not yet complete.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH06673

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-12-20

  • Closed date

    2019-01-31

  • Last modified date

    2019-01-31

  • 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

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