[logback-dev] [JIRA] Resolved: (LBCLASSIC-83) Logger.setLevel(null) will throw an NPE if the logger in question previously has a non-null level

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Thu Nov 6 18:18:21 CET 2008


     [ http://jira.qos.ch/browse/LBCLASSIC-83?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ceki Gulcu resolved LBCLASSIC-83.
---------------------------------

    Resolution: Fixed

> Logger.setLevel(null) will throw an NPE if the logger in question previously has a non-null level 
> --------------------------------------------------------------------------------------------------
>
>                 Key: LBCLASSIC-83
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-83
>             Project: logback-classic
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 0.9.9, 0.9.10, 0.9.11, 0.9.12
>            Reporter: Ceki Gulcu
>            Assignee: Ceki Gulcu
>            Priority: Blocker
>             Fix For: 0.9.12
>
>
> This bug causes  LBCLASSIC-79 as symptom. To reproduce
> Logger logger = LoggerFactory.getLogger("x");
> logger.setLevel(Level.DEBUG)
> logger.setLevel(null); // throws NPE

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list