robvdpol / RaceControl

Race Control is a standalone, open source F1TV client for Windows, written in C# on the .NET platform.
GNU General Public License v3.0
1.19k stars 93 forks source link

[BUG] Value cannot be a null. (Parameter 'Source') #460

Open AmanAdusumilli opened 2 years ago

AmanAdusumilli commented 2 years ago

Describe the bug When the Race Control app is opened a pop-up appears which says " Value cannot be a null. (Parameter 'Source') "

To Reproduce Steps to reproduce the behavior: Click on any season, race or any archive categories and this pop up will appear. Something which happens when you app or which you try to select something. the app was working a few mins before I started facing this issue. Tries restarting the app too.

Screenshots here is a screenshot of the error/pop up - https://prnt.sc/AewJAVh_rf-n

Desktop (please complete the following information):

F1TV account

Additional context Add any other context about the problem here.

AmanAdusumilli commented 2 years ago

This is from the log, sending just in case if it can help you

2022-06-11 14:18:27.5148 ERROR A critical error occurred. System.ArgumentNullException: Value cannot be null. (Parameter 'source') at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) at System.Linq.Enumerable.Select[TSource,TResult](IEnumerable1 source, Func2 selector) at RaceControl.Services.F1TV.ApiService.GetEventsForSeasonAsync(Season season) in D:\Projects\RaceControl\RaceControl\Services\RaceControl.Services\F1TV\ApiService.cs:line 88 at RaceControl.ViewModels.MainWindowViewModel.LoadEventsForSeasonAsync(Season season) in D:\Projects\RaceControl\RaceControl\RaceControl\ViewModels\MainWindowViewModel.cs:line 839 at RaceControl.ViewModels.MainWindowViewModel.SelectSeasonAsync(Season season) in D:\Projects\RaceControl\RaceControl\RaceControl\ViewModels\MainWindowViewModel.cs:line 800 at System.Threading.Tasks.TaskExtensions.Await(Task task, Action completedCallback, Action`1 errorCallback, Boolean configureAwait)

oc-tk commented 1 year ago

I have same problem + I cannot stream anything - green screen