Cause
There is an invalid SDO_GTYPE in the SDO_GEOMETRY object.
There is an invalid SDO_GTYPE in the SDO_GEOMETRY object.
Verify that the geometries have valid gtypes.
Try the following links for this error:
http://docs.oracle.com/cd/E16655_01/server.121/e26079/e12700.htm
https://community.oracle.com/message/4259363
https://community.oracle.com/message/3609857
Browse all solutions to database errors from Oracle, MS SQL, or MySQL