Oracle Solution for Error ora-24239

Solution for Oracle Error ORA-24239

ORA-24239: object could not be invalidated

What triggered the Error:

call to the DBMS_UTILITY.INVALIDATE routine failed. This error occurred because the object type of the object specified by the p_object_id argument is not one of the types that can be handled by this routine. Alternately, the object was an object type specification with table dependents, or the object was the specification of the STANDARD, DBMS_STANDARD, DBMS_UTILITY package, or the body of the DBMS_UTILITY package.

What should we do to fix it:

ll DBMS_UTILITY.INVALIDATE only on supported object types.