Jump to content
Guest andreif

irregular NullReferenceException in LightstreamerClient

Recommended Posts

Guest andreif

 

This exceptions happens from time to time (I can’t detect any system yet) 
Code repo: https://github.com/fandrei/CityIndexScreensaver

System.NullReferenceException: Object reference not set to an instance of an object.

at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)

at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)

at StreamingClient.Lightstreamer.LightstreamerClient.BuildListener
in c:\dev\workspace\CIAPI.CS\src\StreamingClient\Lightstreamer\LightStreamerClient.cs:line 117

at CIAPI.Streaming.Lightstreamer.LightstreamerClient.BuildPriceListener(String topic) in c:\dev\workspace\CIAPI.CS\src\CIAPI\Streaming\Lightstreamer\LightStreamerClient.cs:line 16
at CityIndexScreensaver.Data.SubscribePricesThreadEntry(String topic, Action`1 onUpdate) in d:\Projects\CityIndexScreensaver\CityIndexScreensaver\Data.cs:line 84 OK

 

Share this post


Link to post
Guest mrdavidlaing

 

This exceptions happens from time to time (I can’t detect any system yet) 

Code repo: https://github.com/fandrei/CityIndexScreensaver

System.NullReferenceException: Object reference not set to an instance of an object.

at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)

at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)

at StreamingClient.Lightstreamer.LightstreamerClient.BuildListener
TDto
in c:\dev\workspace\CIAPI.CS\src\StreamingClient\Lightstreamer\LightStreamerClient.cs:line 117

at CIAPI.Streaming.Lightstreamer.LightstreamerClient.BuildPriceListener(String topic) in c:\dev\workspace\CIAPI.CS\src\CIAPI\Streaming\Lightstreamer\LightStreamerClient.cs:line 16

at CityIndexScreensaver.Data.SubscribePricesThreadEntry(String topic, Action`1 onUpdate) in d:\Projects\CityIndexScreensaver\CityIndexScreensaver\Data.cs:line 84 OK

 

Have logged an issue for this at https://github.com/cityindex/CIAPI.CS/issues/32

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×