"a line geometry has fewer than two coordinates"
*Cause: A geometry, specified as being a line, has fewer than two
coordinates in its definition.
*Action: 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.