Originally posted by sudhakar_shinde
I am getting an error 'ORA-06530 : reference to uninitialized composite'.This occurs very randomly and there is no pattern as such for this error's occurance.
You don't say what version you are running.
"Randomly" is the clue - it gets you pulling out you hair! I had this under 8.1.6 - that was a bug! It's in Metalink:

Bug No. 1606456
Filed 22-JAN-2001 Updated 23-MAY-2002
Product PL/SQL Product Version 8.1.6
Platform Intel Windows NT Platform Version 4.0 SP6
Database Version 8.1.6.0.0 Affects Platforms Generic
Priority Severe Loss of Service Status Q/A To Development
Base Bug N/A Fixed in Product Version 8.1.7.3

Problem statement:

ORA-6530 WHEN FETCHING ROWS INTO PL/SQL TABLES
---------------------------------------------------------------------

etc etc etc