000029401 - Unexpected error opening application after 5.5.2 upgrade

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

Article Content

Article Number000029401
Applies ToRSA Product Set: Archer
RSA Product/Service Type: Archer
RSA Version/Condition: 5.5 SP2
 
IssueUnable to open an application in Application Builder or a record from that application in 5.5.2. Get unexpected error.
Also could cause minor issue that sorting results that are not correct.
Log message "An entry with the same key already exists".
<Description>An entry with the same key already exists.</Description> 

<AppDomain>ArcherTech.JobFramework.Job.exe</AppDomain> 

<Exception> 

<ExceptionType>System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType> 

<Message>An entry with the same key already exists.</Message> 

<Source>System</Source> 

<StackTrace> at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) 

at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item) 

at System.Collections.Generic.SortedDictionary`2.Add(TKey key, TValue value) 

at ArcherTech.Kernel.DataSource.Db.ReferenceFieldViewEditDisplayDataSource.MapReferenceFieldViewEditSortFields(Int32 objId, IDictionary`2 sortedFields, IDataSourceReader dataSourceReader) 

at ArcherTech.Kernel.DataSource.Db.ReferenceFieldViewEditDisplayDataSource.LoadDerivedType[baseType,derivedType](IEnumerable`1 domainObjects, GetCommand getCommandDelegate, MapDomain`1[] mapDomainDelegates) 

at ArcherTech.Kernel.DataSource.Db.FieldDisplayDataSource.LoadFieldTypes(IDictionary`2 fieldTypeToFieldDisplayMap) 

at ArcherTech.Kernel.DataSource.Db.FieldDisplayDataSource.Get(IEnumerable`1 fieldIds) 

at ArcherTech.Kernel.Providers.CacheProviderHelper.Get[T,K](CacheProvider cacheProvider, SessionContext sessionContext, String cacheName, IEnumerable`1 ids, GetDomainList`2 getNonCachedObjects, GetDomainKey`1 getDomainKey, Func`2 getCacheLookupKey, Func`2 getUnavailableDomains, Func`2 ValidDomain) 

at ArcherTech.Kernel.Brokers.FieldDefinitionBroker.GetFieldDisplayInternal(IList`1 fieldIds, Boolean checkFieldPermission, Boolean checkLicensing) 

at ArcherTech.Kernel.Brokers.LoadHistoryTrackedFieldsTask`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(CalculationContent calculationContent) 

at ArcherTech.Kernel.Managers.CalculationContentManager.Save(SessionContext sessionContext, CalculationContent calculationContent)</StackTrace> 

</Exception> 

</TraceRecord> 

</DataItem> 

</TraceData> 

</ApplicationData> 

</E2ETraceEvent>
CauseThe implementation of sorting has changed in 5.5.2.
ResolutionAfter installing 5.5.2, data migration needs to be completed with a script to allow sorting to function properly.
All 5.5.2 instances will need to run this script or upgrade to 5.5.2.0.1 or later.  
Script can be found in ARCHCE-1049. Customers should submit a case to archersupport@rsa.com to get the script or have it run in SaaS.
 

Attachments

    Outcomes