R12: OIE: During Audit Encountered Unexpected Error: "java.sql.SQLException ORA-01422 ORA-06512 at APPS.AP_WEB_POLICY_UTILS LINE 350" (Doc ID 1104883.1)

Last updated on MARCH 09, 2017

Applies to:

Oracle Internet Expenses - Version 12.0.0 and later
Information in this document applies to any platform.
Audit Expense Report
Unexpected Error
java.sql.SQLException
ORA-01422
ORA-06512
APPS.AP_WEB_POLICY_UTILS LINE 350

Symptoms

Users receive the following error when trying to query an expense reports on the Audit page in SSWA:

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

Highlights only from error stack:

Error Page
Exception Details.
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException:
JBO-27122: SQL error during statement preparation.
Statement: SELECT * FROM...



(continues from there, then further on):

## Detail 0 ##
java.sql.SQLException: ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "APPS.AP_WEB_POLICY_UTILS", line 350



(continues from there).

Changes

Apply any patch which includes:

apoie12alu.ldt 120.22.12000000.6
apoie12alu.ldt 120.23.12010000.2

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