Details
-
Bug
-
Resolution: Fixed
-
Major
-
0.9.11
-
None
-
None
Description
import org.slf4j.LoggerFactory;
import ch.qos.logback.classic.LoggerContext;
import ch.qos.logback.classic.jmx.Configurator;
import ch.qos.logback.classic.jmx.ConfiguratorMBean;
public class Test {
public static void main(String[] args)
}
Exception in thread "main" java.lang.NullPointerException
at ch.qos.logback.classic.Logger.setLevel(Logger.java:193)
at ch.qos.logback.classic.jmx.Configurator.setLoggerLevel(Configurator.java:92)
at Test.main(Test.java:14)
Attachments
Issue Links
- duplicates
-
LOGBACK-502 Logger.setLevel(null) will throw an NPE if the logger in question previously has a non-null level
- Resolved