Oracle Error Message
ORA-22871: ALTER TYPE with REPLACE is not allowed for pure incomplete types
Reason for the Error
An attempt to perform ALTER TYPE with REPLACE option for a pure incomplete type
Solution
Completely define the original type, before using the ALTER TYPE with REPLACE option.