IBM Support

JR58616: Customization fails due to NullPointerException error

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A NullPointerException error is thrown when the following method
    is running: RestHandlerHelper.issueRESTServiceRequest.
    
    Detailed NPE stack:
    java.lang.NullPointerException at
    com.ibm.commerce.foundation.internal.client.util.
    RestHandlerHelper.propagateCookiesFromRemoteResponse(RestHandler
    Helper. java:421)
    at com.ibm.commerce.foundation.internal.client.util.
    RestHandlerHelper.internalIssueRESTServiceRequest(RestHandlerHel
    per. java:400)
    at com.ibm.commerce.foundation.internal.client.util.
    RestHandlerHelper.issueRESTServiceRequest(RestHandlerHelper.java
    :199)
    at com.ibm.commerce.foundation.internal.client.util.
    RestHandlerHelper.issueRESTServiceRequest(RestHandlerHelper.java
    :145)
    at com.tmw.commerce.inventory.commands.
    ACheckSolrInventoryCmdImpl.performExecute(ACheckSolrInventoryCmd
    Impl. java:109)
    
    On WebSphere Commerce V7, FEP8, FP9 it seems that the following
    code does not have an NPE check:
    propagateCookiesFromRemoteResponse(res, messageContext);
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce Version 7 Feature Pack 8, Fix Pack 9.
    
    PROBLEM ABSTRACT:
    Customization fails due to NullPointerException error
    
    BUSINESS IMPACT:
    Customization fails.
    
    RECOMMENDATION:
    

Problem conclusion

  • Added NullPointException check.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR58616

  • 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-10-23

  • Closed date

    2017-12-14

  • Last modified date

    2017-12-14

  • 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:
12 December 2021