java.lang.NullPointerException When Attempting to Upload Disconnected Spreadsheet and Select Continue or Skip to Review (Doc ID 1332966.1)

Last updated on DECEMBER 25, 2015

Applies to:

Oracle Internet Expenses - Version 12.1.3 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.
NULL POINTER EXCEPTION (NPE)
Disconnected Spreadsheet

Symptoms

On : 12.1.3 version, Expenses Entry

When attempting to upload disconnected spreadsheet for Internet Expense entry, the import is successful.
Click continue the following error occurs,


ERROR
-----------------------
You have encountered unexpected error. Please contact the system administrator for assistance.

Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:996)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:797)
at oracle.apps.ap.oie.webui.ImportDetailsCO.invokeAmMethod(ImportDetailsCO.java:480)
at oracle.apps.ap.oie.webui.ImportDetailsCO.processFormRequest(ImportDetailsCO.java:353)

## Detail 0 ##
java.lang.NullPointerException
at oracle.apps.ap.oie.server.ExpensesAMImpl.getReportOrgId(ExpensesAMImpl.java:2390)
at oracle.apps.ap.oie.server.ExpensesAMImpl.getReceiptRule(ExpensesAMImpl.java:9182)
at oracle.apps.ap.oie.server.ExpensesAMImpl.getIsReceiptRequired(ExpensesAMImpl.java:3133)
at oracle.apps.ap.oie.server.ExpensesAMImpl.getIsReceiptRequired(ExpensesAMImpl.java:3112)
at oracle.apps.ap.oie.server.ExpenseReportLinesVORowImpl.updateLine(ExpenseReportLinesVORowImpl.java:2294)
at oracle.apps.ap.oie.server.ReceiptBasedLinesVOImpl.validateReportLines(ReceiptBasedLinesVOImpl.java:878)
at oracle.apps.ap.oie.server.ExpensesAMImpl.validateReportLines(ExpensesAMImpl.java:6121)



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Internet Expenses Responsibility
2. Enter Expense Report
3. Import Expense report Spreadsheet
3. Click to Continue
4. Above error occurs.

Due to this issue, users cannot import Spread Sheet and proceed to complete expense reports.

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