Description
NPE on Message.getFormat().length()
java.lang.NullPointerException: null at org.apache.logging.log4j.spi.AbstractLogger.handleLogMessageException(AbstractLogger.java:2184) ~[log4j-api-2.11.0.jar:2.11.0] at org.apache.logging.log4j.spi.AbstractLogger.tryLogMessage(AbstractLogger.java:2173) ~[log4j-api-2.11.0.jar:2.11.0] at org.apache.logging.log4j.spi.AbstractLogger.logMessageTrackRecursion(AbstractLogger.java:2125) ~[log4j-api-2.11.0.jar:2.11.0] at org.apache.logging.log4j.spi.AbstractLogger.logMessageSafely(AbstractLogger.java:2108) ~[log4j-api-2.11.0.jar:2.11.0] at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1827) ~[log4j-api-2.11.0.jar:2.11.0] at org.apache.logging.log4j.spi.AbstractLogger.trace(AbstractLogger.java:2272) ~[log4j-api-2.11.0.jar:2.11.0]