Cubit Estimating error: An item with the same key has already been added


This article is related to the below error:

Potential stack trace
System.ArgumentException: An item with the same key has already been added.
  at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
  at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
  at Buildsoft.Utilities.DictionaryUtility.AddRange[​,​](IDictionary`2 dictionary, IDictionary`2 other, Boolean replace)
  at Buildsoft.PhoenixTakeOff.Model.Price.PriceList.PriceListContainer.#EB5FD6D1B7C89F9E(Int32 ​, IEnumerable`1 ​, ValidateCopyArgs`1 ​)
  at Buildsoft.PhoenixTakeOff.UserInterface.Controllers.Price.#9C7B5C5AF560D218.CopyObjects(Object destinationContainer, IList`1 objects, Int32 position)
  at Buildsoft.PhoenixTakeOff.UserInterface.Controllers.Grid.GridController.#E00C445392E06F33(DragDropObjects ​, Object ​, Int32 ​)
  at Buildsoft.PhoenixTakeOff.UserInterface.Controllers.Grid.GridController.ProcessDragAndDrop(DragEventArgs e, Boolean doDrop)
  at Buildsoft.PhoenixTakeOff.UserInterface.Controllers.Grid.CustomTreelistController.TreeGrid_DragDrop(Object sender, DragEventArgs e)


This error usually means that a single row sum reference is preventing modification of the referenced row.

Fig 1. Reference



Removing the reference should overcome the error.
However, if you continue to experience trouble it is recommended you contact the support team for further assistance.


0 out of 0 found this helpful



Please sign in to leave a comment.