RimWorld

RimWorld

Twitch Toolkit
Captolamia 28 Oct, 2021 @ 12:44pm
Disconnects and Users unable to buy stuff becuase of it.
Exception in Verse.Window.InnerWindowOnGUI: System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object
at ToolkitCore.Controllers.ViewerController+<>c__DisplayClass2_0.<ViewerExists>b__0 (ToolkitCore.Models.Viewer x) [0x00000] in <aca86fa1b48642ec8f762b40acc73989>:0
at System.Collections.Generic.List`1[T].Find (System.Predicate`1[T] match) [0x0000d] in <eae584ce26bc40229c1b1aa476bfa589>:0
at ToolkitCore.Controllers.ViewerController.ViewerExists (System.String Username) [0x00013] in <aca86fa1b48642ec8f762b40acc73989>:0
at ToolkitCore.Models.MessageLog.LogMessage (TwitchLib.Client.Models.ChatMessage chatMessage) [0x0003b] in <aca86fa1b48642ec8f762b40acc73989>:0
at SirRandoo.ToolkitUtils.Harmony.MessagePatch.Prefix (System.Object sender, TwitchLib.Client.Events.OnMessageReceivedArgs e) [0x00052] in <c7c9dc2361434f488d9e09d3373235db>:0
at (wrapper dynamic-method) ToolkitCore.TwitchWrapper.ToolkitCore.TwitchWrapper.OnMessageReceived_Patch1(object,TwitchLib.Client.Events.OnMessageReceivedArgs)
at TwitchLib.Client.TwitchClient.HandlePrivMsg (TwitchLib.Client.Models.Internal.IrcMessage ircMessage) [0x000d8] in <c9b2a2282ba14b6d9574b8e75863df05>:0
at TwitchLib.Client.TwitchClient.HandleIrcMessage (TwitchLib.Client.Models.Internal.IrcMessage ircMessage) [0x000ca] in <c9b2a2282ba14b6d9574b8e75863df05>:0
at TwitchLib.Client.TwitchClient._client_OnMessage (System.Object sender, TwitchLib.Communication.Events.OnMessageEventArgs e) [0x00073] in <c9b2a2282ba14b6d9574b8e75863df05>:0
at TwitchLib.Communication.Clients.WebSocketClient+<<StartListenerTask>b__68_0>d.MoveNext () [0x00164] in <53bc7fa334024909867e58acab4395fb>:0
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x001d1] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, System.Int32 millisecondsTimeout) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at TwitchLib.Communication.Clients.WebSocketClient.CleanupServices () [0x00044] in <53bc7fa334024909867e58acab4395fb>:0
at TwitchLib.Communication.Clients.WebSocketClient.Close (System.Boolean callDisconnect) [0x00018] in <53bc7fa334024909867e58acab4395fb>:0
at TwitchLib.Client.TwitchClient.Disconnect () [0x0001a] in <c9b2a2282ba14b6d9574b8e75863df05>:0
at ToolkitCore.ToolkitCoreSettings.DoWindowContents (UnityEngine.Rect inRect) [0x003de] in <aca86fa1b48642ec8f762b40acc73989>:0
at ToolkitCore.ToolkitCore.DoSettingsWindowContents (UnityEngine.Rect inRect) [0x00001] in <aca86fa1b48642ec8f762b40acc73989>:0
at RimWorld.Dialog_ModSettings.DoWindowContents (UnityEngine.Rect inRect) [0x001c2] in <e13bd2f1929544099ed2b58e66ece833>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001f8] in <e13bd2f1929544099ed2b58e66ece833>:0
- transpiler net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)