000036794 - Delete Content in an Application fails in RSA Archer

Document created by RSA Customer Support Employee on Oct 15, 2018
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000036794
Applies ToRSA Product Set: RSA Archer
RSA Product/Service Type: RSA Archer
RSA Version/Condition:  6.x prior to 6.4.1.1
 
IssueWhen you have set an application to a retired status, and you attempt to delete content within the Administration tab, this fails and sets the status to Failed.
CauseThe application's key field is NOT set to the Tracking ID field.
ResolutionSet the key field to the Tracking ID field, and then re-attempt.
Notes

This may also be related to this JIRA, as GetHistory was found in the logs
 
ARCHER-49365
Application content deletion job (DeleteModuleContentWorkflow) fails at GetHistoryReferenceValue
Fix Version = 6.4 SP1 P1
 




<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
  <System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system">
    <EventID>0</EventID>
    <Type>3</Type>
    <SubType Name="Error">0</SubType>
    <Level>2</Level>
    <TimeCreated SystemTime="2018-09-27T19:49:10.8129252Z" />
    <Source Name="Archer.Kernel" />
    <Correlation ActivityID="{adf39b02-7795-4776-81ed-ae3f4588d9e6}" />
    <Execution ProcessName="ArcherTech.JobFramework.Job" ProcessID="4592" ThreadID="1" />
    <AssemblyVersion>6.4.100.1056</AssemblyVersion>
    <Channel />
    <Computer>Name Removed</Computer>
  </System>
  <ApplicationData>
    <TraceData>
      <DataItem>
        <TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
          <TraceIdentifier>Archer.Kernel</TraceIdentifier>
          <UserId>YYYY</UserId>
          <Description>Object reference not set to an instance of an object.</Description>
          <AppDomain>ArcherTech.JobFramework.Job.exe</AppDomain>
          <Exception>
            <ExceptionType>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
            <Message>Object reference not set to an instance of an object.</Message>
            <Source>ArcherTech.Kernel</Source>
            <StackTrace>   at ArcherTech.Kernel.Brokers.PersistContentHistoryHelper.GetHistoryTextValue(ISharedContentContext sharedContentContext, TextField contentField)
   at ArcherTech.Kernel.Brokers.PersistContentHistoryHelper.GetHistoryValue(ContentFieldBase contentField, ISharedContentContext sharedContext)
   at ArcherTech.Kernel.Brokers.PersistContentHistoryHelper.GetHistoryReferenceValue(IEnumerable`1 referenceContentIds, IDictionary`2 keyFieldContent, Int32 mainContentId, ContentFieldBase mainContentNewKeyFieldValue, ISharedContentContext sharedContext)
   at ArcherTech.Kernel.Jobs.DeleteModuleContentWorkflow.CreateContentFieldHistory(Int32 fieldId, IList`1 contentIds, IDictionary`2 contentWithKeysById)
   at ArcherTech.Kernel.Jobs.DeleteModuleContentWorkflow.&lt;&gt;c__DisplayClass111_0.&lt;CreateContentHistories&gt;b__2(KeyValuePair`2 pair)
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   at ArcherTech.Kernel.Jobs.DeleteModuleContentWorkflow.CreateContentHistories(IList`1 trackedReferenceFieldIds, IDictionary`2 contentWithKeysById)
   at ArcherTech.Kernel.Jobs.DeleteModuleContentWorkflow.InsertHistoryLog_ExecuteCode(Object sender, EventArgs e)
   at System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty dependencyEvent, Object sender, EventArgs e)
   at System.Workflow.Activities.CodeActivity.Execute(ActivityExecutionContext executionContext)
   at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
   at System.Workflow.Runtime.Scheduler.Run()</StackTrace>
          </Exception>
        </TraceRecord>
      </DataItem>
    </TraceData>
  </ApplicationData>
</E2ETraceEvent><E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
  <System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system">
    <EventID>0</EventID>
    <Type>3</Type>
    <SubType Name="Error">0</SubType>
    <Level>2</Level>
    <TimeCreated SystemTime="2018-09-27T19:49:10.8129252Z" />
    <Source Name="Archer.Kernel" />
    <Correlation ActivityID="{adf39b02-7795-4776-81ed-ae3f4588d9e6}" />
    <Execution ProcessName="ArcherTech.JobFramework.Job" ProcessID="4592" ThreadID="1" />
    <AssemblyVersion>6.4.100.1056</AssemblyVersion>
    <Channel />
    <Computer>Name Removed</Computer>
  </System>
  <ApplicationData>
    <TraceData>
      <DataItem>
        <TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
          <TraceIdentifier>Archer.Kernel</TraceIdentifier>
          <UserId>8296</UserId>
          <Description>Object reference not set to an instance of an object.</Description>
          <AppDomain>ArcherTech.JobFramework.Job.exe</AppDomain>
          <Exception>
            <ExceptionType>System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
            <Message>Object reference not set to an instance of an object.</Message>
            <Source>ArcherTech.Kernel</Source>
            <StackTrace>   at ArcherTech.Kernel.Brokers.PersistContentHistoryHelper.GetHistoryTextValue(ISharedContentContext sharedContentContext, TextField contentField)
   at ArcherTech.Kernel.Brokers.PersistContentHistoryHelper.GetHistoryValue(ContentFieldBase contentField, ISharedContentContext sharedContext)
   at ArcherTech.Kernel.Brokers.PersistContentHistoryHelper.GetHistoryReferenceValue(IEnumerable`1 referenceContentIds, IDictionary`2 keyFieldContent, Int32 mainContentId, ContentFieldBase mainContentNewKeyFieldValue, ISharedContentContext sharedContext)
   at ArcherTech.Kernel.Jobs.DeleteModuleContentWorkflow.CreateContentFieldHistory(Int32 fieldId, IList`1 contentIds, IDictionary`2 contentWithKeysById)
   at ArcherTech.Kernel.Jobs.DeleteModuleContentWorkflow.&lt;&gt;c__DisplayClass111_0.&lt;CreateContentHistories&gt;b__2(KeyValuePair`2 pair)
   at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
   at ArcherTech.Kernel.Jobs.DeleteModuleContentWorkflow.CreateContentHistories(IList`1 trackedReferenceFieldIds, IDictionary`2 contentWithKeysById)
   at ArcherTech.Kernel.Jobs.DeleteModuleContentWorkflow.InsertHistoryLog_ExecuteCode(Object sender, EventArgs e)
   at System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty dependencyEvent, Object sender, EventArgs e)
   at System.Workflow.Activities.CodeActivity.Execute(ActivityExecutionContext executionContext)
   at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
   at System.Workflow.Runtime.Scheduler.Run()</StackTrace>
          </Exception>
        </TraceRecord>
      </DataItem>
    </TraceData>
  </ApplicationData>
</E2ETraceEvent>

Attachments

    Outcomes