Oracle Error Message
ORA-22307: operation must be on a user-defined type
Reason for the Error
attempt to perform an operation that is allowed only on a user-defined type, and the type is not a user-defined type.
Solution
Check to make sure that only user-defined types are being operated on.