False ORA-01031 or ORA-00942 Raised for Objects with the Same Name in Different Schemas (Doc ID 1287914.1)

Last updated on JANUARY 12, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.2 [Release 10.2 to 11.2]
Information in this document applies to any platform.

Symptoms

Valid statements run by users with appropriate permissions are intermittently failing with ORA-00942 or ORA-01031.
What is specific to this kind of issues is that objects with the same name as the ones accessed by the query exist in other schemas.
To investigate the issue, the following events are set:

For ORA-01031:
alter system set events='1031 trace name errorstack level 3';
For ORA-942:
alter system set events='942 trace name errorstack level 3';


If the instance is restarted, the event setting statements above should be rerun.
After checking the generated trace files, the following errorstack is found:

kzpchkbu <- kksaxs <- kksauc <- kkscscid_auc_eval <- kkscsCheckCriteria
<- kkscsCheckCursor <- kkscsSearchChildLis <- kksSearchChildList <- kksfbc
<- kkspsc0 <- kksParseCursor


To have an issue of this kind investigated by support, set the following event and upload the resulting trace into the SR:


alter system set events '1031 trace name errorstack level 3; name library_cache level 72';

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms