Cause
Modifying the metadata after the index is created will cause an inconsistency between the geometry's gtype and diminfo.
Modifying the metadata after the index is created will cause an inconsistency between the geometry's gtype and diminfo.
Modify (or Prepare) metadata before creating an index on the SDO_GEOMETRY column.
Try the following links for this error:
http://docs.oracle.com/cd/E16655_01/server.121/e26079/e12700.htm
Browse all solutions to database errors from Oracle, MS SQL, or MySQL