ORA-6530 and ORA-6512 When Executing a Stored Procedure Which Uses Object Type (Doc ID 1012152.102)

Last updated on JULY 05, 2017

Applies to:

PL/SQL - Version 9.2.0.8 and later
Information in this document applies to any platform.
***Checked for relevance on 06-Feb-2015***

Symptoms

 Executing a stored procedure that selects from an object type fails with:

ORA-06530: Reference to uninitialized composite

For Example:


SQL> execute test;
begin test; end;

*
ERROR at line 1:
ORA-06530: Reference to uninitialized composite
ORA-06512: at "NLIU.TEST", line 15
ORA-06512: at line 1

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