Oracle Error Message
ORA-13341: a line geometry has fewer than two coordinates
Reason for the Error
A geometry, specified as being a line, has fewer than two coordinates in its definition.
Solution
A line must consist of at least two distinct coordinates. Correct the geometric definition, or set the appropriate SDO_GTYPE or SDO_ETYPE attribute for this geometry.