R12: OIE: Unexpected Error Encountered Attempting To Edit Rejected Expense Report (Doc ID 2165615.1)

Last updated on JULY 27, 2016

Applies to:

Oracle Internet Expenses - Version 12.1.3 and later
Information in this document applies to any platform.
Rejected Expense Report
Unexpected Error
NPE (null pointer exception)
java.lang.NullPointerException
oracle.apps.ap.oie.server.WebExpensesAMImpl.getCardValueFromTrxn(WebExpensesAMImpl.java:3230
oracle.apps.ap.oie.server.WebExpensesAMImpl.getDefaultCardValue(WebExpensesAMImpl.java:3178
oracle.apps.ap.oie.server.WebExpensesAMImpl.initFromRestoredReport(WebExpensesAMImpl.java:339

Symptoms

An unexpected error is encountered when attempting to edit a Rejected Expense Report. 

ERROR
-----------------------
Page Error
"You have encountered an unexpected error. Please contact the System Administrator for assistance"

Expanding the error shows the following additional underlying error detail:


Error Page
Exception Detalis
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)

...
## Detail 0 ##
java.lang.NullPointerException
at oracle.apps.ap.oie.server.WebExpensesAMImpl.getCardValueFromTrxn(WebExpensesAMImpl.java:3230)
at oracle.apps.ap.oie.server.WebExpensesAMImpl.getDefaultCardValue(WebExpensesAMImpl.java:3178)
at oracle.apps.ap.oie.server.WebExpensesAMImpl.initFromRestoredReport(WebExpensesAMImpl.java:339)
at oracle.apps.ap.oie.server.ExpensesAMImpl.init(ExpensesAMImpl.java:4435)
at sun.reflect.GeneratedMethodAccessor877.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
...


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Submit an expense report for approval
2. The report is rejected during the approval process
3. When the user then attempts to edit the rejected report and resubmit, the error occurs.


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