Cause: The SDO_GTYPE attribute in the geometry object contains an invalid value See the solution below.
Error solution: Redefine the geometric type in the geometry table using one of the supported SDO_GTYPE values. See the Oracle Spatial documentation for an explanation of SDO_GTYPE and its possible values.
Database version: Oracle 11g Release 2 (11.2)