Cause: The number of elements in SDO_ORDINATE_ARRAY is not a multiple of the number of dimensions supplied by the user. See the solution below.
Error solution: Confirm that the number of dimensions is consistent with data representation in SDO_ORDINATE_ARRAY.
Database version: Oracle 11g Release 2 (11.2)