Crash Found in Spring Games

Crash Found in Spring Games

Postby servo75 » Mon Aug 12, 2024 1:01 am

Found a bug:

It occurred just after the Spring games were played. I clicked on "watch game" for one of the Spring games and got the following error:

"An item with the same key has already been added. Key: 7911"

System.ArgumentException: An item with the same key has already been added. Key: 7911
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
at DDSCF_Library.Modals.WatchGameDialog.getGameData() in C:\Users\brook\Documents\Projects\DDSCF25\DDSCF-Library\Modals\WatchGameDialog.razor:line 1540
at DDSCF_Library.Modals.WatchGameDialog.SetupTeams() in C:\Users\brook\Documents\Projects\DDSCF25\DDSCF-Library\Modals\WatchGameDialog.razor:line 651
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
at Microsoft.AspNetCore.Components.WebView.WindowsForms.WindowsFormsDispatcher.InvokeAsync(Action workItem)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)


I could send the full exception if you want, let me know where to send it. It's very very long. There was a "Continue" button which I clicked and the error went away but now I'm unable to click any buttons in the game. It's not completely frozen but I can't save the game because it's non-functional. Fortunately this was a "throwaway" league.
servo75
Junior Member
 
Posts: 144
Joined: Fri Nov 26, 2021 7:03 pm

Re: Crash Found in Spring Games

Postby servo75 » Mon Aug 12, 2024 1:46 am

Update: It seems to happen whenever watching any Spring Game even in mid-season. At least it's easy to reproduce.
servo75
Junior Member
 
Posts: 144
Joined: Fri Nov 26, 2021 7:03 pm

Another Crash this time in "Play Game"

Postby servo75 » Mon Aug 12, 2024 2:36 am

This happened during a regular game making a play call, I clicked on "Show Playbook"

System.NullReferenceException: Object reference not set to an instance of an object.
at DDSCF_Library.Modals.PlayGameDialog.<BuildRenderTree>b__0_137(RenderTreeBuilder __builder4) in C:\Users\brook\Documents\Projects\DDSCF25\DDSCF-Library\Modals\PlayGameDialog.razor:line 858
at MudBlazor.MudGrid.<BuildRenderTree>b__14_0(RenderTreeBuilder __builder2)
at Microsoft.AspNetCore.Components.CascadingValue`1.Render(RenderTreeBuilder builder)
at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Components.WebView.WindowsForms.WindowsFormsDispatcher.InvokeAsync(Action workItem)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
servo75
Junior Member
 
Posts: 144
Joined: Fri Nov 26, 2021 7:03 pm

Re: Crash Found in Spring Games

Postby servo75 » Tue Aug 13, 2024 12:46 am

If it helps, just prior to loading up the Spring games, I saw something like Week -900 or something in the week dropdown.
servo75
Junior Member
 
Posts: 144
Joined: Fri Nov 26, 2021 7:03 pm

Re: Crash Found in Spring Games

Postby brooks_piggott » Tue Aug 13, 2024 9:04 am

Yea I fixed this for the next build.
User avatar
brooks_piggott
Moderator
 
Posts: 3889
Joined: Sat Sep 29, 2007 2:23 pm
Location: Austin, TX


Return to DDS: College Football 2025 FirstAccess

Who is online

Users browsing this forum: No registered users and 1 guest