Oracle Error PLS-00589: no attributes found in object type “string”

Oracle Error Message

PLS-00589: no attributes found in object type “string”

Reason for the Error

Table of non adt type is defined.

Solution

Table of type should be of ADT type only