My Oracle Support Banner

Adding Inactive Item In Shopping List To Cart Throws Unexpected Error - IndexOutOfBoundsException (Doc ID 2748845.1)

Last updated on FEBRUARY 02, 2021

Applies to:

Oracle iProcurement - Version 12.2.9 and later
Information in this document applies to any platform.


Version 12.2.9 iProcurement

Selecting inactive item only in iProcurement Shopping List and adds to cart throws Unexpected Error.
In case inactive item and other active item added to cart, it throws meaningful message to user.

 In iProcurement responsibility:
  1.Go to iProcurement Home Page -> Shopping List
  - User has Inactive Item (262435) sourcing Agreement in User Favourites
  2. Select Inactive Item (only)
  - click ‘Add to Cart’
 3. Returns Error

  You have encountered unexpected error. Please contact your System Administrator.

  Exception details
oracle.apps.fnd.framework.OAException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException( at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source) at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod( at oracle.apps.icx.por.common.webui.ClientUtil.invokeMethod( at at at or
## Detail 0 ##
 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at at at oracle.apps.icx.por.req.server.AddToCartSvrCmd.execute( at oracle.apps.icx.por.common.server.PorBaseAMImpl.executeServerCommand( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces

  In stead of Unexpected error, meaningful message gets shown to user.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.