Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line 171 Tournament.cs #5

Open
AkaSoftBanana opened this issue Jan 22, 2022 · 1 comment
Open

Line 171 Tournament.cs #5

AkaSoftBanana opened this issue Jan 22, 2022 · 1 comment

Comments

@AkaSoftBanana
Copy link

image

Getting this issue with line 171 not sure why?

@AkaSoftBanana
Copy link
Author

System.ArgumentOutOfRangeException
HResult=0x80131502
Message=Index was out of range. Must be non-negative and less than the size of the collection. Arg_ParamName_Name
Source=System.Private.CoreLib
StackTrace:
at System.ThrowHelper.ThrowArgumentOutOfRange_IndexException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at Monopoly.Tournament.PlayGameThread(Tournament instance, Int32 i) in D:_Morgan\Personal\Programming\MonopolyNEAT-main\Monopoly\Tournament.cs:line 171
at Monopoly.Tournament.<>c__DisplayClass11_0.b__0() in D:_Morgan\Personal\Programming\MonopolyNEAT-main\Monopoly\Tournament.cs:line 108
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

This exception was originally thrown at this call stack:
[External Code]
Monopoly.Tournament.PlayGameThread(Monopoly.Tournament, int) in Tournament.cs
Monopoly.Tournament.ExecuteTournamentRound.AnonymousMethod__0() in Tournament.cs
[External Code]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant