ClassCastException in org.geotools.filter.visitor.SimplifyingFilterVisitor

Description

I have been trying to upgrade from GeoServer 2.4.5 to 2.11.

In the process, I have encountered this exception:

I realise there is a strong possibility that there is a bad request/incorrect configuration/setup on my side. In any case, the exception that is thrown is unexpected, and the cast is bad. I've had a look at the GT source and it is clear that the exception is thrown here:

which can call:

Again, I'm not sure what the implications are, i.e. what data/request I have given that it is not happy with. Nevertheless throwing a ClassCastException here is certainly a bug.

Environment

Windows 10

Assignee

Andrea Aime

Reporter

Aart Meijer

Triage

Components

Fix versions

Affects versions

Priority

Medium
Configure