Hello, We have a DocumentTransformer that gets a Field from the SolrDocument and casts it to StoredField (although aparently we don't need to cast). This works well in tests and fine in production, except for some curious, unknown and unreproducible, cases, throwing the ClassCastException.
I can, and will, just remove the cast to fix the rare exception, but in what cases could the exception get thrown? Many thanks, Markus