Oracle Error ORA-06532: Subscript outside of limit

Oracle Error Message

ORA-06532: Subscript outside of limit

Reason for the Error

A subscript was greater than the limit of a varray or non-positive for a varray or nested table.

Solution

Check the program logic and increase the varray limit if necessary.