Oracle Error Message
ORA-13379: invalid index for sub-element to be extracted
Reason for the Error
An invalid (or out of bounds) index was specified for extracting a sub-element from a geometry.
Solution
Make sure the parameters to the extract function are in the valid range for the geometry.