Exception error when trying to access time/timesheet/time explorer in vsts
ImplementedAn error occurred while handling your request.
at method: ThrowArgumentOutOfRangeException
Message: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
StackTrace:
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.Collections.Generic.List`1.get_Item(Int32 index)
at TimetrackerOnline.JointCodebase.BusinessLayer.Providers.Implementation.VisualStudioProvider.GetMaxTfsId(VsoTokenModel tokenModel, Project virtualProject) in C:\build-agents\BuildAgent-git-1\_work\18\s\TimetrackerOnline\TimetrackerOnline.BusinessLayer\Providers\Implementation\VisualStudioProvider.cs:line 883
at TimetrackerOnline.JointCodebase.BusinessLayer.Providers.Implementation.VisualStudioProvider.GetWorkItemsByQuery(VsoTokenModel tokenModel, Project virtualProject, String query, String pagingFieldName) in C:\build-agents\BuildAgent-git-1\_work\18\s\TimetrackerOnline\TimetrackerOnline.BusinessLayer\Providers\Implementation\VisualStudioProvider.cs:line 859
at TimetrackerOnline.BusinessLayer.Context.Services.ContextWorkItemsService.GetIterationItems(DateTime startDate, DateTime endDate, Dictionary`2 projectWorkItemTypesStates, List`1 rangedIterations, Boolean myItems, String selectedProject, VsoContext vsoContext, VsoTokenModel tokenModel) in C:\build-agents\BuildAgent-git-1\_work\18\s\TimetrackerOnline\TimetrackerOnline.BusinessLayer\Context\Services\ContextWorkItemsService.cs:line 400
at TimetrackerOnline.BusinessLayer.Context.Services.TimesheetService.FillTimesheet(DateTime startDate, DateTime endDate, Boolean byIterations, Boolean myItems, String selectedProject, VsoContext vsoContext, VsoTokenModel tokenModel) in C:\build-agents\BuildAgent-git-1\_work\18\s\TimetrackerOnline\TimetrackerOnline.BusinessLayer\Context\Services\TimesheetService.cs:line 144
at TimetrackerOnline.BusinessLayer.Context.Services.TimesheetService.GetTimesheetData(DateTime startDate, DateTime endDate, Boolean byIterations, Boolean myItems, String selectedProject, VsoContext vsoContext, VsoTokenModel tokenModel) in C:\build-agents\BuildAgent-git-1\_work\18\s\TimetrackerOnline\TimetrackerOnline.BusinessLayer\Context\Services\TimesheetService.cs:line 82
at TimetrackerOnline.Controllers.TimesheetController.GetData(String startDate, String endDate, Boolean byIterations, Boolean myWorkItems, String selectedProject) in C:\build-agents\BuildAgent-git-1\_work\18\s\TimetrackerOnline\TimetrackerOnline.Web\Controllers\TimesheetController.cs:line 89
at TimetrackerOnline.Controllers.TimesheetController.GetDataInitial(String startDate, String endDate, String project) in C:\build-agents\BuildAgent-git-1\_work\18\s\TimetrackerOnline\TimetrackerOnline.Web\Controllers\TimesheetController.cs:line 67
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
Please sign in to leave a comment.
Comments
2 comments