OCI-02225
You can only grant or revoke EXECUTE and DEBUG object privileges for this object.
Cause
An attempt was made to grant or revoke an invalid privilege on a procedure, function, package, library, assembly, java source, java class, java resource, java shared data, Multilingual Engine (MLE) language, or SQL DOMAIN. You can only grant or revoke the EXECUTE and DEBUG object privilege on these object types.
Action
Do not attempt to grant or revoke any privilege besides EXECUTE or DEBUG on procedures, functions package, library, assembly, java source, java class, java resource, java shared data, MLE language or SQL DOMAIN.