[ http://issues.apache.org/jira/browse/LOG4NET-21?page=history ] Nicko Cadell resolved LOG4NET-21: ---------------------------------
Resolution: Fixed Fix Version: 1.2.10 Fixed by not serialising key-value pairs from the LoggingEvent Properties if the key or value is null. > 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 > Assignee: Nicko Cadell > Priority: Critical > Fix For: 1.2.10 > > 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