Skip to content

OGCGeometry#boundary fails with NullPointerException on empty linestring #173

@mbasmanova

Description

@mbasmanova

OGCGeometry.fromText("LINESTRING EMPTY").boundary() throws NullPointerException

java.lang.NullPointerException
	at com.esri.core.geometry.MultiPathImpl.isClosedPath(MultiPathImpl.java:568)
	at com.esri.core.geometry.MultiPathImpl.isClosedPathInXYPlane(MultiPathImpl.java:572)
	at com.esri.core.geometry.MultiPath.isClosedPathInXYPlane(MultiPath.java:673)
	at com.esri.core.geometry.ogc.OGCLineString.isClosed(OGCLineString.java:85)
	at com.esri.core.geometry.ogc.OGCCurve.boundary(OGCCurve.java:44)

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions