XAI Submission Fails With IndexOutOfBoundsException (Doc ID 2254934.1)

Last updated on APRIL 14, 2017

Applies to:

Oracle Utilities Customer Care and Billing - Version 2.5.0.2.0 and later
Information in this document applies to any platform.

Symptoms

On : 2.5.0.2.0 version, IP - Installation Upgrade Proc

ACTUAL BEHAVIOR
---------------
XAI Submission fails with IndexOutOfBoundsException
when attempting to submit an XAI Submission through the Application ( Admin > X > XAI Submission ) the page goes back to the login page and the trace file show the following error:

TESTUSER - 672759-3-1 2017-04-11 14:19:48,727 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR (api.service.ServiceExecutionPolicy) Encountered exception, session marked for rollback
java.lang.IndexOutOfBoundsException: Index: 9, Size: 2
at java.util.ArrayList.rangeCheck(ArrayList.java:635)
at java.util.ArrayList.get(ArrayList.java:411)
at com.splwg.base.domain.todo.toDoEntry.ToDoEntryMaintenance.addDrillKeysForSpecifiedSequencedDrillKeyTypes(ToDoEntryMaintenance.java:275)
at com.splwg.base.domain.todo.toDoEntry.ToDoEntryMaintenance.addCreatorToDoDrillKeys(ToDoEntryMaintenance.java:219)
at com.splwg.base.domain.todo.toDoEntry.ToDoEntryMaintenance.add(ToDoEntryMaintenance.java:464)



TESTUSER - 672759-3-1 2017-04-11 14:19:48,730 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR (scripting.actions.Action) Failed invoking step : invokeBO 'Z-TODO-ENTRY' using "Z-TODO-ENTRY" for add;
TESTUSER - 672759-3-1 2017-04-11 14:19:48,731 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR (scripting.actions.Action) Failed invoking step : if ("Z-VAL-OMID/RowCount = 0")
  // If To Do Type is not supplied, skip To Do creation.
  if ("parm/input/ToDoType = $BLANK")
  goto SkipToDoCreation;
  end-if;
  // Create To Do
  move "parm/input/ToDoType" to "Z-TODO-ENTRY/ToDoType";
  move '99999' to "Z-TODO-ENTRY/MessageCategory";
  move '20121' to "Z-TODO-ENTRY/MessageNumber";
...

TESTUSER - 672759-3-1 2017-04-11 14:19:48,732 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR (scripting.actions.Action) Failed invoking step : 40: edit data
  if ("Z-VAL-OMID/RowCount = 0")
  // If To Do Type is not supplied, skip To Do creation.
  if ("parm/input/ToDoType = $BLANK")
  goto SkipToDoCreation;
  end-if;
...

TESTUSER - 672759-3-1 2017-04-11 14:19:48,733 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR (api.serviceScript.ServiceScriptDispatcher) Failure in script : Script_Id(Z-VAL-OMID)

EXPECTED BEHAVIOR
-----------------------
XAI should work as expected without any of the above errors occurring

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Admin > X > XAI Submission
2. hit save
3. redirected back to login screen


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