Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-379

NullReferenceException in FileAppender when file is not filled.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.11
    • 1.2.12
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            nachbarslumpi Dominik Psenner
            dnperfors David Perfors
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: