You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Dominik Psenner (JIRA)" <ji...@apache.org> on 2013/05/28 13:19:20 UTC

[jira] [Resolved] (LOG4NET-379) NullReferenceException in FileAppender when file is not filled.

     [ https://issues.apache.org/jira/browse/LOG4NET-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dominik Psenner resolved LOG4NET-379.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.12

Fixed with revision: 1486868
                
> NullReferenceException in FileAppender when file is not filled.
> ---------------------------------------------------------------
>
>                 Key: LOG4NET-379
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-379
>             Project: Log4net
>          Issue Type: Bug
>    Affects Versions: 1.2.11
>            Reporter: David Perfors
>            Assignee: Dominik Psenner
>             Fix For: 1.2.12
>
>
> When I create a FileAppender without a filename and I call ActivateOptions(), a NullReferenceException is thrown. This is because the filename is first trimmed before the check whether the filename is null or not.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira