My Oracle Support Banner

ORA-6510 : Invoking Natively Compiled (NCOMP) DBMS_WORKLOAD_REPOSITORY Fails (Doc ID 391008.1)

Last updated on JANUARY 30, 2022

Applies to:

PL/SQL - Version 10.1.0.2 to 11.2.0.1 [Release 10.1 to 11.2]
Information in this document applies to any platform.

Symptoms

When DBMS_WORKLOAD_REPOSITORY is natively compiled using

alter package dbms_workload_repository compile plsql_code_type=native reuse settings;

it fails with the following error:

ERROR at line 1: 
ORA-6510: PL/SQL: unhandled user-defined exception 
ORA-6512: at "SYS.DBMS_WORKLOAD_REPOSITORY", line 283 
ORA-6512: at line 1 

The interpreted version of DBMS_WORKLOAD_REPOSITORY works successfully.

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.