Oracle DBA, How To, Error, Cause and Action

ORA-04055: Aborted: string formed a non-REF mutually-dependent cyclewith string.

ORA-04055: Aborted: "string" formed a non-REF mutually-dependent cycle with "string".




Cause: This compilation was aborted because the library unit that was compiled would have formed a non-REF mutually-dependent cycle with some other library units. This happens when an attempt is made to compile types that have attributes of other types that may participate in a cycle with this type. Example: create type t1; create type t2 (a t1); create type t1 (a t2);




Action: Break the cycle (possibly by adding a REF or by using another type).