My Oracle Support Banner

Rule Set Error Java.Sql.SQLException: ORA-01422: exact fetch returns more than requested number of rows (Doc ID 2518806.1)

Last updated on DECEMBER 03, 2019

Applies to:

Oracle Incentive Compensation - Version 12.1.3 and later
Information in this document applies to any platform.


On : 12.1.3 version, Rules Library

Error when accessing classification Rule set for US operating Unit.


oracle.apps.fnd.framework.OAException: oracle.jbo.RowNotFoundException: JBO-25060: Unexpected error encountered while trying to retrieve the next row from JDBC ResultSet for collection ViewClsRepHierVO_RuleIdViewClsRepHierVO_ViewClsRepHierVL_ViewClsRepHierVO_36
at oracle.apps.fnd.framework.OAException.wrapperException(


at com.evermind.util.ReleasableResourcePooledExecutor$
## Detail 0 ##
java.sql.SQLException: ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "APPS.CN_RULE_PVT", line 1281

The issue can be reproduced at will with the following steps:

Navigation: Plan Administrator -> Product Classification -> Maintain Classification Rule Sets

File version is added below

CN_RULE_PVT cnvrules.pls 120.3
CN_RULE_PVT cnvruleb.pls 120.5


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.