ArrayIndexOutOfBoundsException Error On Receive Items: Select Items Page When Using Items Due Parameter (Doc ID 2169394.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

In Oracle iProcurement, Release 12.1.3, an error occurs on the Receive Items: Select Items page when using the Items Due search parameter.

The issue began to occur after applying Patch 22779803:R12.ICX.B "Oracle iProcurement Consolidation Patch for 12.1.3 - Apr 2016".
Patch 23150726:R12.ICX.B "This Patch fixes the issue of Items Due search Parameter in iProcurement Receiving" is also applied.

 

Error Page
You have encountered an unexpected error. Please contact the System Administrator for assistance.
Click here for exception details.


Exception Details.
oracle.apps.fnd.framework.OAException:
java.lang.ArrayIndexOutOfBoundsException: 1
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.OAPageBean.renderDocument(OAPageBean.java:3337)
at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:3132)
at _OA._jspService(_OA.java:229)
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)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:308)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:68)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:214)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:219)
at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
at _OA._jspService(_OA.java:222)
..
..
## Detail 0 ##
java.lang.ArrayIndexOutOfBoundsException: 1
at oracle.sql.DATE.toTimestamp(DATE.java:334)
at oracle.sql.DATE.timestampValue(DATE.java:803)
at oracle.apps.fnd.framework.webui.OADictionaryDataString.convertValue(OADictionaryDataString.java:64)
at oracle.apps.fnd.framework.webui.OADictionaryDataRow.selectGoodValue(OADictionaryDataRow.java:206)
at oracle.apps.fnd.framework.webui.OADictionaryData.selectValue(OADictionaryData.java:90)
at oracle.apps.fnd.framework.webui.OADictionaryDataRow.selectValue(OADictionaryDataRow.java:78)
at oracle.apps.fnd.framework.webui.OADataBoundValue.selectValue(OADataBoundValue.java:278)
at oracle.apps.fnd.framework.webui.OADataBoundValue.getResultValueFromDataOjbect(OADataBoundValue.java:238)
at oracle.apps.fnd.framework.webui.OADataBoundValue.getValue(OADataBoundValue.java:158)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(OAWebBeanHelper.java:1817)
at oracle.apps.fnd.framework.webui.beans.message.OAMessageStyledTextBean.getAttributeValueImpl(OAMessageStyledTextBean.java:238)
at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute(Unknown Source)
at oracle.cabo.ui.collection.AttributeMapProxy.getAttribute(Unknown Source)
at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
at oracle.cabo.ui.laf.base.BaseLafUtils.getLocalTextAttribute(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.getText(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.getElementName(Unknown Source)
at oracle.cabo.ui.ElementRenderer.prerender(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.prerender(Unknown Source)
at oracle.cabo.ui.laf.base.xhtml.StyledTextRenderer.prerender(Unknown Source)
at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
..
..



The error exception details may be slightly different, depending on the Items Due value selected.

If searching by Items Due = Last 60 Days:

## Detail 0 ##
java.lang.ArrayIndexOutOfBoundsException: 6
at oracle.sql.DATE.toTimestamp(DATE.java:334)
at oracle.sql.DATE.timestampValue(DATE.java:803)
at oracle.apps.fnd.framework.webui.OADictionaryDataString.convertValue(OADictionaryDataString.java:64)


If searching by Items Due = Last 7 Days and "include people from all organizations" is enabled:

## Detail 0 ##
java.lang.ArrayIndexOutOfBoundsException: 6
at oracle.sql.DATE.toTimestamp(DATE.java:334)
at oracle.sql.DATE.timestampValue(DATE.java:803)
at oracle.apps.fnd.framework.webui.OADictionaryDataString.convertValue(OADictionaryDataString.java:64)

 

 

Steps To Reproduce

The issue is reproducible in a Vision Demo environment, using the following steps:
1. Log in as a Vision Demo user.
2. Responsibility: iProcurement
3. On the Shop home page, click the Receiving tab.
4. On the Receiving home page, click the Receive Items link.
5. On the Receive Items: Select Items page, do the following:
- Click the Clear button to clear all search fields
- Set field "Items Due" to value "Next 30 Days"
- Click the Go button.
6. In the search results, the error appears.




Changes

 

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