000034491 - After creating a record in RSA Archer, an unexpected error occurs attempting to open the content record.

Document created by RSA Customer Support Employee on Dec 6, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000034491
Applies ToRSA Product Set: Archer
RSA Product/Service Type: Archer
 
IssueAfter creating a record, an unexpected error occurs attempting to open the content record.
Unexpected error
CauseThis issue due to a cross-reference that is failing. The following stack trace will identify this issue:
 
<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
    <ApplicationData>
        <TraceData>
            <DataItem>
                <TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
                    <TraceIdentifier>Archer.Web</TraceIdentifier>
                    <LogReferenceId>120116-162347-1196</LogReferenceId>
                    <Description>One or more errors occurred.</Description>
                    <AppDomain>/LM/W3SVC/1/ROOT-1-131250600021548466</AppDomain>
                    <ContextData>                 
                        <id>462831</id>
                        <Module>ModuleId: 88, ModuleName: Contracts, ModuleStatus: ActiveInProduction, ModuleType: Application</Module>
                        <action>{"AT":6,"PFI":26976}</action>
                    </ContextData>
                    <Exception>
                        <ExceptionType>System.AggregateException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                        <Message>One or more errors occurred.</Message>
                        <Source>mscorlib</Source>
                        <StackTrace>
  at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout)
   at ArcherTech.Web.Modules.GenericContent.GenericContentDataManager.GetRecordData(LevelRecordDataRequest levelRecordDataRequest)
   at ArcherTech.Web.Modules.GenericContent.Views.RecordPresenter.LoadRecordData()
   at ArcherTech.Web.Modules.GenericContent.Views.RecordPresenter.OnViewLoaded()
   at ArcherTech.Web.ArcherTechPage`2.OnLoad(EventArgs e)
   at Security2000.GenericContent.Record.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)</StackTrace>
                        <InnerException>
                            <ExceptionType>System.AggregateException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                            <Message>One or more errors occurred.</Message>
                            <Source>mscorlib</Source>
                            <StackTrace>
  at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at System.Threading.Tasks.Parallel.PartitionerForEachWorker[TSource,TLocal](Partitioner`1 source, ParallelOptions parallelOptions, Action`1 simpleBody, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body)
   at ArcherTech.Web.Modules.GenericContent.DataManagers.ContentLoader.GetRelatedContents(SessionContext session, IList`1 referenceFieldMetaDatas, Nullable`1 parentContentId, IDictionary`2 fieldContents, Boolean isEditMode)
   at ArcherTech.Web.Modules.GenericContent.DataManagers.ContentLoader.GetRelatedContents(SessionContext session, LevelRecordDataContainer levelRecordDataContainer, Boolean isEditMode)
   at ArcherTech.Web.Modules.GenericContent.GenericContentDataManager.&lt;&gt;c__DisplayClass15.&lt;GetRecordData&gt;b__d()
   at ArcherTech.Provider.Threading.ThreadingFactory.&lt;&gt;c__DisplayClass2.&lt;WrapAction&gt;b__1()
   at System.Threading.Tasks.Task.Execute()</StackTrace>
                            <InnerException>
                                <ExceptionType>System.ArgumentNullException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                                <Message>Value cannot be null. Parameter name: source</Message>
                                <Source>System.Core</Source>
                                <StackTrace>
  at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)
   at ArcherTech.Kernel.Brokers.ContentBroker.GetLeveledContentTree(IDictionary`2 referenceContentIdMap, IList`1 levels)
   at ArcherTech.Kernel.Managers.ContentManager.GetLeveledContentTree(SessionContext sessionContext, IDictionary`2 referenceContentIdMap, IList`1 levels)
   at ArcherTech.Web.Modules.GenericContent.DataManagers.ContentLoader.&lt;&gt;c__DisplayClass19.&lt;GetRelatedContents&gt;b__14(KeyValuePair`2 relatedContentIdsForReference)
   at ArcherTech.Provider.Threading.ThreadingFactory.&lt;&gt;c__DisplayClass5`1.&lt;WrapAction&gt;b__4(T state)
   at System.Threading.Tasks.Parallel.&lt;&gt;c__DisplayClass32`2.&lt;PartitionerForEachWorker&gt;b__30()
   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
   at System.Threading.Tasks.Task.&lt;&gt;c__DisplayClass11.&lt;ExecuteSelfReplicating&gt;b__10(Object param0)</StackTrace>
                            </InnerException>
                        </InnerException>
                    </Exception>
                </TraceRecord>
            </DataItem>
        </TraceData>
    </ApplicationData>
</E2ETraceEvent>
Resolution
  1. Navigate to Administration > Application Builder > Manage Applications
  2. Access the application in question and go to the fields tab.
  3. Filter on the Field Type: Cross-Reference.
  4. One at a time, deactivate the Cross-Reference fields (if there are more than one) and test record access at each iteration until you are eventually able to access a record without the error being thrown. 
  5. Once the problem Cross-Reference is found, remove and recreate the Cross-Reference field.

Attachments

    Outcomes