2fast icon indicating copy to clipboard operation
2fast copied to clipboard

Object reference not set to an instance of an object.

Open misael1310 opened this issue 3 years ago • 5 comments

I can't use the search bar, every time I type a word the program closes unexpectedly with the following message: Object reference not set to an instance of an object.

I am running the program from:

Edition: Windows 11 Pro Version 21H2 Installed on ‎19/‎11/‎2021 Operating system version 22000.675 Experience Windows Feature Experience Pack 1000.22000.675.0

misael1310 avatar May 18 '22 22:05 misael1310

In my Windows 11 test VM I couldn't reproduce the exception. grafik

jp-weber avatar May 19 '22 16:05 jp-weber

Other technical details of my windows installation. image

misael1310 avatar May 23 '22 19:05 misael1310

Thank you for further information. The video is not necessary at this point and should be deleted by displaying the email addresses.

Currently in the source code it is not visible why this does not work for you. in the future a logging function will be implemented which can be activated in such cases.

jp-weber avatar May 26 '22 18:05 jp-weber

Thank you for your attention. I have already deleted the video. Thank you for the excellent tool that is 2fast, I use it daily and although the search bar does not work for me in particular, 2fast is very useful for my day to day.

misael1310 avatar May 26 '22 19:05 misael1310

I have updated to the latest version of the application and now the error message is like this:

A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Object reference not set to an instance of an object.)

System.NullReferenceException: Object reference not set to an instance of an object. at Project2FA.UWP.Services.DataService.<StartService>d__42.MoveNext() + 0x2ab --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17 at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb at Project2FA.UWP.ViewModels.AccountCodePageViewModel.<StartTOTPLogic>d__38.MoveNext() + 0x125

misael1310 avatar Jun 12 '22 21:06 misael1310