OIE:R12:Error When Creating New Expense Report: java.lang.ArrayIndexOutOfBoundsException: 2 at oracle.apps.ap.oie.entry.accounting.server.AllocationsVORowImpl.setSegments(AllocationsVORowImpl.java:394) (Doc ID 2116679.1)

Last updated on JUNE 28, 2017

Applies to:

Oracle Internet Expenses - Version 12.2 and later
Information in this document applies to any platform.

Goal

After entering the details on an expense line in a new expense report, and try to click next, the following error occurs:

Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.ArrayIndexOutOfBoundsException: x
...
## Detail 0 ##
java.lang.ArrayIndexOutOfBoundsException: x
at oracle.apps.ap.oie.entry.accounting.server.AllocationsVORowImpl.setSegments(AllocationsVORowImpl.java:394)
at oracle.apps.ap.oie.entry.accounting.server.AllocationsVORowImpl.setDefaultSegmentValues(AllocationsVORowImpl.java:244)
at oracle.apps.ap.oie.entry.accounting.server.AllocationsLinesVORowImpl.populateTransientAttributes(AllocationsLinesVORowImpl.java:2165)
at oracle.apps.ap.oie.entry.accounting.server.AllocationsHeaderVORowImpl.populateTransientAttributes(AllocationsHeaderVORowImpl.java:912)
at oracle.apps.ap.oie.entry.accounting.server.AllocationsHeaderVOImpl.populateTransientAttributes(Unknown Source)
at oracle.apps.ap.oie.entry.accounting.server.ExpenseAllocationsAMImpl.populateHGridAttributes(ExpenseAllocationsAMImpl.java:1058)
at oracle.apps.ap.oie.entry.accounting.server.ExpenseAllocationsAMImpl.initHGrid(ExpenseAllocationsAMImpl.java:1034)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)

Where x is some number.
Why is this happening?
 

Solution

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