Missing log entries.

Topics: Development Team Discussion, User Discussion
Dec 1, 2008 at 9:28 PM

Environment: SharePoint (ASP.NET)
Issue: Intermittently, log entries are missed. Library would not log any entry for a significant period of time and then starts logging again.

Event log shows the following entry
                **************************************

Exception Type: System.NullReferenceException

Message: Object reference not set to an instance of an object.

Data: System.Collections.ListDictionaryInternal

TargetSite: Void PerformRoll(System.DateTime)

HelpLink: NULL

Source: Microsoft.Practices.EnterpriseLibrary.Logging

StackTrace Information Details:

======================================

   at Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener.StreamWriterRollingHelper.PerformRoll(DateTime rollDateTime)

   at Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener.StreamWriterRollingHelper.RollIfNecessary()

   at Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener.TraceData(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, Object data)

   at Microsoft.Practices.EnterpriseLibrary.Logging.LogSource.TraceData(TraceEventType eventType, Int32 id, LogEntry logEntry, TraceListenerFilter traceListenerFilter)

   at Microsoft.Practices.EnterpriseLibrary.Logging.LogWriter.ProcessLog(LogEntry log)|Category: |Priority: -1|EventId: 6352|Severity: Error|Title:|Machine: IW-PORTAL2PL|Application Domain: /LM/W3SVC/843649093/Root-1-128695876786991502|Process Id: 4204|Process Name: c:\windows\system32\inetsrv\w3wp.exe|Win32 Thread Id: 4552|Thread Name: |Extended Properties:

**************************************

Regards,

Irfan