Oracle Solution for Error ora-54538

Solution for Oracle Error ORA-54538

ORA-54538: unexpected gtype

What triggered the Error:

The gtype of the geometry was not GTYPE_SOLID, GTYPE_SURFACE, GTYPE_CURVE or GTYPE_POINT.

What should we do to fix it:

Correct the elemInfo array to fix any invalid gtype and etypes that violate the geometry hierarchy.