Hangfire caused fatal error


#1

My boss got error on his laptop with this stacktrace:

Fatal on LAPTOP-BGTGSTJU: Exception occurred in NLog
2018-01-28 11:39:33.1419
Fatal error occurred during execution of ‘Worker #b261e15e’ process. It will be stopped. See the exception for details.
| Exception occurred in NLog Void b__0(System.Exception)
at NLog.LoggerImpl.<>c__DisplayClass1.b__0(Exception ex)
at NLog.Internal.SingleCallContinuation.Function(Exception exception)
at NLog.Targets.MailTarget.ProcessSingleMailMessage(List1 events) at NLog.Targets.MailTarget.Write(AsyncLogEventInfo[] logEvents) at NLog.Targets.MailTarget.Write(AsyncLogEventInfo logEvent) at NLog.Targets.Target.WriteAsyncLogEvent(AsyncLogEventInfo logEvent) at NLog.LoggerImpl.WriteToTargetWithFilterChain(TargetWithFilterChain targetListHead, LogEventInfo logEvent, AsyncContinuation onException) at NLog.LoggerImpl.Write(Type loggerType, TargetWithFilterChain targets, LogEventInfo logEvent, LogFactory factory) at NLog.Logger.WriteToTargets(LogLevel level, String message, Exception ex) at CallSite.Target(Closure , CallSite , Object , String , Exception ) at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3[T0,T1,T2](CallSite site, T0 arg0, T1 arg1, T2 arg2) at Hangfire.Logging.LogProviders.NLogLogProvider.NLogLogger.LogException(LogLevel logLevel, Func1 messageFunc, Exception exception)
at Hangfire.Logging.LogProviders.NLogLogProvider.NLogLogger.Log(LogLevel logLevel, Func1 messageFunc, Exception exception) at Hangfire.Logging.LoggerExecutionWrapper.Log(LogLevel logLevel, Func1 messageFunc, Exception exception)
at Hangfire.Server.AutomaticRetryProcess.Execute(BackgroundProcessContext context)
at Hangfire.Server.ServerProcessExtensions.Execute(IServerProcess process, BackgroundProcessContext context)
at Hangfire.Server.InfiniteLoopProcess.Execute(BackgroundProcessContext context)
at Hangfire.Server.ServerProcessExtensions.Execute(IServerProcess process, BackgroundProcessContext context)
at Hangfire.Server.ServerProcessExtensions.RunProcess(IServerProcess process, BackgroundProcessContext context)

Can anyone help me to start understand what happen?
It looks like some job failed and it tried to retry … And it failed fatal then.
I looked at this resource with pointing that this could be Hangfire bug.