System.IndexOutOfRangeException
I updated to 0.4.6 today and it worked fine for a while, then seemingly out of the blue (I don't think I did anything to it) I got this error when ever I tried to go to any page:
HgLab Error
There's something wrong under the hood.
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value)
at HgSharp.Core.HgRevlogBasedStorage.GetRevlogEntryData(HgNodeID hgNodeID) in d:\projects\hglab\lib\hgsharp\src\HgSharp.Core\HgRevlogBasedStorage.cs:line 43
at HgSharp.Core.HgChangelog.get_Item(HgNodeID hgNodeID) in d:\projects\hglab\lib\hgsharp\src\HgSharp.Core\HgChangelog.cs:line 25
at HgLab.Areas.Dashboard.Controllers.DashboardController.GetActivityItemChangesets(HgRepository hgRepository, ActivityStream activityStream) in d:\projects\hglab\src\HgLab\Areas\Dashboard\Controllers\DashboardController.cs:line 176
at HgLab.Areas.Dashboard.Controllers.DashboardController.GetActivityItemModel(ActivityStream activityStream) in d:\projects\hglab\src\HgLab\Areas\Dashboard\Controllers\DashboardController.cs:line 116
at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at HgLab.Areas.Dashboard.Controllers.DashboardController.Dashboard() in d:\projects\hglab\src\HgLab\Areas\Dashboard\Controllers\DashboardController.cs:line 39
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.ControllerActionInvoker.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
at System.Web.Mvc.Controller.ExecuteCore()
at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
at HgLab.Core.Framework.Web.HgLabControllerBase.Execute(RequestContext requestContext) in d:\projects\hglab\src\HgLab.Core\Framework\Web\HgLabControllerBase.cs:line 69
at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<>c__DisplayClassb.<BeginProcessRequest>b__5()
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by nick.ryhajlo on 13 Nov, 2013 12:17 AM
Never mind, I rebooted the server and it is back up and running fine, sorry about that.
Support Staff 2 Posted by Anton Gogolev on 13 Nov, 2013 09:10 AM
Nick,
Thanks for reporting. This is a caching/threading bug that was bound to happen.