RemotingAppender failes once NDC becomes empty
----------------------------------------------

         Key: LOG4NET-21
         URL: http://issues.apache.org/jira/browse/LOG4NET-21
     Project: Log4net
        Type: Bug
  Components: Core  
    Versions: 1.2.9    
    Reporter: Nicko Cadell
 Assigned to: Nicko Cadell 
    Priority: Critical


If an NDC, or any form of Context.Stack, is set on the current thread and then 
becomes empty the RemotingAppender will fail. This is caused by the 
LoggingEvent Properties failing to serialise due to an unexpected null value in 
the properties map.

The issue is caused by the GetObjectData method of 
log4net.Util.ReadOnlyPropertiesDictionary not coping with null values.

Issue reported by Sam Smoot.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to