ORA Error ReferenceSearch errors

All errors › ORA errors

ORA-06531: Reference to uninitialized collection

What it means

A nested table or varray was used before being initialised.

How to fix it

Initialise with the constructor (v := t_tab()) or BULK COLLECT into it; associative arrays need no initialisation.

Catch it before it runs

ORA Error Helper
Explains ORA-/PLS- codes inside JetBrains IDEs and DataGrip.
PL/SQL Lint
Flags risky PL/SQL patterns while you type.
Oracle Plan Reader
Reads execution plans and points at the slow step.
PL/SQL in Practice
Kindle book with practical PL/SQL for working developers.

Nearby errors

Updated 2026-11-12.