Oracle Message ORA-13372 - failure in modifying metadata for a table with spatial index

ERRORfailure in modifying metadata for a table with spatial index
CAUSEModifying the metadata after the index is created will cause an inconsistency between the geometrys gtype and diminfo.
ACTIONModify (or Prepare) metadata before creating an index on the SDO_GEOMETRY column.