My Oracle Support Banner

In Oracle Contract Life Cycle Management, Unexpected error as soon as modification is saved due to document number generation failure (Doc ID 2628650.1)

Last updated on MARCH 15, 2022

Applies to:

Oracle Contract Lifecycle Management for Public Sector - Version 12.2.7 and later
Information in this document applies to any platform.


On : 12.2.7 version, Requisition

Unexpected Error as Soon as Modification is Saved

"You have encountered an unexpected error .Please Contact your System Administrator for Assistance"

Steps to replicate the issue
1. Login to CLM Purchasing Responsibility -> Awards -> Search using Award Number and Click Go.
2.Select Award and Choose Create Modification from Actions LOV and Click Go
3.User Creates a new modification to a CLM award, fills in the required fields (Default Ship-To, Modification Authority, etc.) but receives
error as soon as the modification is saved.

FND Debug shows the following Exception :


## Detail 0 ##
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(
at oracle.apps.po.document.common.webui.DocumentCOUtil.defaultDocNum(
at oracle.apps.po.document.common.webui.DocumentBaseCO.defaultDocNum(
at oracle.apps.po.document.common.webui.DocumentCO.processAction(DocumentCO."



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.