locked
Getting Error in Application RRS feed

  • Question

  • User-1900266753 posted

    Hi,

    Getting below error in the event log.

    Application: ABC.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.NullReferenceException
    at Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener+StreamWriterRollingHelper.UpdateRollingInformationIfNecessary()
    at Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener+StreamWriterRollingHelper.RollIfNecessary()
    at Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener.<.ctor>b__0(System.Object)
    at System.Threading.TimerQueueTimer.CallCallbackInContext(System.Object)
    at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
    at System.Threading.TimerQueueTimer.CallCallback()
    at System.Threading.TimerQueueTimer.Fire()
    at System.Threading.TimerQueue.FireNextTimers()
    at System.Threading.TimerQueue.AppDomainTimerCallback()

    Any one know what cause this issue ?

    Thanks,

    Hardik Ramwani

    Monday, August 5, 2019 10:11 AM

All replies

  • User753101303 posted

    Hi,

    It happens when you try to use a member of a null object. As it doesn't seems to happen in your own code I would say some configuration misktake in Enterprise Library logging ?

    If needed and depending on the version you could have a look at https://github.com/microsoftarchive/enterprise-library maybe...

    Monday, August 5, 2019 11:42 AM