JKorf / Bittrex.Net

A C# .Net wrapper for the Bittrex web API including all features easily accessible and usable
MIT License
141 stars 62 forks source link

NullReferenceException in Bittrex.Net.Clients.BittrexSocketClient.Check #207

Closed EricGarnier closed 2 years ago

EricGarnier commented 2 years ago

Hi @JKorf , I try our latest version of Bittrex.Net and got an exception on the order update subscription.

Here the trace log (with some parts replace by XXX, and some cuts) Extract.txt

2022/02/21 10:00:49:635 | Error | Bittrex    | Socket 3 Exception during message processing
Exception: NullReferenceException - Object reference not set to an instance of an object.
   at Bittrex.Net.Clients.BittrexSocketClient.Check(String channel, String method, String data)
   at Bittrex.Net.Clients.BittrexSocketClient.MessageMatchesHandler(SocketConnection socketConnection, JToken message, Object request)
   at CryptoExchange.Net.Sockets.SocketConnection.HandleData(MessageEvent messageEvent)

Do you have an idea what goes wrong? What can I do to help ?

Thanks Eric.

JKorf commented 2 years ago

Hi, thanks for the report. This should be fixed in the latest version 7.01. Let me know if you have any other issues

EricGarnier commented 2 years ago

Hi, seems you fixed it just right. You nailed it down ;-)

Thanks.