Defect HC-16518

Order Email Cannot be sent

Software

Customer case Applies to Corrected in
CS0301679 V9.1 9.1.10.0

Observed behavior

While attempting to send out an order confirmation email, an exception similar to the following is seen in the logs:

Caused by: java.lang.NullPointerException at com.ibm.ws.webcontainer.srt.SRTServletRequest$SRTServletRequestHelper.access$200(SRTServletRequest.java:3328) at com.ibm.ws.webcontainer.srt.SRTServletRequest.getAttribute(SRTServletRequest.java:419) at com.ibm.commerce.common.beans.StoreDataBean.getJspStoreDir(StoreDataBean.java:1462) at com.ibm.commerce.common.beans.StoreDataBean.getJspStoreDirFilePath(StoreDataBean.java:398)

Expected behavior

There should be no exception in the logs.

Resolution

While attempting to retrieve the store directory in the StoreDataBean, a NullPointerException was not being handled properly. The code has been fixed to handle the exception and continue processing.