SocketclusterClientDotNet icon indicating copy to clipboard operation
SocketclusterClientDotNet copied to clipboard

Random error that crash application

Open dhpanteon opened this issue 4 years ago • 2 comments

{System.ArgumentException: An item with the same key has already been added. Key: 6 at System.Collections.Generic.Dictionary2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000ad] in <d4a23bbd2f544c30a48c44dd622ce09f>:0 at System.Collections.Generic.Dictionary2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in :0 at ScClient.Socket.Publish (System.String channel, System.Object data, ScClient.Emitter+Ackcall ack) [0x00075] in :0 at ScClient.Socket+Channel.Publish (System.Object data, ScClient.Emitter+Ackcall ack) [0x00001] in :0 at PrgName.MyListener.SendCordinate (System.Double lat, System.Double lon, System.Int32 carId) [0x0005c] in E:\localhost\PrgName\Helper\CommunicationHelper.cs:517 }

{System.ArgumentException: An item with the same key has already been added. Key: 2 at System.Collections.Generic.Dictionary2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000ad] in <d4a23bbd2f544c30a48c44dd622ce09f>:0 at System.Collections.Generic.Dictionary2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in :0 at ScClient.Socket.Emit (System.String Event, System.Object Object, ScClient.Emitter+Ackcall ack) [0x00053] in :0 at PrgName.Helper.MyListener.Login () [0x00034] in E:\localhost\PrgName\Helper\CommunicationHelper.cs:474 }

dhpanteon avatar Jan 23 '20 13:01 dhpanteon

Any update on this issue ?

dhpanteon avatar Aug 27 '20 14:08 dhpanteon

You should provide more info about when this occurs or how to reproduce it.

janusw avatar Sep 07 '21 06:09 janusw