Style with Interpolate function causes NullPointerException on GetLegendGraphic

Description

I'm using the Interpolate function to pick a color based on a feature property.
The style works as expected but the GetLegendGraphic requests fail with a NullPointerException.

Here is how to reproduce:

The result is :

With the following log:

Environment

None

Status

Assignee

Andrea Aime

Reporter

Gnafu

Triage

None

Fix versions

Affects versions

2.13-beta

Components

Priority

Medium
Configure