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

Last updated on MAY 31, 2016

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. Login to Java Client, and setup the Event PX which is using IEventDirtyRowUpdate.getReferent
2. Login to 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

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