Oracle Error ORA-22803: object type contains zero attributes

Oracle Error Message

ORA-22803: object type contains zero attributes

Reason for the Error

An attempt was made to create or specify a column or constructor of an object type that has no attributes. Only object types that have at least one attribute are allowed in this context.

Solution

specify a valid object type