R11i/12: OIE: Error When Choosing Details Button On Cash And Other Expenses Page: "You have encountered an unexpected error" (Doc ID 1274552.1)

Last updated on FEBRUARY 21, 2017

Applies to:

Oracle Internet Expenses - Version 11.5.10.2 to 12.1.3 [Release 11.5 to 12.1]
Information in this document applies to any platform.
Cash And Other Expenses Page
ExpenseReportLinesVORowImpl
ExpenseReportLinesVORowImpl.java


Symptoms

When attempting to Click on Details icon on Cash and Other Expenses page

OR

When already in the Details page, when selecting an expense type which has Receipt Required enabled at the Expense Report Template setup level

the following error occurs:

You have encountered an unexpected error. Please contact the System Administrator for assistance.
Click here for exception details

Exception Details:
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:886)
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:1009)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)

## Detail 0 ##
java.lang.NullPointerException
at oracle.apps.ap.oie.common.server.ExpenseReportLinesVORowImpl.updateReceiptRequired(ExpenseReportLinesVORowImpl.java:701)
at oracle.apps.ap.oie.common.server.OIECommonAMImpl.ChangeExpenseType(OIECommonAMImpl.java:1098)
at oracle.apps.ap.oie.common.server.OIECommonAMImpl.InitializeSDP(OIECommonAMImpl.java:911)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)



The issue can be reproduced at will with the following steps:

1. Internet Expenses
2. Create Expense report with required information in cash and other other page
3. Select expense Lines Click on Details Button
4. Above error occurs

OR

1. Internet Expenses
2. Create Expense report with required information in cash and other other page
3. Select expense Lines Click on Details Button
4. Select an expense type which has Receipt Required enabled at the Expense Report Template setup level
5. Above error occurs

Changes

1. For R12 Applied Mandatory <Patch 10040337:R12.OIE.B> on 12.1.3
2. For 11.5.10.2  an expense type is enabled with 'Receipt Required' in the Expense Template set-up within the Payables Manager: Setup=>Invoices=>Expense Report Templates form.

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