IBM Support

JR54471: NULLPOINTEREXCEPTION DURING DELTA INDEXING

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • While running a UpdateSearchIndex job, the delta indexing is
    failing for the following NullPointerException:
    
    [10/1/15 11:40:12:719 COT] 000000da               W
    com.ibm.commerce.threadmanagement.internal.BaseWorkListener
    workCompleted(WorkEvent arg0)
    com.ibm.commerce.foundation.internal.common.event.exception.Comm
    onEventSystemException: CWXFS3101E: A problem is encountered
    while performing a delta indexing. The abstract of the cause is
    "java.lang.NullPointerException".
    
    [10/1/15 11:40:12:719 COT] 000000d8 CommerceSrvr  E
    com.ibm.commerce.scheduler.SchedulerJob process CMN0409E: The
    following error occurred during processing: "
    Correlation Identity: 6fa8a6a3:15024230536:-7ff0
    Additional Data:
     null
    Current exception:
    Message:
       _ERR_GENERIC
    Stack trace:
    com.ibm.commerce.exception.ECApplicationException: The following
     error occurred during processing: "{0}".
     at
    com.ibm.commerce.scheduler.commands.UpdateSearchIndexCmdImpl.per
    formExecute(UpdateSearchIndexCmdImpl.java:271)
     at
    com.ibm.commerce.command.ECCommandTarget.executeCommand(ECComman
    dTarget.java:157)
     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.commerce.command.MeasuredCacheableCommandImpl.execute(Me
    asuredCacheableCommandImpl.java:63)
     at
    com.ibm.commerce.command.AbstractECTargetableCommand.execute(Abs
    tractECTargetableCommand.java:199)
     at
    com.ibm.commerce.component.BaseComponentImpl.executeCommand(Base
    ComponentImpl.java:202)
     at
    com.ibm.commerce.component.WebAdapterComponentImpl.executeComman
    d(WebAdapterComponentImpl.java:46)
     at
    com.ibm.commerce.component.objimpl.WebAdapterServiceBeanBase.exe
    cuteCommand(WebAdapterServiceBeanBase.java:58)
     at
    com.ibm.commerce.component.objects.EJSLocalStatelessWebAdapterSe
    rvice_ce749a4a.executeCommand(EJSLocalStatelessWebAdapterService
    _ce749a4a.java:31)
     at
    com.ibm.commerce.component.objects.WebAdapterServiceAccessBean.e
    xecuteCommand(WebAdapterServiceAccessBean.java:160)
     at
    com.ibm.commerce.scheduler.SchedulerJob.process(SchedulerJob.jav
    a:562)
     at
    com.ibm.commerce.scheduler.SchedulerSecurityPriviledgedAction.ru
    n(SchedulerSecurityPriviledgedAction.java:59)
     at
    com.ibm.commerce.scheduler.SchedulerJob.run(SchedulerJob.java:11
    15)
     at
    com.ibm.commerce.threadmanagement.internal.BaseWork.run(BaseWork
    .java:139)
     at
    com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:1151)
     at
    com.ibm.ws.asynchbeans.WorkWithExecutionContextImpl.go(WorkWithE
    xecutionContextImpl.java:199)
     at
    com.ibm.ws.asynchbeans.CJWorkItemImpl.run(CJWorkItemImpl.java:18
    8)
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1660)
    
    Previous exception:
    Message:
       An error has occurred.  If this problem persists, contact
    product support.
    Stack trace:
    com.ibm.commerce.foundation.internal.common.exception.Foundation
    ApplicationException: An error has occurred.  If this problem
    persists, contact product support.
     at
    com.ibm.commerce.scheduler.commands.UpdateSearchIndexCmdImpl.han
    dleCatalogEntryIndex(UpdateSearchIndexCmdImpl.java:569)
     at
    com.ibm.commerce.scheduler.commands.UpdateSearchIndexCmdImpl.per
    formExecute(UpdateSearchIndexCmdImpl.java:254)
     at
    com.ibm.commerce.command.ECCommandTarget.executeCommand(ECComman
    dTarget.java:157)
     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.commerce.command.MeasuredCacheableCommandImpl.execute(Me
    asuredCacheableCommandImpl.java:63)
     at
    com.ibm.commerce.command.AbstractECTargetableCommand.execute(Abs
    tractECTargetableCommand.java:199)
     at
    com.ibm.commerce.component.BaseComponentImpl.executeCommand(Base
    ComponentImpl.java:202)
     at
    com.ibm.commerce.component.WebAdapterComponentImpl.executeComman
    d(WebAdapterComponentImpl.java:46)
     at
    com.ibm.commerce.component.objimpl.WebAdapterServiceBeanBase.exe
    cuteCommand(WebAdapterServiceBeanBase.java:58)
     at
    com.ibm.commerce.component.objects.EJSLocalStatelessWebAdapterSe
    rvice_ce749a4a.executeCommand(EJSLocalStatelessWebAdapterService
    _ce749a4a.java:31)
     at
    com.ibm.commerce.component.objects.WebAdapterServiceAccessBean.e
    xecuteCommand(WebAdapterServiceAccessBean.java:160)
     at
    com.ibm.commerce.scheduler.SchedulerJob.process(SchedulerJob.jav
    a:562)
     at
    com.ibm.commerce.scheduler.SchedulerSecurityPriviledgedAction.ru
    n(SchedulerSecurityPriviledgedAction.java:59)
     at
    com.ibm.commerce.scheduler.SchedulerJob.run(SchedulerJob.java:11
    15)
     at
    com.ibm.commerce.threadmanagement.internal.BaseWork.run(BaseWork
    .java:139)
     at
    com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:1151)
     at
    com.ibm.ws.asynchbeans.WorkWithExecutionContextImpl.go(WorkWithE
    xecutionContextImpl.java:199)
     at
    com.ibm.ws.asynchbeans.CJWorkItemImpl.run(CJWorkItemImpl.java:18
    8)
     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1660)
    Caused by: java.lang.NullPointerException
     at
    com.ibm.commerce.foundation.dataimport.process.DataImportProcess
    orMain.deltaDataImport(DataImportProcessorMain.java:2225)
     at
    com.ibm.commerce.foundation.dataimport.process.DataImportProcess
    orMain.executeDIH(DataImportProcessorMain.java:775)
     at
    com.ibm.commerce.foundation.dataimport.process.DataImportProcess
    orMain.buildIndex(DataImportProcessorMain.java:2443)
     at
    com.ibm.commerce.catalog.facade.server.event.consumer.CatalogEnt
    ryIndexing.invokeBuildIndex(CatalogEntryIndexing.java:708)
     at
    com.ibm.commerce.catalog.facade.server.event.consumer.CatalogEnt
    ryIndexing.run(CatalogEntryIndexing.java:529)
     ... 5 more
    
    End of exception traces.
    

Local fix

Problem summary

  • USERS AFFECTED:
    FEP8
    
    PROBLEM ABSTRACT:
    NullPointerException during delta indexing
    
    BUSINESS IMPACT:
    use fullbuild or commandline utility to build index
    
    RECOMMENDATION:
    

Problem conclusion

  • check the object if it is null before using it
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR54471

  • Reported component name

    WC COM PROF ED

  • Reported component ID

    5724I4000

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-10-08

  • Closed date

    2015-11-16

  • Last modified date

    2015-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 COM PROF ED

  • Fixed component ID

    5724I4000

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSPK6A","label":"WebSphere Commerce 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