My Oracle Support Banner

R12: AP: While applying 12.2.0 Upgrade Patch Getting Error : Object "AP_SUPPLIER_SITES_ALL" is not registered in table "FND_OBJECT_TABLESPACES" and "ORA-01452 cannot CREATE UNIQUE INDEX; duplicate keys found" (Doc ID 2964262.1)

Last updated on JULY 28, 2023

Applies to:

Oracle Payables - Version 12.0.0 to 12.2.12 [Release 12.0 to 12.2]
Information in this document applies to any platform.

Symptoms

While applying Consolidated upgrade patch and run the 12.2.0 Upgrade
getting following error:

 

ERROR MESSAGE
-----------------------

Warning: Object "AP_SUPPLIER_SITES_ALL" is not registered in table "FND_OBJECT_TABLESPACES".

AD Worker error:
The following ORACLE error:

ORA-12801: error signaled in parallel query server P00C, instance exablrdbadm02vm02.india.airtel.itm:CFINBAU2 (2)
ORA-01452: cannot CREATE UNIQUE INDEX; duplicate keys found

occurred while executing the SQL statement:

CREATE UNIQUE INDEX AP."AP_SUPPLIER_SITES_U2" ON AP.AP_SUPPLIER_SITES_ALL
 (VENDOR_ID, VENDOR_SITE_CODE, ORG_ID) LOGGING STORAGE (FREELIST GROUPS 4
 FREELISTS 4 ) PCTFREE 10 INITRANS 11 MAXTRANS 255 COMPUTE STATISTICS
 PARALLEL TABLESPACE APPS_TS_TX_IDX

AD Worker error:
Unable to compare or correct tables or indexes or keys
because of the error above




STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Login to the application server
2. Apply 12.2.0 upgrade patch
3. facing above warning and error message


Cause

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
Symptoms
Cause
Solution
References


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