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