Oracle Error ORA-06533: Subscript beyond count

Oracle Error Message

ORA-06533: Subscript beyond count

Reason for the Error

An in-limit subscript was greater than the count of a varray or too large for a nested table.

Solution

Check the program logic and explicitly extend if necessary.