floh22 / LeagueBroadcast

League of Legends Spectate Overlay Tools
MIT License
218 stars 46 forks source link

[BUG] Value cannot be null. (Parameter 'json') #309

Open Xahrie opened 9 months ago

Xahrie commented 9 months ago

Upon starting the following crash report occurrs. The system will not work!

--- LeagueBroadcast Crash Report --- Still more stable than the League Client

Time: 2023.12.01-10:18 Description: Value cannot be null. (Parameter 'json')

Stacktrace: at System.Text.Json.ThrowHelper.ThrowArgumentNullException(String parameterName) at System.Text.Json.JsonDocument.Parse(String json, JsonDocumentOptions options) at LeagueBroadcast.Common.Data.Provider.DataDragon.ExtendChampion(CDragonChampion champion, String version) in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Common\Data\Provider\DataDragon.cs:line 411 at LeagueBroadcast.Common.Data.Provider.DataDragon.DownloadMissingChampionCache(String location, ConcurrentBag1 failedDownloads) in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Common\Data\Provider\DataDragon.cs:line 311 at LeagueBroadcast.Common.Data.Provider.DataDragon.VerifyLocalCache(StringVersion currentPatch) in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Common\Data\Provider\DataDragon.cs:line 268 at LeagueBroadcast.Common.Data.Provider.DataDragon.Init() in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Common\Data\Provider\DataDragon.cs:line 219 at LeagueBroadcast.Common.Data.Provider.DataDragon.<>c.<<-ctor>b__21_0>d.MoveNext() in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Common\Data\Provider\DataDragon.cs:line 125 --- End of stack trace from previous location --- at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state) at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi) at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action1 callback, TState& state) at System.Threading.QueueUserWorkItemCallback.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback()

-- System Details -- League Broadcast Version: 1.7.22.0 OS: Win 10 2009