Oracle Error Message
ORA-02307: cannot alter with REPLACE option a type that is not valid
Reason for the Error
An attempt was made to ALTER with REPLACE option a type that is not valid.
Solution
Use the CREATE OR REPLACE TYPE command to modify the type.