NullPointerException occurs when using DataUtilities.simple method for FeatureType without geometry.

Description

This is the method that causes the problem:

public static SimpleFeatureType simple(final FeatureType featureType)

When given featureType does not have default geometry set, then NPE is being thrown (at line: 1363 for version 20.2; for version 21.0 the line number is: 1357).

Environment

System: Windows 7 Professional 64bit
Java: 1.8

Assignee

Unassigned

Reporter

mroguski@poczta.fm

Triage

None

Components

Affects versions

Priority

Medium
Configure