You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Message pattern "\\\\{}" causes ArrayIndexOutOfBoundsException during ParameterizedMessage.init()
Configuration
Default spring boot configuration.
Version: [Log4j version]
Known reproducable versions: 2.12.0 - 2.20.0
Operating system: [OS and version]
Windows 10
JDK: [JDK distribution and version]
Oracle JDK 1.8u362
Logs
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2
at org.apache.logging.log4j.message.ParameterFormatter.countArgumentPlaceholders2(ParameterFormatter.java:121)
at org.apache.logging.log4j.message.ParameterizedMessage.init(ParameterizedMessage.java:149)
at org.apache.logging.log4j.message.ParameterizedMessage.<init>(ParameterizedMessage.java:123)
at org.apache.logging.log4j.message.ParameterizedMessage.<init>(ParameterizedMessage.java:132)
at org.apache.logging.log4j.message.ParameterizedMessageFactory.newMessage(ParameterizedMessageFactory.java:70)
at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:2033)
at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1899)
at org.apache.logging.slf4j.Log4jLogger.error(Log4jLogger.java:304)
......
Uh oh!
There was an error while loading. Please reload this page.
Description
Message pattern
"\\\\{}"
causesArrayIndexOutOfBoundsException
during ParameterizedMessage.init()Configuration
Default spring boot configuration.
Version: [Log4j version]
Known reproducable versions: 2.12.0 - 2.20.0
Operating system: [OS and version]
Windows 10
JDK: [JDK distribution and version]
Oracle JDK 1.8u362
Logs
Reproduction
The text was updated successfully, but these errors were encountered: