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

System.InvalidOperationException: Sequence contains no elements #96

Open
DamianX opened this issue Aug 2, 2018 · 2 comments
Open

System.InvalidOperationException: Sequence contains no elements #96

DamianX opened this issue Aug 2, 2018 · 2 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@DamianX
Copy link

DamianX commented Aug 2, 2018

vgstation-coders/vgstation13@8e3fbaf
https://github.com/vgstation-coders/vgstation13/runs/10241952

System.InvalidOperationException: Sequence contains no elements
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   at MapDiffBot.Core.PayloadProcessor.<>c__DisplayClass14_3.<<GenerateDiffs>g__GetDmeToUse|7>d.MoveNext() in /src/MapDiffBot/PayloadProcessor.cs:line 349
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
   at MapDiffBot.Core.PayloadProcessor.<GenerateDiffs>d__14.MoveNext() in /src/MapDiffBot/PayloadProcessor.cs:line 410
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at MapDiffBot.Core.PayloadProcessor.<ScanPullRequestImpl>d__13.MoveNext() in /src/MapDiffBot/PayloadProcessor.cs:line 199
@francinum
Copy link

@Cyberboss
Copy link
Member

https://github.com/tgstation/MapDiffBot/blob/master/MapDiffBot/Core/PayloadProcessor.cs#L349

We're assuming repositories HAVE a .dme. Should instead error out if none exist.

@Cyberboss Cyberboss added bug Something isn't working good first issue Good for newcomers labels Dec 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants