NPE if a Jiffle Rendering Transformation is used with Channel Selection

Description

Trying to use a Jiffle transformation in a style along with a Channel Selection rule will end up with the following error message:

Error rendering coverage on the fast path java.lang.RuntimeException: Failed to evaluate the process function, error is: java.lang.NullPointerException Failed to evaluate the process function, error is: java.lang.NullPointerException java.lang.NullPointerException

Removing the Channel Selection from the rule will render correctly.

Example SLD :

Environment

None

Assignee

Andrea Aime

Reporter

Gnafu

Triage

None

Fix versions

Affects versions

Components

Priority

Medium
Configure