IBM Support

JR48930: NullPointerException error occurs during the EventProcesor scheduled job when an Event component is disabled

Direct link to fix

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After upgrading to APAR JR42537 (or going to 7.0.0.6 or higher),
    a NullPointerException may occur while running the Event
    Processor scheduled job, with a log entry similar to the
    following :
    
    java.lang.NullPointerException
     at
    com.ibm.commerce.bi.events.EventProcessorCmdImpl.deleteFromBusev
    entTable(EventProcessorCmdImpl.java:1231)
     at
    com.ibm.commerce.bi.events.EventProcessorCmdImpl.purgeEvents(Eve
    ntProcessorCmdImpl.java:937)
     at
    com.ibm.commerce.bi.events.EventProcessorCmdImpl.performExecute(
    EventProcessorCmdImpl.java:464)
    

Local fix

Problem summary

  • USERS AFFECTED:
    Users who have disabled Event Components in the wc-server.xml
    
    PROBLEM ABSTRACT:
    NullPointerException while running the EventProcesor scheduled
    job, when an Event component is disabled.
    
    BUSINESS IMPACT:
    The EventProcessor scheduled job may fail and throw exceptions,
    preventing Business Events from being processed correctly.
    
    RECOMMENDATION:
    

Problem conclusion

  • This problem occurred when components were disabled but events
    were raised for them.  The event processor job will no longer
    attempt to validate events for disabled components.
    
    -------------------------------------------------------------
    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

  • Ensure that you do not disable any Event components in the
    wc-server.xml
    

Comments

APAR Information

  • APAR number

    JR48930

  • Reported component name

    WC BUS DEV ED W

  • Reported component ID

    5724I3900

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-12-30

  • Closed date

    2014-01-21

  • Last modified date

    2015-05-11

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

  • Fixed component ID

    5724I3900

Applicable component levels

  • R700 PSY

       UP

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