Oracle Error ORA-22343: Compilation error for type invalidated by ALTER TYPE

Oracle Error Message

ORA-22343: Compilation error for type invalidated by ALTER TYPE

Reason for the Error

Compilation failed for a type which was invalidated by ALTER TYPE. We throw this error and rollback the compilation effort so that the user may be able to fix whatever is causing the compilation error and try again. It is important that we do not chnage status here and modify the dependency information as this will affect the creation of versions.

Solution

Check what is causing teh compilation error and correct it and try again.