Cause
There is an invalid SDO_GTYPE in the SDO_GEOMETRY object where the VARRAYs are NULL but the SDO_GTYPE is not of type POINT.
There is an invalid SDO_GTYPE in the SDO_GEOMETRY object where the VARRAYs are NULL but the SDO_GTYPE is not of type POINT.
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/9695154
https://community.oracle.com/message/9694781
https://community.oracle.com/message/10976229
https://community.oracle.com/message/10975014
https://community.oracle.com/message/1052166
https://community.oracle.com/message/1416457
Browse all solutions to database errors from Oracle, MS SQL, or MySQL