SLD vendor option graphic-margin can't be empty

Description

An empty <VendorOption name="graphic-margin”/> on a marker fill results in a geotools error:
2019-09-23 19:52:22,111 ERROR [geotools.rendering] - java.lang.NullPointerException at org.geotools.styling.visitor.UomRescaleStyleVisitor.scaleIntArrayOption(UomRescaleStyleVisitor.java:283)

Environment

GeoServer 2.16
SLD1.0

Status

Assignee

Unassigned

Reporter

Paul van Genuchten

Triage

Priority

Medium
Configure