My Oracle Support Banner

Application Error While Loading Cart Due To NPE In Item.load (Doc ID 2329237.1)

Last updated on NOVEMBER 16, 2017

Applies to:

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

Symptoms

On Prod and Dev: 12.2.5 version, Shopping Cart Related

Application Error when Item is changed from published to unpublished after it was added in the cart.

ERROR [page source]
-----------------------
java.lang.NullPointerException
at oracle.apps.ibe.catalog.Item.load(Item.java:6049)
at oracle.apps.ibe.catalog.Item.load(Item.java:6000)
at oracle.apps.ibe.catalog.Item.load(Item.java:6354)
at oracle.apps.ibe.catalog.Item.load(Item.java:6308)
at _pages.__xx_ibecscdshowcartlines._jspService(__xx_ibecscdshowcartlines.java:1717)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:526)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:447)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
at _pages.__xx_ibecscdviewa._jspService(__wom_ibecscdviewa.java:3200)



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Login to iStore
2. Add two items to cart
3. Go into Inventory, update item status to Unpublish
4. Clear mid-tier cache
5. Login back to istore
6. Query cart to see error

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
There was no way for the user to remove item.

Changes

 

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.