ArgumentException in repository source page

Andrey Pavlov's Avatar

Andrey Pavlov

18 Jun, 2013 06:06 AM

[ArgumentException: An item with the same key has already been added.]
   System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +14119204
   System.Collections.Generic.Dictionary`2.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Add(KeyValuePair`2 keyValuePair) +30
   HgSharp.Core.Util.CollectionExtensions.AddRange(ICollection`1 collection, IEnumerable`1 items) in d:\Projects\hglab\lib\hgsharp\src\HgSharp.Core\Util\CollectionExtensions.cs:21
   HgSharp.Core.HgManifestEntry..ctor(HgRevlogEntryMetadata metadata, IList`1 files) in d:\Projects\hglab\lib\hgsharp\src\HgSharp.Core\HgManifestEntry.cs:37
   HgSharp.Core.HgManifestReader.ReadManifestEntry(HgRevlogEntryData revlogEntryData) in d:\Projects\hglab\lib\hgsharp\src\HgSharp.Core\HgManifestReader.cs:61
   HgSharp.Core.HgManifest.get_Item(HgNodeID hgNodeID) in d:\Projects\hglab\lib\hgsharp\src\HgSharp.Core\HgManifest.cs:23
   HgSharp.Core.HgTagManager.RefreshTagsInternal(HgRevset headNodes) in d:\Projects\hglab\lib\hgsharp\src\HgSharp.Core\HgTagManager.cs:142
   HgSharp.Core.HgTagManager.GetTagsInternal() in d:\Projects\hglab\lib\hgsharp\src\HgSharp.Core\HgTagManager.cs:82
   HgSharp.Core.HgTagManager.GetTags() in d:\Projects\hglab\lib\hgsharp\src\HgSharp.Core\HgTagManager.cs:41
   HgSharp.Core.HgRepository.GetTags() in d:\Projects\hglab\lib\hgsharp\src\HgSharp.Core\HgRepository.cs:783
   HgLab.Areas.Project.Controllers.RepositoryController.GetRepositoryModel(HgRepository hgRepository, Repository repository, ProjectModel project, Boolean includeClosedBranches) in d:\Projects\hglab\src\HgLab\Areas\Project\Controllers\RepositoryController.cs:1072
   HgLab.Areas.Project.Controllers.RepositoryController.Files(Repository repository, String changeset, String path) in d:\Projects\hglab\src\HgLab\Areas\Project\Controllers\RepositoryController.cs:56
   lambda_method(Closure , ControllerBase , Object[] ) +236
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +274
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +39
   System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +120
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +637
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +307
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +720
   System.Web.Mvc.Controller.ExecuteCore() +162
   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +305
   HgLab.Core.Framework.Web.HgLabControllerBase.Execute(RequestContext requestContext) in d:\Projects\hglab\src\HgLab.Core\Framework\Web\HgLabControllerBase.cs:69
   System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +62
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +15
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +606
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288

  1. Support Staff 1 Posted by Anton Gogolev on 18 Jun, 2013 07:39 AM

    Anton Gogolev's Avatar

    Andrey,

    This is too an incompatible encoding problem. Try setting it to 1251 --
    this should help.

  2. Anton Gogolev closed this discussion on 22 Aug, 2013 08:02 AM.

Comments are currently closed for this discussion. You can start a new one.

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

Recent Discussions

03 Aug, 2022 01:49 PM
05 Jul, 2022 07:01 PM
28 Mar, 2022 04:42 PM
21 Jan, 2022 10:43 AM
20 Jan, 2022 10:45 AM

 

18 Jan, 2022 10:15 AM
19 Mar, 2021 06:13 PM
01 Mar, 2021 02:51 PM
01 Jan, 2021 02:19 AM
28 Aug, 2020 08:34 AM
23 Jun, 2020 08:29 AM