sacOO7 / SocketclusterClientDotNet

C# client for socketcluster framework in node.js
http://socketcluster.io/#!/
Apache License 2.0
69 stars 16 forks source link

Random error that crash application #26

Open dhpanteon opened 4 years ago

dhpanteon commented 4 years ago

1) {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 }

2) {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 commented 4 years ago

Any update on this issue ?

janusw commented 3 years ago

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