Page 1 of 1

Scroll sample does not run

PostPosted: 11 Mar 2015, 12:56
by DougNS
I downloaded the C# sample (https://github.com/EyeTribe/tet-csharp-samples) and tried to run the Scroll sample (Set as StartUp Project). It immediately crashes with the following exception on line 333 of MainWindow.xaml.cs:

An exception of type 'System.NullReferenceException' occurred in Scroll.exe but was not handled in user code
Additional information: Object reference not set to an instance of an object.

It tries to use the scrollTimer variable, but this has not been instantiated yet. Can you please fix and update the sample?

Doug Girard
Nirodha Software

Re: Scroll sample does not run

PostPosted: 11 Mar 2015, 13:59
by Martin
Hi Doug,

Just ran it off Github clone and you are right. If a connection cannot be established it will return/exit the constructor before the timer has been created. Then when the window is closing it tries to stop the uninitialized timer. Henrik has been assigned Case 5878 and should resolve it asap.

Thanks for letting us know.