IBM Support

JR44130: CMVC 224360 - PREVENT NULLPOINTEREXCEPTION WHEN CUSTOM JSP TEMPLATE EMAIL IS SENT OUT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • NullPointerExceptions appear in the logs when a dialog activity
    runs that contains the Send Message e-mail action. A stack trace
    similar to the following appears in the logs:
         java.lang.NullPointerException
     at
    com.ibm.commerce.foundation.internal.server.services.businesscon
    text.ClassicCommerceContextServiceImpl.endRequest(ClassicCommerc
    eContextServiceImpl.java:102)
     at
    com.ibm.commerce.foundation.server.command.bod.BusinessObjectDoc
    umentProcessor.postprocessRequest(BusinessObjectDocumentProcesso
    r.java:510)
     at
    com.ibm.commerce.foundation.server.command.bod.BusinessObjectDoc
    umentProcessor.processBusinessObjectDocument(BusinessObjectDocum
    entProcessor.java:226)
     at
    com.ibm.commerce.marketing.facade.server.MarketingFacadeImpl.pro
    cessMarketingTrigger(MarketingFacadeImpl.java:108)
     at
    com.ibm.commerce.marketing.facade.server.EJSLocalStatelessMarket
    ing_0e493592.processMarketingTrigger(EJSLocalStatelessMarketing_
    0e493592.java:233)
    
    This occurs when the e-mail template is a custom JSP e-mail
    template, and the "Send immediately" option is selected in the
    e-mail action.  Depending on the activity flow defined, the
    e-mail may or may not be sent, and the remainder of the dialog
    activity may or may not function correctly.
    

Local fix

  • Do not select the "Send immediately" checkbox in the Send
    Message action, or compose the e-mail template created in
    Management Center
    

Problem summary

  • USERS AFFECTED:
    All WebSphere Commerce version 7 users on Fix Pack 6 OR have
    installed APAR JR41894 and are using custom JSP e-mail templates
    in Management Center dialog activities
    
    PROBLEM ABSTRACT:
    NullPointerException may occur when using the Dialog Activity
    Send Message e-mail action.
    
    BUSINESS IMPACT:
    Marketing e-mails may not  be sent, and dialog activities may
    not run correctly
    
    RECOMMENDATION:
    

Problem conclusion

  • The Send Message e-mail action was fixed so the
    NullPointerException will not be thrown when the e-mail template
    is a custom JSP.
    
    
    -------------------------------------------------------------
    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

    JR44130

  • 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-18

  • Closed date

    2012-11-26

  • Last modified date

    2012-11-26

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