Enshrouded-Server-Manager
Enshrouded-Server-Manager copied to clipboard
Microsoft .NET Object reference not set to an instance of an object. error
This error started to appear after enabling schedule restarts.
ESM version v.0.6.9
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Enshrouded_Server_Manager.Presenters.DiscordNotificationsPresenter.OnServerTimerUpdated(ServerProfile profile, String timeRemaining) in D:\EnshroudedServerManager\Enshrouded Server Manager\Presenters\DiscordNotificationsPresenter.cs:line 57
at Enshrouded_Server_Manager.Events.EventAggregator.Publish[T](T message) in D:\EnshroudedServerManager\Enshrouded Server Manager\Events\EventAggregator.cs:line 25
at Enshrouded_Server_Manager.Services.CountDownTimer.TimerTick(Object sender, EventArgs e) in D:\EnshroudedServerManager\Enshrouded Server Manager\Services\CountDownTimerService.cs:line 47
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
System.Private.CoreLib
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Private.CoreLib.dll
----------------------------------------
Enshrouded Server Manager
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Administrator/Desktop/esm/Enshrouded%20Server%20Manager.dll
----------------------------------------
System.Runtime
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Runtime.dll
----------------------------------------
Newtonsoft.Json
Assembly Version: 13.0.0.0
Win32 Version: 13.0.3.27908
CodeBase: file:///C:/Users/Administrator/Desktop/esm/Newtonsoft.Json.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11602
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.17/System.Windows.Forms.dll
----------------------------------------
System.ComponentModel.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.ComponentModel.Primitives.dll
----------------------------------------
System.Windows.Forms.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11602
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.17/System.Windows.Forms.Primitives.dll
----------------------------------------
System.Runtime.InteropServices
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Runtime.InteropServices.dll
----------------------------------------
System.Drawing.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Drawing.Primitives.dll
----------------------------------------
System.Collections.Specialized
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Collections.Specialized.dll
----------------------------------------
System.Threading
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Threading.dll
----------------------------------------
System.Diagnostics.TraceSource
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Diagnostics.TraceSource.dll
----------------------------------------
System.Collections
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Collections.dll
----------------------------------------
System.Drawing.Common
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.17/System.Drawing.Common.dll
----------------------------------------
System.Runtime.Serialization.Formatters
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Runtime.Serialization.Formatters.dll
----------------------------------------
System.Collections.Concurrent
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Collections.Concurrent.dll
----------------------------------------
System.Linq.Expressions
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Linq.Expressions.dll
----------------------------------------
System.Runtime.Numerics
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Runtime.Numerics.dll
----------------------------------------
System.Private.Uri
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Private.Uri.dll
----------------------------------------
System.Linq
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Linq.dll
----------------------------------------
System.ComponentModel.TypeConverter
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.ComponentModel.TypeConverter.dll
----------------------------------------
System.ObjectModel
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.ObjectModel.dll
----------------------------------------
System.Runtime.Serialization.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Runtime.Serialization.Primitives.dll
----------------------------------------
System.Data.Common
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Data.Common.dll
----------------------------------------
System.Xml.ReaderWriter
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Xml.ReaderWriter.dll
----------------------------------------
System.Private.Xml
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Private.Xml.dll
----------------------------------------
System.ComponentModel
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.ComponentModel.dll
----------------------------------------
System.Reflection.Emit.ILGeneration
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Reflection.Emit.ILGeneration.dll
----------------------------------------
System.Reflection.Emit.Lightweight
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Reflection.Emit.Lightweight.dll
----------------------------------------
System.Reflection.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Reflection.Primitives.dll
----------------------------------------
System.Memory
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Memory.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: n/a
CodeBase:
----------------------------------------
System.Net.WebClient
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Net.WebClient.dll
----------------------------------------
System.ComponentModel.EventBasedAsync
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.ComponentModel.EventBasedAsync.dll
----------------------------------------
Microsoft.Win32.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/Microsoft.Win32.Primitives.dll
----------------------------------------
System.Threading.Thread
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Threading.Thread.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 7.0.1724.11602
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.17/Accessibility.dll
----------------------------------------
System.Numerics.Vectors
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Numerics.Vectors.dll
----------------------------------------
Microsoft.Win32.SystemEvents
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.17/Microsoft.Win32.SystemEvents.dll
----------------------------------------
System.Runtime.Loader
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Runtime.Loader.dll
----------------------------------------
System.Resources.Extensions
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.17/System.Resources.Extensions.dll
----------------------------------------
System.Drawing
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11602
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.WindowsDesktop.App/7.0.17/System.Drawing.dll
----------------------------------------
System.Net.Requests
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Net.Requests.dll
----------------------------------------
System.Net.Primitives
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Net.Primitives.dll
----------------------------------------
System.Net.WebHeaderCollection
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Net.WebHeaderCollection.dll
----------------------------------------
System.Net.Http
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Net.Http.dll
----------------------------------------
System.Diagnostics.Tracing
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Diagnostics.Tracing.dll
----------------------------------------
System.Net.ServicePoint
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Net.ServicePoint.dll
----------------------------------------
System.Net.Security
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Net.Security.dll
----------------------------------------
System.Security.Cryptography
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Security.Cryptography.dll
----------------------------------------
System.Collections.NonGeneric
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Collections.NonGeneric.dll
----------------------------------------
System.Diagnostics.DiagnosticSource
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Diagnostics.DiagnosticSource.dll
----------------------------------------
System.Net.Quic
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Net.Quic.dll
----------------------------------------
System.Threading.ThreadPool
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Threading.ThreadPool.dll
----------------------------------------
System.Net.Sockets
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Net.Sockets.dll
----------------------------------------
System.Net.NameResolution
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Net.NameResolution.dll
----------------------------------------
System.Security.Principal.Windows
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Security.Principal.Windows.dll
----------------------------------------
System.Security.Claims
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Security.Claims.dll
----------------------------------------
System.Threading.Overlapped
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Threading.Overlapped.dll
----------------------------------------
System.Diagnostics.Process
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Diagnostics.Process.dll
----------------------------------------
Microsoft.CSharp
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/Microsoft.CSharp.dll
----------------------------------------
System.Text.Json
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Text.Json.dll
----------------------------------------
Microsoft.Win32.Registry
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/Microsoft.Win32.Registry.dll
----------------------------------------
System.IO.Compression.ZipFile
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.IO.Compression.ZipFile.dll
----------------------------------------
System.IO.Compression
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.IO.Compression.dll
----------------------------------------
System.Net.NetworkInformation
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Net.NetworkInformation.dll
----------------------------------------
System.Diagnostics.StackTrace
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Diagnostics.StackTrace.dll
----------------------------------------
System.Reflection.Metadata
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Reflection.Metadata.dll
----------------------------------------
System.Collections.Immutable
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Collections.Immutable.dll
----------------------------------------
System.IO.MemoryMappedFiles
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.IO.MemoryMappedFiles.dll
----------------------------------------
System.Text.Encoding.Extensions
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Text.Encoding.Extensions.dll
----------------------------------------
System.Diagnostics.FileVersionInfo
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1724.11508
CodeBase: file:///C:/Program%20Files/dotnet/shared/Microsoft.NETCore.App/7.0.17/System.Diagnostics.FileVersionInfo.dll
----------------------------------------
************** JIT Debugging **************
I haven't had time to look into this. For now try the workaround.
Turn on discord settings, then turn them off (if you don't want them)