NullPointerException when trying To add As SLIN Or Option From Favorites Shopping List (Doc ID 2214660.1)

Last updated on JANUARY 25, 2017

Applies to:

Oracle iProcurement - Version 12.1.3 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.

Symptoms

On CLM iProcurement 12.1.3, when attempting to add to cart from a favorite saved in the shopping list, the following error occurs:

ERROR
Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:3068)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1898)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:557)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:439)
at _OA._jspService(_OA.java:213)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
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)
....
## Detail 0 ##
java.lang.NullPointerException
at oracle.apps.icx.por.req.webui.AddSLINorOptionCO.handleAddToCartButton(AddSLINorOptionCO.java:456)
at oracle.apps.icx.por.req.webui.AddSLINorOptionCO.processFormRequest(AddSLINorOptionCO.java:242)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:827)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1217)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
...


The issue can be reproduced at will with the following steps:
1. Create a non-catalog request with details
2. Click Add to Favorites
3. Add the non-catalog request to cart
4. Re-use the saved item by going to Shop > Shopping Lists and Add to Cart (or as Option)
5. After click add to cart the error occurs.


Due to this issue, users cannot use the item saved in the shopping list

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