Java Error When Click Create Expense Report Button In Internet Expenses (after inadvertently setting profile option, OIE: Grace Period to Yes) (Doc ID 2196055.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

click Create Expense report button and receive the error

"...Exception Details.
oracle.apps.fnd.framework.OAException: java.lang.NullPointerException at
racle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
...## Detail 0 ##
java.lang.NullPointerException at
oracle.apps.ap.oie.entry.accounting.server.ExpenseAllocationsAMImpl.getFlexStr
uctureCode(ExpenseAllocationsAMImpl.java:412) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:.."

Note, at Site level, a user inadvertently set OIE:Grace Period to 'yes'
instead of a numeric value. When changing OIE:Grace Period back to numeric
value - the error no longer happens.

Client observed "...it is interesting that there is no value set or
validation on this profile option and it allows a text/alpha value to be
entered in what should be a numeric only field..."

Oracle Support set OIE:Grace Period to 'yes' and encountered the error
"..Exception Details. oracle.apps.fnd.framework.OAException:
oracle.jbo.SQLStmtException: JBO-27122:..
## Detail 0 ##
java.sql.SQLException: Missing IN or OUT parameter at index:: 1
at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow..."



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