000012645 - Unable to save record. Log file shows: The given key was not present in the dictionary.

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 22, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000012645
Applies ToRSA Archer
IssueUnable to save record.
The given key was not present in the dictionary.
<ApplicationData>
    <TraceData>
      <DataItem>
        <TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
          <TraceIdentifier>Archer.NET</TraceIdentifier>
          <UserId>2</UserId>
          <Description>The given key was not present in the dictionary.</Description>
          <AppDomain>/LM/W3SVC/1/ROOT/Archer-1-130390352362697776</AppDomain>
          <Exception>
            <ExceptionType>System.Collections.Generic.KeyNotFoundException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
            <Message>The given key was not present in the dictionary.</Message>
            <Source>mscorlib</Source>
            <StackTrace>   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at ArcherTech.Kernel.Brokers.PersistContentHistoryHelper.GetHistoryValuesListValue(ValuesListField contentField, ValuesListFieldDefinition fieldDef, SharedContentContext sharedContext)
   at ArcherTech.Kernel.Brokers.PersistContentHistoryHelper.GetHistoryValue(ContentFieldBase contentField, ISharedContentContext sharedContext)
   at ArcherTech.Kernel.Brokers.PersistContentHistoryTask.CreateMainContentHistory(ISharedContentContext sharedContentContext, IIndexedContentContext indexedContentContext)
   at ArcherTech.Kernel.Brokers.PersistContentHistoryTaskBase`1.Execute(T contentContext)
   at ArcherTech.Kernel.Brokers.TaskExecutionHelper.ExecuteTasks[T](T contentContext, IList`1 tasks)
   at ArcherTech.Kernel.Brokers.TransactionalTask`1.ExecuteTransaction(T contentContext)
   at ArcherTech.Kernel.Brokers.TransactionalTask`1.Execute(T contentContext)
   at ArcherTech.Kernel.Brokers.TaskExecutionHelper.ExecuteTasks[T](T contentContext, IList`1 tasks)
   at ArcherTech.Kernel.Brokers.AcquireLocksTask`1.Execute(T contentContext)
   at ArcherTech.Kernel.Brokers.TaskExecutionHelper.ExecuteTasks[T](T contentContext, IList`1 tasks)
   at ArcherTech.Kernel.Brokers.IndexedContentIteratorTask`1.ExecuteNonthreadedIterator(T contentContext, List`1 indexedContentContexts)
   at ArcherTech.Kernel.Brokers.IndexedContentIteratorTask`1.Execute(T contentContext)
   at ArcherTech.Kernel.Brokers.TaskExecutionHelper.ExecuteTasks[T](T contentContext, IList`1 tasks)
   at ArcherTech.Kernel.Brokers.ContentBroker.ExecuteContentSavePlan(ContentContext contentContext, IDictionary`2 indexMap, ContentSavePerformanceData performanceData, BatchContentSaveResult returnResults)
   at ArcherTech.Kernel.Brokers.ContentBroker.Save(IList`1 contentContainers, Nullable`1 subformFieldId, ContentSaveOptions saveOptions)
   at ArcherTech.Kernel.Brokers.ContentBroker.Save(ContentContainer content, Nullable`1 subformFieldId, ContentSaveOptions saveOptions)
   at ArcherTech.Kernel.Utility.ManagerHelper.WrapCode(ManagerEventIdentifier managerEventId, SessionContext sessionContext, ExtendedManagerMethodWrapper`1 wrapped)</StackTrace>
          </Exception>
        </TraceRecord>
      </DataItem>
    </TraceData>
  </ApplicationData>
 
CauseA Global Values List field tracked in the History Log field has become corrupt in some way within the History Log field.
 
Resolution1.  Open the History Log field and get a list of Global Values List fields used in application that are being tracked.
2.  Remove each Global Values List one at a time until the record can be saved.
 
Legacy Article IDa64590

Attachments

    Outcomes