IBM Support

JR42902: CMVC 222689 - PREVENT JAVA.LANG.NULLPOINTEREXCEPTION IN PAYMENTEVENTLISTENERIMPL.JAVA

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In PaymentEventListenerImpl.java, the method
    processFinalizeRefundBG is throwing
    java.lang.NullPointerException when there is no valid RMA.
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce 7.0 users who use refunds
    
    PROBLEM ABSTRACT:
    java.lang.NullPointerException is thrown in
    PaymentEventListenerImpl.java
    
    BUSINESS IMPACT:
    Refund fails with java.lang.NullPointerException
    
    RECOMMENDATION:
    

Problem conclusion

  • Add the following check in the finally block: If the refund data
    object is null(not initialized due to exception), then do not do
    any action for this object to avoid NullPointerException. There
    is no risk for this fix.
    
    -------------------------------------------------------------
    The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
    http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR42902

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-05-22

  • Closed date

    2012-06-28

  • Last modified date

    2012-06-28

  • 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

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
28 June 2012