Oracle Message ORA-13366 - invalid combination of interior exterior rings

ERRORinvalid combination of interior exterior rings
CAUSEIn an Oracle Spatial geometry, interior and exterior rings are not used consistently.
ACTIONMake sure that the interior rings corresponding to an exterior ring follow the exterior ring in the ordinate array.