000039023 - Install package fails with "Null reference" error in RSA Archer

Document created by RSA Customer Support Employee on Jun 25, 2020
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000039023
Applies ToRSA Product Set: RSA Archer
RSA Product/Service Type: Packaging
RSA Version/Condition: 6.X
CauseInstall the package with "Null reference" error in RSA Archer

<TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
                    <TraceIdentifier>Archer.Kernel.Packaging</TraceIdentifier>
                    <UserId>208</UserId>
                    <LogReferenceId>061420-133939-5826</LogReferenceId>
                    <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.Packaging.Install.Actions.LayoutInstallAction.&lt;&gt;c__DisplayClass14_1.&lt;EnsureKeyField&gt;b__4(LevelLayoutSectionBase section)
   at ArcherTech.Utility.ExtensionMethods.CollectionExtensions.FindFirstSection(IEnumerable`1 tabs, Func`2 match)
   at ArcherTech.Kernel.Brokers.Packaging.Install.Actions.LayoutInstallAction.EnsureKeyField(InstallContext context, LevelLayout returnLayout, LevelLayout sourceLayout, LevelLayout existingLayout)
   at ArcherTech.Kernel.Brokers.Packaging.Install.Actions.LayoutInstallAction.PrepareOverrideLayout(InstallContext context, LevelLayout returnLayout, LevelLayout sourceLayout, LevelLayout existingLayout, Module sourceModule, Boolean updateItems)
   at ArcherTech.Kernel.Brokers.Packaging.Install.Actions.LayoutInstallAction.UpdateLayout(InstallContext context, LevelLayout sourceLayout, LevelLayout existingLayout, Boolean overrideLayout, Boolean updateItems, Module sourceModule)
   at ArcherTech.Kernel.Brokers.Packaging.Install.Actions.LayoutInstallAction.&lt;&gt;c__DisplayClass3_0.&lt;InstallLayout&gt;b__0(InstallContext context, ExecuteActions`1 actionExecutor)</StackTrace>
                    </Exception>
                </TraceRecord>


 
ResolutionThis happened as the keyfield was off the layout in both the source and destination. To solve:
  1. Place the key field in both the layouts 
  2. Regenerate the package and reinstall

Attachments

    Outcomes