Oracle Solution for Error ora-06533

Solution for Oracle Error ORA-06533

ORA-06533: Subscript beyond count

What triggered the Error:

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

What should we do to fix it:

Check the program logic and explicitly extend if necessary.