IBM Support

JR44259: CMVC 223787 - RESOLVE OBJECTNOTFOUNDEXCEPTION WHEN CLICKING A PRODUCT LINK IN MARKETING EMAIL

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a user clicks on a product link within a marketing email, a
    blank page is served.
    
    An exception similar to the following may be seen in the logs:
    
    javax.ejb.ObjectNotFoundException: catalog entry id is null
     at
    com.ibm.commerce.catalog.objects.EJSJDBCPersisterCMPCatalogGroup
    CatalogEntryRelationBean_b4897c1f.findByCatalogEntryIdAndStore(E
    JSJDBCPersisterCMPCatalogGroupCatalogEntryRelationBean_b4897c1f.
    java:383)
     at
    com.ibm.commerce.catalog.objects.EJSCMPCatalogGroupCatalogEntryR
    elationHomeBean_b4897c1f.findByCatalogEntryIdAndStore(EJSCMPCata
    logGroupCatalogEntryRelationHomeBean_b4897c1f.java:31)
     at
    com.ibm.commerce.catalog.objects.EJSRemoteCMPCatalogGroupCatalog
    EntryRelationHome_b4897c1f.findByCatalogEntryIdAndStore(EJSRemot
    eCMPCatalogGroupCatalogEntryRelationHome_b4897c1f.java:231)
     at
    com.ibm.commerce.catalog.objects._CatalogGroupCatalogEntryRelati
    onHome_Stub.findByCatalogEntryIdAndStore(_CatalogGroupCatalogEnt
    ryRelationHome_Stub.java:339)
     at
    com.ibm.commerce.catalog.objects.CatalogGroupCatalogEntryRelatio
    nAccessBean.findByCatalogEntryIdAndStore(CatalogGroupCatalogEntr
    yRelationAccessBean.java:463)
     at
    com.ibm.commerce.catalog.beansrc.CatalogGroupCatalogEntryRelatio
    nCache$MyFindByCatalogEntryIdAndStore.generateCacheableData(Cata
    logGroupCatalogEntryRelationCache.java:243)
     at
    com.ibm.commerce.datatype.AbstractFinderResult.invokeFinder(Abst
    ractFinderResult.java:528)
     at
    com.ibm.commerce.datatype.CacheableFinderResult.invokeFinder(Cac
    heableFinderResult.java:195)
     at
    com.ibm.commerce.datatype.AbstractEntityAccessBeanFinderResult.i
    nvokeFinder(AbstractEntityAccessBeanFinderResult.java:257)
     at
    com.ibm.commerce.dynacache.commands.AbstractFinderResultCache.pe
    rformExecute(AbstractFinderResultCache.java:344)
     at
    com.ibm.websphere.command.LocalTarget.executeCommand(LocalTarget
    .java:58)
     at
    com.ibm.websphere.command.TargetableCommandImpl.execute(Targetab
    leCommandImpl.java:139)
     at
    com.ibm.websphere.command.CacheableCommandImpl.execute(Cacheable
    CommandImpl.java:138)
     at
    com.ibm.commerce.dynacache.commands.AbstractFinderResultCache.my
    InvokeFinder(AbstractFinderResultCache.java:1284)
     at
    com.ibm.commerce.dynacache.commands.AbstractFinderResultCache.in
    vokeFinder(AbstractFinderResultCache.java:1079)
     at
    com.ibm.commerce.catalog.beansrc.CatalogGroupCatalogEntryRelatio
    nCache.invokeFinder(CatalogGroupCatalogEntryRelationCache.java:7
    70)
     at
    com.ibm.commerce.catalog.beansrc.CatalogGroupCatalogEntryRelatio
    nCache.myFindByCatalogEntryIdAndStoreCollection(CatalogGroupCata
    logEntryRelationCache.java:349)
     at
    com.ibm.commerce.catalog.beansrc.CatalogGroupCatalogEntryRelatio
    nCache.findByCatalogEntryIdAndStore(CatalogGroupCatalogEntryRela
    tionCache.java:308)
     at
    com.ibm.commerce.catalog.commands.ProductDisplayCmdImpl.resolveP
    arentCategory(ProductDisplayCmdImpl.java:456)
     at
    com.ibm.commerce.catalog.commands.ProductDisplayCmdImpl.resolveP
    ageLayout(ProductDisplayCmdImpl.java:383)
     at
    com.ibm.commerce.catalog.commands.ProductDisplayCmdImpl.performE
    xecute(ProductDisplayCmdImpl.java:306)
     at
    com.ibm.commerce.command.ECCommandTarget.executeCommand(ECComman
    dTarget.java:157)
        ..
        ..
        ..
    

Local fix

Problem summary

  • USERS AFFECTED:
    All users on WebSphere Commerce version 7, Fix Pack level 6 and
    Feature Pack 5
    
    PROBLEM ABSTRACT:
    A blank storefront web page is served when a user clicks on a
    product link in marketing email
    
    BUSINESS IMPACT:
    Impacts effectiveness of email marketing
    
    RECOMMENDATION
    

Problem conclusion

  • The ProductDisplayCmdImpl class was fixed to properly set the
    productId.
    
    
    -------------------------------------------------------------
    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

    JR44259

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

  • Closed date

    2012-11-30

  • Last modified date

    2012-11-30

  • 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:
30 November 2012