If the application does
logger.debug(msg)
where the value of msg is null MessagePatternConverter will get a NullPointerException.