IBM Support

PI45319: NULLPOINTEREXCEPTION APPEARS DURING PARTNER LOG RECOVERY PROCESSING

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • A NullPointerException occurs during transaction recovery
    processing when recovering the CompensationService.
    
    The NullPointerException results in FFDC and message WTRN0005W
    in the SystemOut logs indicating that a problem may have
    occurred with the transaction recovery.
    
    An example of the WTRN0005W message including a typical
    callstack are given below:
    
    [7/5/15 18:29:36:531 EDT] 00000031 XARecoveryDat E   BBOO0220E:
    WTRN0005W: The XAResource for a transaction participant could
    not be recreated and transaction recovery may not be able to
    complete properly. The resource was
    com.ibm.ws.cscope.CScopeXAResourceInfo@1c501c50. The exception
    stack trace follows: java.lang.NullPointerException
    at
    com.ibm.ws.cscope.CScopeXAResourceFactory.getXAResource(CScopeXA
    ResourceFactory.java:91)
    at
    com.ibm.ws.Transaction.JTA.XARecoveryData.getXARminst(XARecovery
    Data.java:444)
    at
    com.ibm.ws.Transaction.JTA.XARecoveryData.recover(XARecoveryData
    .java:573)
    at
    com.ibm.ws390.tx.XARecoveryAgentImpl.rollbackUnknownTransactions
    (XARecoveryAgentImpl.java:732)
    at
    com.ibm.ws390.tx.XARecoveryAgentImpl$XARecoveryAgentThread.run(X
    ARecoveryAgentImpl.java:359)
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  WebSphere Application Server users of       *
    *                  the compensation service.                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: A NullPointerException occurs during    *
    *                      transaction recovery processing when    *
    *                      recovering a compensation service       *
    *                      resource.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The problem occurs when the transaction service attempts to
    recover a compensation service resource when the compensation
    service is not yet initialized.
    The transaction service treats the failure as transient so
    recovery of the the compensation service resource will be
    retried and once the compensation service completes
    initialization the recovery process succeeds.  The condition
    indicated by the NullPointerException is therefore transient
    and benign, however the presence of the WTRN0005W message and
    the FFDC output is confusing and gives the impression that
    there is an issue with recovery.
    

Problem conclusion

  • The compensation service resource was modified so that it
    reported the transient condition correctly: The WTRN0005W
    message is no longer generated and the FFDC indicates a
    transient condition rather than a NullPointerException.
    
    APAR PI45319 is currently targeted for inclusion in Fix Packs
    7.0.0.39, 8.0.0.12 and 8.5.5.8 of WebSphere Application
    Server.
    
    Please refer to the Recommended Updates page for delivery
    information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    
    In addition, please refer to URL:
    http://www.ibm.com/support/docview.wss?rs=404&uid=swg27006970
    for Fix Pack PTF information.
    

Temporary fix

  • The condition is transient and benign and can be ignored.
    

Comments

APAR Information

  • APAR number

    PI45319

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-07-20

  • Closed date

    2015-10-02

  • Last modified date

    2015-11-04

  • 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

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R700 PSY UI32147

       UP15/10/31 P F510

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.



Document information

More support for: WebSphere Application Server for z/OS
General

Software version: 7.0

Reference #: PI45319

Modified date: 04 November 2015