000029076 - Packaging Error in DEV

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

Article Content

Article Number000029076
Applies ToRSA Product Set: Archer
RSA Product/Service Type: Archer
RSA Version/Condition: 5.2
Platform: Windows
Platform (Other): null
O/S Version: Customer doesn't know/not sure-see notes
Product Name: null
Product Description: null
IssuePackaging fails and results is a job log description, " Object reference not set to an instance of an object", with a stack trace at: "ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ArcherValuesListFieldDefinition..ctor(ValuesListFieldDefinition fieldDefinition, ArcherFieldDefinitionOptions options, String parentPath, ValuesListDefinition valuesListDefinition, IEnumerable`1 values, ArcherSchemaDefinitionOptions schemaOptions)"  
Packaging log found in the instance job log follows:
<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="2014-11-07T21:58:45.0474609Z" />
<Source Name="Archer.Packaging" />
<Correlation ActivityID="{d749fa11-562c-4ffd-9878-c811d9762d60}" />
<Execution ProcessName="ArcherTech.JobFramework.Job" ProcessID="5688" ThreadID="1" />
<Channel />
<Computer>WCDRE1FM</Computer>
</System>
<ApplicationData>
<TraceData>
<DataItem>
<TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
<TraceIdentifier>Archer.Packaging</TraceIdentifier>
<UserId>183</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.ChannelFramework.ArcherData</Source>
<StackTrace> at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ArcherValueListDataTypeDefinition..ctor(ValuesListDefinition valuesListDefinition, IEnumerable`1 values, ArcherSchemaDefinitionOptions options)
at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ArcherValuesListFieldDefinition..ctor(ValuesListFieldDefinition fieldDefinition, ArcherFieldDefinitionOptions options, String parentPath, ValuesListDefinition valuesListDefinition, IEnumerable`1 values, ArcherSchemaDefinitionOptions schemaOptions)
at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ArcherSchemaQueryBase.CreateFieldDefinition(Boolean isTieredSchema, ApplicationFieldDefinitionQuery field, String parentPathName, String appName)
at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ArcherSchemaQueryBase.&lt;&gt;c__DisplayClass7c.&lt;CreateApplication&gt;b__79(ApplicationFieldDefinitionQuery n)
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ArcherSchemaQueryBase.CreateApplication(Boolean isTieredSchema, String parentPathName, ApplicationDefinitionQuery application, Func`2 fieldFilter)
at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ArcherSchemaQueryBase.CreateApplication(Boolean isTieredSchema, String parentPathName, ApplicationDefinitionQuery application)
at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ArcherSchemaRootDefinition..ctor(String rootLocalName, IEnumerable`1 entities, IEnumerable`1 relationships, ArcherSchemaDefinitionOptions options)
at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ApplicationSchemaQuery..ctor(String rootLocalName, SessionContext sessionContext, IEnumerable`1 queries, ArcherSchemaDefinitionOptions options)
at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ApplicationSchemaReader..ctor(XmlQualifiedName rootName, Boolean generateKeys, SessionContext sessionContext, IEnumerable`1 queries, ArcherSchemaDefinitionOptions options)
at ArcherTech.Packaging.Actions.Generation.GeneratePackage.&lt;&gt;c__DisplayClass24.&lt;GenerateSchema&gt;b__23(GenerateContext context, ExecuteActions`1 ignored)</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="2014-11-07T21:58:45.1421814Z" />
<Source Name="Archer.Packaging" />
<Correlation ActivityID="{d749fa11-562c-4ffd-9878-c811d9762d60}" />
<Execution ProcessName="ArcherTech.JobFramework.Job" ProcessID="5688" ThreadID="1" />
<Channel />
<Computer>WCDRE1FM</Computer>
</System>
<ApplicationData>
<TraceData>
<DataItem>
<TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
<TraceIdentifier>Archer.Packaging</TraceIdentifier>
<UserId>183</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.ChannelFramework.ArcherData</Source>
<StackTrace> at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ArcherValueListDataTypeDefinition..ctor(ValuesListDefinition valuesListDefinition, IEnumerable`1 values, ArcherSchemaDefinitionOptions options)
at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ArcherValuesListFieldDefinition..ctor(ValuesListFieldDefinition fieldDefinition, ArcherFieldDefinitionOptions options, String parentPath, ValuesListDefinition valuesListDefinition, IEnumerable`1 values, ArcherSchemaDefinitionOptions schemaOptions)
at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ArcherSchemaQueryBase.CreateFieldDefinition(Boolean isTieredSchema, ApplicationFieldDefinitionQuery field, String parentPathName, String appName)
at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ArcherSchemaQueryBase.&lt;&gt;c__DisplayClass7c.&lt;CreateApplication&gt;b__79(ApplicationFieldDefinitionQuery n)
at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ArcherSchemaQueryBase.CreateApplication(Boolean isTieredSchema, String parentPathName, ApplicationDefinitionQuery application, Func`2 fieldFilter)
at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ArcherSchemaQueryBase.CreateApplication(Boolean isTieredSchema, String parentPathName, ApplicationDefinitionQuery application)
at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ArcherSchemaRootDefinition..ctor(String rootLocalName, IEnumerable`1 entities, IEnumerable`1 relationships, ArcherSchemaDefinitionOptions options)
at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ApplicationSchemaQuery..ctor(String rootLocalName, SessionContext sessionContext, IEnumerable`1 queries, ArcherSchemaDefinitionOptions options)
at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ApplicationSchemaReader..ctor(XmlQualifiedName rootName, Boolean generateKeys, SessionContext sessionContext, IEnumerable`1 queries, ArcherSchemaDefinitionOptions options)
at ArcherTech.Packaging.Actions.Generation.GeneratePackage.&lt;&gt;c__DisplayClass24.&lt;GenerateSchema&gt;b__23(GenerateContext context, ExecuteActions`1 ignored)
at ArcherTech.Packaging.Actions.ActionExecutor`1.ActionExecutorLoop(IEnumerable`1 actions)
at ArcherTech.Packaging.Actions.Generation.GeneratePackage.&lt;&gt;c__DisplayClassa.&lt;GetGenerateActions&gt;b__1(GenerateContext executeContext, ExecuteActions`1 executor)</StackTrace>
</Exception>
</TraceRecord>
</DataItem>
</TraceData>
</ApplicationData>
</E2ETraceEvent>

 
CauseA values list field that is no longer associated to a values list in the database. Possible because the values list was global but deleted resulting in a values list field that is orphaned. This may not be the application that is part of the package but rather a cross reference application one or two applications away.
 
Resolution-- Values list that has no value list association (Field is there but list definition does not exist).
-- To figure out which of values list is a problem.
-- Please run the query below then delete the orphaned field from the applicaiton.
select m.module_name,mt.module_type_desc,fd.* from tblIVFieldDef fd
join tblLevel l on fd.level_id=l.level_id
join tblModule m on m.module_id=l.module_id
join tblModuleType mt on m.module_type_id=mt.module_type_id
where fd.field_id not in (select field_id from tblXIVSelectDefFieldDef)and fd.field_type_id=4

 

Attachments

    Outcomes