Clicking on Attachment Tab of Certain Object Causes Application Error (Doc ID 1348759.1)

Last updated on APRIL 04, 2017

Applies to:

Oracle Agile PLM Framework - Version 9.2.2.1 and later
Information in this document applies to any platform.

Symptoms

When clicking on the Attachment tab for a certain object the page displays the following error.

Error
Application Error
This feature did not perform as expected.Please contact your Agile Administrator

- Agile Application Server log shows more details:
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at com.agile.ipa.pc.CMAttachment.getLatestVersion(CMAttachment.java:740)
at com.agile.ui.pcm.common.table.BOAttachmentTableModel.createValueObject(BOAttachmentTableModel.java:387)
at com.agile.ui.pcm.common.table.BOAttachmentTableModel.createValueObjects(BOAttachmentTableModel.java:310)
at com.agile.ui.web.table.TreeTableModel.prepareData(TreeTableModel.java:216)
at com.agile.ui.pcm.common.ObjectViewHandler.createTableModel(ObjectViewHandler.java:2328)
at com.agile.ui.pcm.common.ObjectViewHandler.createTableModel(ObjectViewHandler.java:2204)
at com.agile.ui.pcm.common.ObjectViewHandler.displayTabData(ObjectViewHandler.java:1492)
at com.agile.ui.pcm.common.ObjectViewHandler.displayObject(ObjectViewHandler.java:316)

Steps
The issue could only replicates on certain object by following below steps:
1. Perform Quick Search for Item in Web Client
2. Click the Attachment tab
3. Page displays Application Error

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