Details
Description
This error is reproducible when method fomarTo of the class ParameterizedMessage is invoked.
This root cause is the method init of same class where is invoked, in the this.indices is initializaded with messagePattern.length() >> 1 run to equals zero because that messagePattern.length() is 1 (string with one character).
I used File Appender in my XML config and I wrote my code with logger.trace("a").
My PatternLayout used is pattern="%m" (simplest).