IBM Support

JR53952: NullPointerException error occurs when shoppers attempt to view bundles that contain marked for delete components

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If you use the Data Load utility or the Management Center to
    mark a catalog entry (that is part of a bundle) for delete, an
    error occurs when a shopper tries to view a bundle that contains
     the marked catalog entry.
    
    An error similar to the following message is thrown on the
    WebSphere Commerce search server:
    Caused by: java.lang.NullPointerException
     at java.util.HashMap.<init>(HashMap.java:444)
     at
    com.ibm.commerce.foundation.server.services.rest.search.postproc
    essor.solr.SolrRESTSearchCatalogEntryViewComponentsQueryPostproc
    essor.invoke(SolrRESTSearchCatalogEntryViewComponentsQueryPostpr
    ocessor.java:263)
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce users on Feature Pack 7 or later and working
    with REST services.
    
    PROBLEM ABSTRACT:
    NullPointerException error occurs when shoppers attempt to view
    bundles that contain marked for delete components
    
    BUSINESS IMPACT:
    Shoppers cannot access bundles on the storefront.
    
    RECOMMENDATION:
    

Problem conclusion

  • Added a null check to avoid processing components in a bundle
    that are marked for delete.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR53952

  • Reported component name

    WC DEV PRO ED W

  • Reported component ID

    5724I4100

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-07-28

  • Closed date

    2015-08-05

  • Last modified date

    2015-08-05

  • 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 DEV PRO ED W

  • Fixed component ID

    5724I4100

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSCRVD","label":"WebSphere Commerce Developer Professional"},"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