Oracle Message PLS-00580 - supertype must be an object type

ERRORsupertype must be an object type
CAUSEAn attempt was made to declare an object type to have a supertype, but the specified supertype was not itself an object type. Object types can inherit only from other object types.
ACTIONRemove the supertype specification, or change it to refer to an object type. If the declaration appears correct, make sure the supertype has compiled correctly.