My Oracle Support Banner

By Drag and Drop, IEventDirtyRowUpdate.getReferent Causes java.lang.ArrayIndexOutOfBoundsException (Doc ID 1911910.1)

Last updated on JANUARY 24, 2024

Applies to:

Oracle Agile PLM Framework - Version 9.3.3.0 to 9.3.3.0 [Release 9.3]
Information in this document applies to any platform.

Symptoms

Actual Behavior 

By Drag and Drop, IEventDirtyRowUpdate.getReferent causes java.lang.ArrayIndexOutOfBoundsException


Expected Behavior

By Drag and Drop, IEventDirtyRowUpdate.getReferent returns the value successfully.


What is Working

If adding item by add item button instead of Drag and Drop in affected item tab, IEventDirtyRowUpdate.getReferent works successfully.


Steps

The issue can be reproduced at will with the following steps:
1. Log into Java Client, and setup the Event PX which is using IEventDirtyRowUpdate.getReferent
2. Log into Web Client, and create ECO
3. Drag&Drop any item to the Affected items tab
The log shows the error stack as below:

2014-05-16 16:12:29,288 <xxxHandler:ERROR>
Error message : -1
Root Cause exception : java.rmi.RemoteException: EJB Exception: ; nested
exception is:
java.lang.ArrayIndexOutOfBoundsException: -1
 
Error code : 985
Error message : -1
Root Cause exception : java.rmi.RemoteException: EJB Exception: ; nested
exception is:
java.lang.ArrayIndexOutOfBoundsException: -1
 
at com.agile.api.pc.APIObject.createError(APIObject.java:131)
at
com.agile.api.pc.TablePC$LoadServerTableAction.doSdkAction(TablePC.java:309)
at com.agile.api.common.SDKAction.run(SDKAction.java:23)
at com.agile.api.common.Security.doAs(Security.java:59)
at com.agile.api.common.Security.doAs(Security.java:109)
at com.agile.api.pc.TablePC.loadServerTable(TablePC.java:94)
at com.agile.api.pc.TablePC.reload(TablePC.java:70)
at com.agile.api.pc.Table.getVOTable(Table.java:915)
at com.agile.api.pc.Table.containsAttribute(Table.java:568)
at com.agile.api.pc.Table.containsAttribute(Table.java:557)
at com.agile.api.pc.DataObject.getTableForAttribute(DataObject.java:122)
at com.agile.api.pc.DataObject.getValue(DataObject.java:173)
at
sample.event.px.xxxHandler.doAction(xxxHandler.java:55)
...
 

Changes

 Upgraded to Agile 9.3.3

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.