bootcom-uk / home

This is a mobile app designed to allow the end user to manage their home finances and detail
0 stars 0 forks source link

Exception thrown when no payment period is available #60

Closed bootcom-uk closed 5 months ago

bootcom-uk commented 5 months ago

If I access the application during times when there is no new payment periods it is possible to get a null reference exception.

Exception System.NullReferenceException: Object reference not set to an instance of an object ?, in async Task<IEnumerable> PaymentsService.GetLast3DaysPaymentsForCurrentPeriod(PaymentPeriod paymentPeriod) ?, in async Task MainPageViewModel.RefreshView() ?, in async void AsyncRelayCommand.AwaitAndThrowIfFailed(Task) ?, in void RunnableImplementor.Run() ?, in void IRunnableInvoker.n_Run(IntPtr jnienv, IntPtr native__this) ... (3 additional frame(s) were not displayed)