Cause: An SDO_GEOM function was unable to determine the number of ordinates for the SDO layer <layer>. See the solution below.
Error solution: Verify that the <layer>_SDOLAYER table has a valid value for the column SDO_ORDCNT. Then retry the operation.
Database version: Oracle 11g Release 2 (11.2)