IBM Support

JR57223: NullPointerException is thrown when trying to validateTradingPaymentMethods

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • NullPointerException is thrown when trying to
    validateTradingPaymentMethods if some order items' contract_Id
    is null:
    
    [11/16/16 15:00:17:703 GST] 00000027 CommerceSrvr  E
    com.ibm.commerce.command.ECCommandTarget executeCommand
    CMN0420E: The following command exception has occurred during
    processing: "java.lang.NullPointerException".
    java.lang.NullPointerException
        at
    com.ibm.commerce.contract.util.ContractCmdUtil.getTradingAgreeme
    nt(ContractCmdUtil.java:6125)
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Version 7.
    
    PROBLEM ABSTRACT:
    NullPointerException is thrown when trying to
    validateTradingPaymentMethods
    
    BUSINESS IMPACT:
    Shopper cannot check out when some order items have a null
    contract_id due to customization.
    
    RECOMMENDATION:
    

Problem conclusion

  • Tolerate a null contract_Id to avoid NullPointerException.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR57223

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-01-04

  • Closed date

    2017-09-04

  • Last modified date

    2017-09-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

    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"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
11 December 2021