Drag and Drop Item On Update Table Event Failing Even After Applying 9.3.3.0.74 (Doc ID 2103334.1)

Last updated on FEBRUARY 16, 2017

Applies to:

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

Symptoms

Update table event using getReferent fails with below error when adding affected items to Change object by drag and drop.

Error
Error code : 985
Root Cause exception : java.rmi.RemoteException: EJB Exception: ; nested exception is:
  java.lang.ArrayIndexOutOfBoundsException

  at com.agile.api.pc.APIObject.createError(APIObject.java:118)
  at com.agile.api.pc.DataObject.getName(DataObject.java:163)
  at agile.sample.event.eco.EcoUpdateAffectedItemTablePostHandler.doAction(EcoUpdateAffectedItemTablePostHandler.java:37)
  at com.agile.px.Extensions2$PXEventActionNode.invoke(Extensions2.java:746)
  at com.agile.px.Extensions2.doCustomPXEvent(Extensions2.java:541)
  at com.agile.px.Extensions2.invokeAction(Extensions2.java:247)
  at com.agile.px.PxSessionBean.invokeAction(PxSessionBean.java:117)
  at com.agile.px.com_agile_px_PxSession_l8vd22_EOImpl.__WL_invoke(Unknown Source)
  at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:32)


Fact

9.3.3.0.74 is already applied. For the issue fixed with 9.3.3.0.74, see Note:1911910.1

Steps to Reproduce

  1. Copy the sample jar to %Agile_Home%\integration\sdk\extensions. Below code is executed with this jar file:
  2. Login to Java Client as admin user
  3. Goto Admin tab > System Settings > Event Management > Events
  4. Create Event with following information:
    Event Type: Update Table
    Name: Test Update Table
    Object Type: Changes
    Table Name: Affected Items
  5. Create Event Handler with following information:
    Event Handler Type: Java PX
    Name: Test Update Event Handler
    Enabled: Yes
    Role: (Blank)
    Event Action: (select your deployed Java PX)
  6. Create Event Subscriber with below information:
    Name: Test Update table Event Subscriber
    Enabled: Yes
    Event: Test Update Table
    Event Handler: Test Update Event Handler
    Trigger Type: Post
    Execution Mode: Synchronous
    Error Handling Rule: Continuous
  7. Login to Web Client
  8. Create ECO C1
  9. Create Part P1
  10. Goto Affected Items of C1, and drag and drop P1 from Recently Visited list
  11. Check Agile Application Server log

 





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