Oracle Error ORA-22619: all collection elements have already been accessed

Oracle Error Message

ORA-22619: all collection elements have already been accessed

Reason for the Error

Accessing a collection element after all the collection elements are already accessed

Solution

This function should not be invoked any more.