Oracle Error ORA-04061: existing state of string has been invalidated

Oracle Error Message

ORA-04061: existing state of string has been invalidated

Reason for the Error

Attempt to resume the execution of a stored procedure using the existing state which has become invalid or inconsistent with the stored procedure because the procedure has been altered or dropped.

Solution

Try again; this error should have caused the existing state of all packages to be re-initialized.