Cannot insert NULL into FND_APPS_SYSTEM.CSI_NUMBER

Autoconfig errors on adgentns.pl ORA-01400 cannot insert NULL into FND_APPS_SYSTEM.CSI_NUMBER

 

Recently, we encountered an issue while running AutoConfig on the Applications Tier in Oracle E-Business Suite Release 12. The following error was observed:

ERROR

ERROR: [CVM Error Report]
The following report lists errors encountered during CVM Phase
/…/apps/apps_st/appl/ad/12.0.0/bin/adgentns.pl 2
No of scripts failed in CVM phase: 1 AutoConfig is exiting with status 1

ERROR in NetServiceHandler.log:

Registering Middle Tier Node
[ Input Information ]
……
Tools Local : null
Web Local : null
StackTrace:
java.sql.SQLException:
ORA-01400: cannot insert NULL into (“APPLSYS”.”FND_APPS_SYSTEM”.”CSI_NUMBER”)
ORA-06512: at “APPS.FND_APP_SYSTEM”, line 39
ORA-06512: at “APPS.FND_NET_SERVICES”, line 1720
ORA-06512: at line 1
 

“The issue occurred due to a null value for the parameter s_systemcsi in the APPS Context XML file. This caused the AutoConfig script to attempt inserting a NULL value into the CSI_NUMBER column of the APPLSYS.FND_APPS_SYSTEM table, resulting in the error: ORA-01400: cannot insert NULL into ("APPLSYS"."FND_APPS_SYSTEM"."CSI_NUMBER").”

 
 

SOLUTION

1. Source the APPS Tier environment file $APPL_TOP/APPS_.env.
 
2. Backup the APPS Tier Context File
 
3. Edit APPS Tier tier context XML file,
 
Replace:
 
<AFSYSCSI oa_var="s_systemcsi"/>
 
With:
 
<AFSYSCSI oa_var="s_systemcsi">0</AFSYSCSI>
 
4. Save the changes.
 
5. Run autoconfig to re-test the issue.

 

 

 

 

    About Syed Saad

    With 13 years of experience as a certified and skilled Oracle Database Administrator, I possess the expertise to handle various levels of database maintenance tasks and proficiently perform Oracle updates. Throughout my career, I have honed my analytical abilities, enabling me to swiftly diagnose and resolve issues as they arise. I excel in planning and executing special projects within time-sensitive environments, showcasing exceptional organizational and time management skills. My extensive knowledge encompasses directing, coordinating, and exercising authoritative control over all aspects of planning, organization, and successful project completions. Additionally, I have a strong aptitude for resolving customer relations matters by prioritizing understanding and effective communication. I am adept at interacting with customers, vendors, and management, ensuring seamless communication and fostering positive relationships.

    Check Also

    Oracle Database Archive Log Generation Details

    Oracle Database Archive Log Generation Details   The Blog presents a script designed to query …

    Leave a Reply