Application Error When Pressing Enter To Add A Promotional Code In The Cart

(Doc ID 2322321.1)

Last updated on OCTOBER 31, 2017

Applies to:

Oracle iStore - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On Test: 12.1.3 version, Shopping Cart

Error when pressing Enter to add a Promotional Code in the cart.

ERROR
-----------------------
Application Error

iStore Java Log shows more detailed Error - below
-------------------------
11:9:38:386 [ibeCScpEnterPromo.jsp] After calling Save
11:9:38:390 [ibeCScpEnterPromo.jsp] No change
11:9:38:408 [ibeCZzdError.jsp] Stack:

java.lang.NullPointerException
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:356)
at _ibeCScpEnterPromo._jspService(_ibeCScpEnterPromo.java:1579)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.apps.cdmv.servlet.ResponseHeaderFilter.doFilter(ResponseHeaderFilter.java:32)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.apps.ibe.util.IBEReleaseResFilter.doFilter(IBEReleaseResFilter.java:42)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:429)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:911)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:745)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1. Set the profile "IBE: Use Promotion Code" and a promotional code modifier
2. Login to iStore
3. Add an item to cart
4. Add a valid code in the Promotional Code field
5. Press "Enter" on the keyboard instead of clicking on the button "Apply"
6. The page errors out with an Application Error (NullPointer Exception)


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms