NullPointerException at a specific resolution using VendorOption graphic-resize

Description

Using the default geoserver DATA folder, and putting a square around a label of a point it throws an error on scale 1:8k.It only happens at 1:8k with this font-size (2). If we change the font-size it happens at another scale.

How to replicate:On point.sld add the following rule:

Open the Layer Preview of Geoserver web to test or put the URL in the browser:http://localhost/geoserver/tiger/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=tiger%3Apoi&exceptions=application%2Fvnd.ogc.se_inimage&STYLES=point&SRS=EPSG%3A4326&WIDTH=1001&HEIGHT=501&BBOX=-74.01942026886464%2C40.70413100448132%2C-73.9979623529005%2C40.71486008438587

Got the error:

Environment

None

Status

Assignee

Unassigned

Reporter

Tiago Vieira

Triage

None

Affects versions

Priority

Medium
Configure