Oracle Solution for Error ora-13378

Solution for Oracle Error ORA-13378

ORA-13378: invalid index for element to be extracted

What triggered the Error:

An invalid (or out of bounds) index was specified for extracting an element from a geometry.

What should we do to fix it:

Make sure the parameters to the extract function are in the valid range for the geometry.