My Oracle Support Banner

Cleanup Temporary UINs Batch Job Fails With 'ORA-06512' Error (Doc ID 2952840.1)

Last updated on JUNE 13, 2023

Applies to:

Oracle Retail Enterprise Inventory Cloud Service - Version 23.1 and later
Information in this document applies to any platform.


When attempting to process the Cleanup Temporary UINs batch it ends up in Failed status and the following error occurs.

Error executing stored procedure. SQLException(20003): ORA-20003: ORA-06531: Reference to uninitialized collection [Error Trace] ORA-06512: at "SIM01.PURGE_DATA_PKG", line 3867
ORA-06512: at "SIM01.PURGE_DATA_PKG", line 3859
ORA-06512: at "SIM01.PURGE_DATA_PKG", line 3890
ORA-06512: at line 1

Steps to Reproduce:

1. Set system configuration 'Days to Hold Temporary UINs' to 0.
2. Let the nightly scheduled batch job run.
3. Batch fails with error below.

Documentation says "This batch process deletes temporary UIN detail records. UIN detail records with no status and update date is at least X days in the past (where X is system parameter Days to Hold Temporary UINs). "




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.