Error in FirstAgendaModuleRendering!System.AggregateException: One or more errors occurred. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.List`1.Add(T item)
at GoBasic.Services.FirstAgenda.FirstAgendaIntegrationService.<>c__DisplayClass20_0.b__0(FirstAgendaAgenda firstAgendaAgenda) in D:\Solutions\GoBasicV5\GoBasic.Services\FirstAgenda\FirstAgendaIntegrationService.cs:line 221
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, Action`1 body)
at GoBasic.Services.FirstAgenda.FirstAgendaIntegrationService.GetAgendasImp(Url url, String searchText, String dateFrom, String dateTo, Int32 page, Int32 pageSize) in D:\Solutions\GoBasicV5\GoBasic.Services\FirstAgenda\FirstAgendaIntegrationService.cs:line 216
at GoBasic.Services.FirstAgenda.FirstAgendaIntegrationService.GetAgendas(String searchText, String organisationId, String committeeId, String dateFrom, String dateTo, Int32 page, Int32 pageSize) in D:\Solutions\GoBasicV5\GoBasic.Services\FirstAgenda\FirstAgendaIntegrationService.cs:line 127
at GoBasic.Presentation.Modules.FirstAgendaModuleRendering.RenderModule(FirstAgendaModule item, HtmlWriter writer) in D:\Solutions\GoBasicV5\GoBasic.Presentation\Modules\FirstAgendaModuleRendering.cs:line 56
at GoBasic.Presentation.BaseRendering.Render(HtmlTextWriter writer) in D:\Solutions\GoBasicV5\GoBasic.Presentation\BaseRendering.cs:line 108
---> (Inner Exception #0) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.List`1.Add(T item)
at GoBasic.Services.FirstAgenda.FirstAgendaIntegrationService.<>c__DisplayClass20_0.b__0(FirstAgendaAgenda firstAgendaAgenda) in D:\Solutions\GoBasicV5\GoBasic.Services\FirstAgenda\FirstAgendaIntegrationService.cs:line 221
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )<---
---> (Inner Exception #1) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.List`1.Add(T item)
at GoBasic.Services.FirstAgenda.FirstAgendaIntegrationService.<>c__DisplayClass20_0.b__0(FirstAgendaAgenda firstAgendaAgenda) in D:\Solutions\GoBasicV5\GoBasic.Services\FirstAgenda\FirstAgendaIntegrationService.cs:line 221
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )<---
---> (Inner Exception #2) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.List`1.Add(T item)
at GoBasic.Services.FirstAgenda.FirstAgendaIntegrationService.<>c__DisplayClass20_0.b__0(FirstAgendaAgenda firstAgendaAgenda) in D:\Solutions\GoBasicV5\GoBasic.Services\FirstAgenda\FirstAgendaIntegrationService.cs:line 221
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )<---
---> (Inner Exception #3) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.List`1.Add(T item)
at GoBasic.Services.FirstAgenda.FirstAgendaIntegrationService.<>c__DisplayClass20_0.b__0(FirstAgendaAgenda firstAgendaAgenda) in D:\Solutions\GoBasicV5\GoBasic.Services\FirstAgenda\FirstAgendaIntegrationService.cs:line 221
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )<---
---> (Inner Exception #4) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.List`1.Add(T item)
at GoBasic.Services.FirstAgenda.FirstAgendaIntegrationService.<>c__DisplayClass20_0.b__0(FirstAgendaAgenda firstAgendaAgenda) in D:\Solutions\GoBasicV5\GoBasic.Services\FirstAgenda\FirstAgendaIntegrationService.cs:line 221
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )<---
---> (Inner Exception #5) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.List`1.Add(T item)
at GoBasic.Services.FirstAgenda.FirstAgendaIntegrationService.<>c__DisplayClass20_0.b__0(FirstAgendaAgenda firstAgendaAgenda) in D:\Solutions\GoBasicV5\GoBasic.Services\FirstAgenda\FirstAgendaIntegrationService.cs:line 221
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )<---
---> (Inner Exception #6) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.List`1.Add(T item)
at GoBasic.Services.FirstAgenda.FirstAgendaIntegrationService.<>c__DisplayClass20_0.b__0(FirstAgendaAgenda firstAgendaAgenda) in D:\Solutions\GoBasicV5\GoBasic.Services\FirstAgenda\FirstAgendaIntegrationService.cs:line 221
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )<---
---> (Inner Exception #7) System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.List`1.Add(T item)
at GoBasic.Services.FirstAgenda.FirstAgendaIntegrationService.<>c__DisplayClass20_0.b__0(FirstAgendaAgenda firstAgendaAgenda) in D:\Solutions\GoBasicV5\GoBasic.Services\FirstAgenda\FirstAgendaIntegrationService.cs:line 221
at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.b__1()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass176_0.b__0(Object )<---