Error 122: Invalid class type The name of a defined object was invalid. The name of an object cannot be the same as a parent name. For example, the following will cause this error: TYPE my_name = OBJECT( my_name );