[Geoserver-devel] [JIRA] (GEOS-7794) GridCoverageFactory throws NullPointerException on arg described as nullable

Iain Matcham created an issue

GeoServer / BugGEOS-7794

GridCoverageFactory throws NullPointerException on arg described as nullable

Issue Type:

BugBug

Assignee:

Unassigned

Created:

12/Oct/16 3:41 AM

Priority:

MediumMedium

Reporter:

Iain Matcham

GridCoverageFactory.create(CharSequence,WritableRaster,CoordinateReferenceSystem,MathTransform,GridSampleDimension)

For bands javadocs state:

Sample dimensions for each image band, or

{@code null}

for default sample dimensions.

But the first line of the constructor references bands[0], thus requiring it to be not-null

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.383.2#100014-sha1:783d425)

Atlassian logo