IBM Support

JR45802: CMVC 227212 - NullPointerException INTRODUCED AFTER APAR JR44037 (D224273) IS APPLIED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Description: Error on store front while accessing the categories
    on mobile store
    
    
    Procedures/Steps to reproduce problem:
    1. Access the mobile store using the link mobile store link
    2. Go to Departments->Apparel
    
    
    Observed Results:
    There is an error displayed on the UI indicating that store has
    encountered a problem. It doesn't affect the checkout flow and
    the order can be completed.
    
    Expected Results:
    The flow should work without any errors
    
    
    
    
    Error log snippet:
    
    [1/25/13 17:03:33:133 EST] 00000020 bod           E
    ["storeId=10101"] <Null Message>
                                     java.lang.NullPointerException
            at java.lang.String.<init>(String.java:330)
            at
    com.ibm.commerce.catalog.facade.server.services.dataaccess.bom.m
    ediator.solr.SolrReadSuggestionViewPartMediator.buildNounPart(So
    lrReadSuggestionViewPartMediator.java:117)
            at
    com.ibm.commerce.foundation.server.services.dataaccess.bom.media
    tor.AbstractReadBusinessObjectMediatorImpl.buildNounParts(Abstra
    ctReadBusinessObjectMediatorImpl.java:99)
            at
    com.ibm.commerce.foundation.server.services.dataaccess.bom.media
    tor.AbstractReadBusinessObjectMediatorImpl.getNouns(AbstractRead
    BusinessObjectMediatorImpl.java:167)
            at
    com.ibm.commerce.foundation.server.command.bod.bom.AbstractFetch
    NounUsingBusinessObjectMediatorCmdImpl.performExecute(AbstractFe
    tchNounUsingBusinessObjectMediatorCmdImpl.java:190)
            at
    com.ibm.commerce.catalog.facade.server.commands.FetchCatalogNavi
    gationViewCmdImpl.performExecute(FetchCatalogNavigationViewCmdIm
    pl.java:98)
            at
    com.ibm.commerce.foundation.internal.server.command.impl.Command
    Target.executeCommand(CommandTarget.java:66)
            at
    com.ibm.ws.cache.command.CommandCache.executeCommand(CommandCach
    e.java:332)
            at
    com.ibm.websphere.command.CacheableCommandImpl.execute(Cacheable
    CommandImpl.java:166)
            ......
            ......
            ......
            at
    com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
            at
    com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
            at
    com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHand
    ler.java:816)
            at
    com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
            at
    com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1646)
    
    [1/25/13 17:03:33:137 EST] 00000020 LocalExceptio E
    ["storeId=10101"] CNTR0020E: EJB threw an unexpected
    (non-declared) exception during invocation of method
    "getCatalogNavigationView" on bean
    "BeanId(WC_demo#Catalog-Server.jar#Catalog, null)". Exception
    data: java.lang.NullPointerException
            at java.lang.String.<init>(String.java:330)
            at
    com.ibm.commerce.catalog.facade.server.services.dataaccess.bom.m
    ediator.solr.SolrReadSuggestionViewPartMediator.buildNounPart(So
    lrReadSuggestionViewPartMediator.java:117)
            at
    com.ibm.commerce.foundation.server.services.dataaccess.bom.media
    tor.AbstractReadBusinessObjectMediatorImpl.buildNounParts(Abstra
    ctReadBusinessObjectMediatorImpl.java:99)
            at
    com.ibm.commerce.foundation.server.services.dataaccess.bom.media
    tor.AbstractReadBusinessObjectMediatorImpl.getNouns(AbstractRead
    BusinessObjectMediatorImpl.java:167)
            at
    com.ibm.commerce.foundation.server.command.bod.bom.AbstractFetch
    NounUsingBusinessObjectMediatorCmdImpl.performExecute(AbstractFe
    tchNounUsingBusinessObjectMediatorCmdImpl.java:190)
            at
    com.ibm.commerce.catalog.facade.server.commands.FetchCatalogNavi
    gationViewCmdImpl.performExecute(FetchCatalogNavigationViewCmdIm
    pl.java:98)
            at
    com.ibm.commerce.foundation.internal.server.command.impl.Command
    Target.executeCommand(CommandTarget.java:66)
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce users on v7.0 FEP5
    Commerce on Cloud v2.5 users.
    
    PROBLEM ABSTRACT:
    NPE on storefront while accessing the categories on mobile store
    
    BUSINESS IMPACT:
    Exception stacktrace in the logs. Does not affect checkout flow.
    
    RECOMMENDATION:
    

Problem conclusion

  • A null condition check has been added to
    SolrReadSuggestionViewPartMediator.
    
    -------------------------------------------------------------
    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

    JR45802

  • 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

    2013-02-21

  • Closed date

    2013-04-26

  • Last modified date

    2013-04-29

  • 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:
29 April 2013