IBM Support

JR44165: CMVC 224357 - OBJECTNOTFOUNDEXCEPTION FROM ORDERADJUSTMENTDATABEAN IF PROMOTION HAS NO DESCRIPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • OrderAdjustmentDataBean throws ObjectNotFoundException for
    promotions without a description
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce users on V7 who use promotions without
    descriptions.
    
    PROBLEM ABSTRACT:
    ObjectNotFoundException is thrown from OrderAdjustmentDataBean
    if a promotion has no description.
    
    BUSINESS IMPACT:
    ObjectNotFoundException messages are logged.
    
    RECOMMENDATION:
    

Problem conclusion

  • Output this ObjectNotFoundException error message to trace.log
    only when the WC_SERVER trace is enable. If the trace is not
    enabled, such error will not be reported in SystemOut.log.
    
    Code Change:
    Change the following line in the meathod
    getDescriptionDataBean() of
    com.ibm.commerce.order.beans.OrderAdjustmentDataBean.java:
    ECMessageLog.out(ECMessage._ERR_GENERIC, getClass().getName(),
    strMethod, new Object[] { e.toString() }, e);
    To:
    ECTrace.trace(ECTraceIdentifiers.COMPONENT_SERVER,getClass().get
    Name(),strMethod,"The OrderAdjustmentDescriptionDataBean failed
    to get: " + e.toString());
    
    
    -------------------------------------------------------------
    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

    JR44165

  • 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-09-21

  • Closed date

    2013-01-29

  • Last modified date

    2013-01-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 January 2013