Page MenuHomePhabricator

Fatal error on mode change
Closed, ResolvedPublic

Description

[ERROR] FATAL UNHANDLED EXCEPTION: System.Collections.Generic.KeyNotFoundException: The given key '##Stwalkerster' was not present in the dictionary.
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <71d8ad678db34313b7f718a414dfcb25>:0 
  at Helpmebot.Background.ModeMonitoringService.OnNoticeReceived (System.Object sender, Stwalkerster.IrcClient.Events.MessageReceivedEventArgs e) [0x000a1] in <825a3bfb09e04efb930f2244db88bada>:0 
  at (wrapper delegate-invoke) System.EventHandler`1[Stwalkerster.IrcClient.Events.MessageReceivedEventArgs].invoke_void_object_TEventArgs(object,Stwalkerster.IrcClient.Events.MessageReceivedEventArgs)
  at Stwalkerster.IrcClient.IrcClient.OnIrcMessageReceivedIrcEvent (System.Object sender, Stwalkerster.IrcClient.Events.IrcMessageReceivedEventArgs e) [0x0013e] in <254672712e65423b97d9d7c4d5a5f300>:0 
  at (wrapper delegate-invoke) System.EventHandler`1[Stwalkerster.IrcClient.Events.IrcMessageReceivedEventArgs].invoke_void_object_TEventArgs(object,Stwalkerster.IrcClient.Events.IrcMessageReceivedEventArgs)
  at Stwalkerster.IrcClient.IrcClient.RaiseDataEvent (Stwalkerster.IrcClient.Messages.IMessage message) [0x00013] in <254672712e65423b97d9d7c4d5a5f300>:0 
  at Stwalkerster.IrcClient.IrcClient.NetworkClientOnDataReceived (System.Object sender, Stwalkerster.IrcClient.Events.DataReceivedEventArgs dataReceivedEventArgs) [0x00092] in <254672712e65423b97d9d7c4d5a5f300>:0
 
  at Stwalkerster.IrcClient.Network.NetworkClient.OnDataReceived (Stwalkerster.IrcClient.Events.DataReceivedEventArgs e) [0x0000a] in <254672712e65423b97d9d7c4d5a5f300>:0 
  at Stwalkerster.IrcClient.Network.NetworkClient.ReaderThreadTask () [0x00024] in <254672712e65423b97d9d7c4d5a5f300>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <71d8ad678db34313b7f718a414dfcb25>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in 
<71d8ad678db34313b7f718a414dfcb25>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <71d8ad6
78db34313b7f718a414dfcb25>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <71d8ad678db34313b7f718a414dfcb25>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <71d8ad678db34313b7f718a414dfcb25>:0

This is caused by Helpmebot.Background.ModeMonitoringService.OnNoticeReceived doing a lookup on this.watchedChannels[channel], where channel is not to-lowered first.

Revisions and Commits

Event Timeline

stwalkerster created this task.
stwalkerster created this object in space Restricted Space.
stwalkerster raised the priority of this task from High to Needs Triage.Jul 10 2018, 6:34 PM
stwalkerster triaged this task as High priority.
stwalkerster moved this task from Backlog to Bugs on the Helpmebot board.
Diffusion closed this task as Resolved by committing Restricted Diffusion Commit.Jul 10 2018, 7:11 PM
Diffusion added a commit: Restricted Diffusion Commit.
stwalkerster shifted this object from the Restricted Space space to the S1 Default space.Jul 10 2018, 7:15 PM