Log4net
  1. Log4net
  2. LOG4NET-379

NullReferenceException in FileAppender when file is not filled.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.11
    • Fix Version/s: 1.2.12
    • Component/s: None
    • Labels:
      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.

        Activity

        Hide
        Dominik Psenner added a comment -

        Fixed with revision: 1486868

        Show
        Dominik Psenner added a comment - Fixed with revision: 1486868

          People

          • Assignee:
            Dominik Psenner
            Reporter:
            David Perfors
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development