NPE when trying to reload bands with empty range

Description

If you try to click on "Reload Band definitions" on a Layer without a defined range, a NPE is thrown. It is caused by a missing null-check on the WrappedSampleDimension code when trying to get minimum and maximum values.

Environment

None

Assignee

Unassigned

Reporter

codehaus

Triage

None

Fix versions

Affects versions

None

Components

Priority

Low
Configure