000037126 - Opening RSA Archer record causes unexpected error (DefaultValuesListFieldItemsProcessor.GetSortedValues)

Document created by RSA Customer Support Employee on Feb 19, 2019
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000037126
Applies ToRSA Product Set: Archer
RSA Product/Service Type: RSA Archer
RSA Version/Condition: 6.4.1.1, 6.4.1.2, 6.4.1.3
IssueCertain records are not accessible.  Users receive an unexpected error when opening the records.
The following entry can be found in the Archer w3wp log.

 

<ApplicationData>
  <TraceData>
    <DataItem>
      <TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
        <TraceIdentifier>Archer.Web</TraceIdentifier>
        <LogReferenceId>123456-123456-1234</LogReferenceId>
        <Description>Object reference not set to an instance of an object.</Description>
        <AppDomain>/LM/W3SVC/1/ROOT/Archer-2-131818249473171266</AppDomain>
        <ContextData>
          <BaseUrl>https://(server)/Archer/GenericContent/Record.aspx</BaseUrl>
          <id>1363220</id>
          <Module>ModuleId: 410, ModuleName: Applications, ModuleStatus: ActiveInProduction, ModuleType: Application</Module>
          <levelSelection>200</levelSelection>
          <RecordSet>True</RecordSet>
        </ContextData>
        <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.Web.Presentation.ControlBuilder</Source>
          <StackTrace>   at ArcherTech.Web.Presentation.ControlBuilder.DefaultValuesListFieldItemsProcessor.GetSortedValuesList(TreeRoot`1 values, ValuesListDefinitionSortType sortType)
   at ArcherTech.Web.Presentation.ControlBuilder.DefaultValuesListFieldItemsProcessor.LoadValuesListFieldItems(ICollection`1 items, TreeRoot`1 values, IDictionary`2 displays, Int32 countOfValsWithOther, ValuesListDefinitionSortType sortType)
   at ArcherTech.Web.Presentation.ControlBuilder.DefaultValuesListFieldItemsProcessor.ProcessItems(IFieldMetaData fieldMeta, Field field)
   at ArcherTech.Web.Presentation.ControlBuilder.ValuesListFieldBuilder.BuildFieldControl(ValuesListFieldMetaData fieldData)
   at ArcherTech.Web.Presentation.ControlBuilder.FieldBuilderBase`3.ArcherTech.Web.Presentation.ControlBuilder.IFieldBuilder.BuildFieldControl(IFieldMetaData fieldMetaData)
   at ArcherTech.Web.Presentation.ControlBuilder.LevelLayoutSectionBuilder.AddLayoutItemField(Section section, LayoutGrid layoutGrid, LayoutGridItem layoutGridItem, LevelMetaData level, LevelLayoutItemField levelLayoutItemField, IList`1 FieldObjectPermissions, Boolean createSubSection, Boolean isModuleArchived)
   at ArcherTech.Web.Presentation.ControlBuilder.LevelLayoutSectionBuilder.BuildSectionLayoutGrid(Section levelLayoutSection, LayoutGrid layoutGrid, LevelMetaData level, LevelLayoutItemBase levelLayoutItem, IList`1 FieldObjectPermissions, Boolean createSubSection, List`1 layoutItemsForCurrentSection, Boolean isModuleArchived)
   at ArcherTech.Web.Presentation.ControlBuilder.LevelLayoutSectionBuilder.BuildSection(LevelLayoutSection mlsection, Tab parentTab, IList`1 fieldObjectPermissions, Boolean addStyleForEmbeddedTabs, Boolean isModuleArchived)
   at Security2000.GenericContent.Record.InitModuleLayout()
   at Security2000.GenericContent.Record.InitPageModule()
   at Security2000.GenericContent.Record.Page_Load(Object sender, EventArgs e)
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Web.UI.Control.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>
        </Exception>
      </TraceRecord>
    </DataItem>
  </TraceData>
</ApplicationData>




 
CauseThis issue is caused by a defect introduced in 6.4 SP1.
ResolutionUpgrade to 6.5 Patch 1 (6.5.0.1) or 6.4 SP1 Patch 4 (6.4.1.4) 
WorkaroundSince this issue only happens on the view page of a record, configure the application to always send users to the edit page of the record when the record is opened.

Administration -> Application builder -> (application) -> Enable Direct-To-Edit -> Save

Attachments

    Outcomes