During Audit, Mileage Expense Report has NULL Values for Amount Causing Error java.lang.NullPointerException oracle.sql.NUMBER.add (Doc ID 1908966.1)

Last updated on SEPTEMBER 06, 2016

Applies to:

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

Symptoms

When trying to Audit a mileage expense report, the following Java error occurs. The expense report has some Mileage lines having NULL values in the amount fields.

oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
       at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
       at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)

<skip some lines...>

## Detail 0 ##
java.lang.NullPointerException
       at oracle.sql.NUMBER.add(NUMBER.java:2211)
       at oracle.jbo.domain.Number.add(Number.java:518)
       at oracle.apps.ap.oie.audit.server.ExpenseHeadersVOImpl.getLineTotal(ExpenseHeadersVOImpl.java:408)
       at oracle.apps.ap.oie.audit.server.AuditAMImpl.getLineTotal(AuditAMImpl.java:995)
       at oracle.apps.ap.oie.audit.server.AuditAMImpl.completeAudit(AuditAMImpl.java:1289)

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