My Oracle Support Banner

Buyer Work Center - Orders - Schedules - Attachments - OAException ArrayIndexOutOfBoundsException OAAttachmentImageHelper.java:1528 (Doc ID 2820086.1)

Last updated on NOVEMBER 08, 2021

Applies to:

Oracle Purchasing - Version 12.2 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.10 version, HTML Orders

Adding an attachment on the Standard Purchase Order Schedule -  using the buyer work center is resulting in an Error Page with Exceptions.
 
Error:
oracle.apps.fnd.framework.OAException: java.lang.ArrayIndexOutOfBoundsException: 1

Replication Steps:
The issue can be reproduced at will with the following steps:
1. Login to Purchasing Respsonbility
2. Choose the Buyer Work Center - Orders tab
3. Select a Purchase Order - then choose the Schedules tab
    Proceed to update a shipment and add an Attachment
4. The exception occurs when adding the attachment



The FND Logging shows this exception:
Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.ArrayIndexOutOfBoundsException: 1
at
oracle.apps.fnd.framework.webui.OAAttachmentImageHelper.updatePrimaryKeyValues(OAAttachmentImageHelper.java:1528)
at oracle.apps.fnd.framework.webui.OAAttachmentImageHelper.addInlineAttachment(OAAttachmentImageHelper.java:1597)
at oracle.apps.fnd.framework.webui.OAAttachmentImageHelper.processFormRequest(OAAttachmentImageHelper.java:679)
at oracle.apps.fnd.framework.webui.beans.layout.OAFlowLayoutBean.processFormRequest(OAFlowLayoutBean.java:372)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1179)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1145)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:1000)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:424)
at oracle.apps.fnd.framework.webui.beans.table.OAColumnBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1179)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1145)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:1000)
at oracle.apps.fnd.framework.webui.OAWebBeanBaseTableHelper.processFormRequest(OAWebBeanBaseTableHelper.java:2646)
at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processFormRequest(OAAdvancedTableHelper.java:2497)
at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.processFormRequest(OAAdvancedTableBean.java:809)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1179)
..
..
..
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.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
at oracle.apps.fnd.security.csrf.GuardFilter.doFilter(GuardFilter.java:276)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
at oracle.apps.fnd.security.WLFilter.doFilter(WLFilter.java:161)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
at oracle.apps.jtf.cabo.interceptor.JTFWrapperFilter.doFilter(JTFWrapperFilter.java:151)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:504)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
## Detail 0 ##
java.lang.ArrayIndexOutOfBoundsException: 1
at oracle.apps.fnd.framework.webui.OAAttachmentImageHelper.updatePrimaryKeyValues(OAAttachmentImageHelper.java:1528)
at oracle.apps.fnd.framework.webui.OAAttachmentImageHelper.addInlineAttachment(OAAttachmentImageHelper.java:1597)
at oracle.apps.fnd.framework.webui.OAAttachmentImageHelper.processFormRequest(OAAttachmentImageHelper.java:679)
at oracle.apps.fnd.framework.webui.beans.layout.OAFlowLayoutBean.processFormRequest(OAFlowLayoutBean.java:372)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1179)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1145)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:1000)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:424)
at oracle.apps.fnd.framework.webui.beans.table.OAColumnBean.processFormRequest(Unknown Source)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1179)
..
..
..
..

Changes

 Framework version was updated in patching cycles.

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!


In this Document
Symptoms
Changes
Cause
Solution
References


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