Note that all four conditions must hold at the same time for the bug to materialize:
- log4j TRACE mode is enabled
- multiple MIME parts are contained in the message
The underlying reason is that the TRACE level logic is screwing up the counting of the multipart nesting levels.
A work-around is to reduce the TRACE level to DEBUG or higher for the solrcell command in log4j.properties, like so: