Message Oracle ORA-54538 - unexpected gtype

ERRORunexpected gtype
CAUSEThe gtype of the geometry was not GTYPE_SOLID, GTYPE_SURFACE, GTYPE_CURVE or GTYPE_POINT.
ACTIONCorrect the elemInfo array to fix any invalid gtype and etypes that violate the geometry hierarchy.