IllegalArgumentException when unknown mark is used in SLD

Description

When a style uses a mark that is not known to Geotools, I get this error
2019-09-29 09:00:53,437 ERROR [renderer.lite] - The specified mark org.geotools.renderer.lite.MemoryFilterOptimizer$IndexPropertyName@299edc75 was not found!
java.lang.IllegalArgumentException: The specified mark org.geotools.renderer.lite.MemoryFilterOptimizer$IndexPropertyName@299edc75 was not found!
at org.geotools.renderer.style.SLDStyleFactory.createMarkStyle(SLDStyleFactory.java:643)

Alternative could be to skip the error and just don’t render the mark, or use a default mark? At least in the error I would expect the missing mark is mentioned by name and not by @299edc75.

Style used uses a property as input for the symbol to use:

Environment

GeoServer 2.16
SLD1.0

Status

Assignee

Unassigned

Reporter

Paul van Genuchten

Triage

Priority

Medium
Configure