Page MenuHomePhabricator

Helpee management duplicate key exception
Open, HighPublic

Description

2022-08-02 22:28:29,483 [4] ERROR Stwalkerster.IrcClient.Network.SslNetworkClient [(null)] - Unhandled reader thread exception
System.ArgumentException: An item with the same key has already been added. Key: stwalkerster [stw!stwalkerst@wikimedia/stwalkerster]
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <533173d24dae460899d2b10975534bb0>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <533173d24dae460899d2b10975534bb0>:0 
  at Helpmebot.ChannelServices.Services.HelpeeManagementService.EndOfWhoReceived (System.Object sender, Stwalkerster.IrcClient.Events.EndOfWhoEventArgs e) [0x000cd] in <0f2e62c28e334e158bc9254444e00825>:0 
  at Stwalkerster.IrcClient.IrcClient.HandleEndOfWhoXReply (Stwalkerster.IrcClient.Messages.IMessage message) [0x00040] in <334af35668654dcbb9ba53223c024bc0>:0 
  at Stwalkerster.IrcClient.IrcClient.OnIrcMessageReceivedIrcEvent (System.Object sender, Stwalkerster.IrcClient.Events.IrcMessageReceivedEventArgs e) [0x00283] in <334af35668654dcbb9ba53223c024bc0>: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 <334af35668654dcbb9ba53223c024bc0>:0 
  at Stwalkerster.IrcClient.IrcClient.NetworkClientOnDataReceived (System.Object sender, Stwalkerster.IrcClient.Events.DataReceivedEventArgs dataReceivedEventArgs) [0x00118] in <334af35668654dcbb9ba53223c024bc0>:0 
  at Stwalkerster.IrcClient.Network.NetworkClient.OnDataReceived (Stwalkerster.IrcClient.Events.DataReceivedEventArgs e) [0x0000a] in <334af35668654dcbb9ba53223c024bc0>:0 
  at Stwalkerster.IrcClient.Network.NetworkClient.ReaderThreadTask () [0x000b4] in <334af35668654dcbb9ba53223c024bc0>:0

This occurs just after a WHOX result, and I suspect it's caused by a JOIN being received for the channel before the WHOX has been received.

Event Timeline

stwalkerster created this task.