000032438 - Unable to generate a Package in RSA Archer due to a bad Value in a Values List

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

Article Content

Article Number000032438
Applies ToRSA Product Set: Archer
RSA Version/Condition: All
IssueUnable to create Package or generate it.
The following is a sample exception from the JobFramework log file. The hexadecimal value may be different.
<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.Packaging</TraceIdentifier> 
          <UserId>183</UserId> 
          <Description>'.', hexadecimal value 0x00, is an invalid character.</Description> 
          <AppDomain>ArcherTech.JobFramework.Job.exe</AppDomain> 
          <Exception>
            <ExceptionType>System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType> 
            <Message>'.', hexadecimal value 0x00, is an invalid character.</Message> 
            <Source>System.Xml</Source> 
            <StackTrace>
              at System.Xml.XmlEncodedRawTextWriter.InvalidXmlChar(Int32 ch, Char* pDst, Boolean entitize) 
              at System.Xml.XmlEncodedRawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd) 
              at System.Xml.XmlEncodedRawTextWriter.WriteString(String text) 
              at System.Xml.XmlWellFormedWriter.WriteValue(String value) 
              at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteString(XmlWriterDelegator xmlWriter, String value, XmlDictionaryString name, XmlDictionaryString ns) 
              at WriteValuesListValueDefinitionToXml(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext , ClassDataContract ) 
              at System.Runtime.Serialization.ClassDataContract.WriteXmlValue(XmlWriterDelegator xmlWriter, Object obj, XmlObjectSerializerWriteContext context) 
              at System.Runtime.Serialization.DataContractSerializer.InternalWriteObjectContent(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver) 
              at System.Runtime.Serialization.DataContractSerializer.InternalWriteObject(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver) 
              at System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver) 
              at System.Runtime.Serialization.DataContractSerializer.WriteObject(XmlWriter writer, Object graph) 
              at ArcherTech.Kernal.Brokers.Packaging.Generate.Domain.MetadataHelper.Serialize[T](T value) 
              at ArcherTech.Kernal.Brokers.Packaging.Generate.Actions.Generation.GeneratePackage.AddCustomValuesListValueElements(ValuesListValueDefinition valuesListValueDefinition, IList`1 elements) 
              at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ArcherValueListDataTypeDefinition.BuildAnnotations(ValuesListValueDefinition definition) 
              at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ArcherValueListDataTypeDefinition.&lt;&gt;c__DisplayClass9.&lt;BuildRestrictionContent&gt;b__8(String name, ValuesListValueDefinition definition) 
              at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ArcherValueListDataTypeDefinition.BuildTree(String parentName, IEnumerable`1 values, Action`2 action) 
              at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.ArcherValueListDataTypeDefinition.BuildRestrictionContent() 
              at ArcherTech.ChannelFramework.ArcherData.DataDefinition.SchemaSimpleTypeDefinition.BuildElements() 
              at System.Linq.Enumerable.&lt;SelectManyIterator&gt;d__14`2.MoveNext() 
              at System.Linq.Enumerable.&lt;ConcatIterator&gt;d__71`1.MoveNext() 
              at System.Linq.Enumerable.&lt;ConcatIterator&gt;d__71`1.MoveNext() 
              at ArcherTech.ChannelFramework.ArcherData.SchemaReader.&lt;BuildSchemaXmlElements&gt;d__5.MoveNext() 
              at ArcherTech.ChannelFramework.ArcherData.SchemaReader.ReadXmlElement(XmlElementDefinition parent) 
              at ArcherTech.ChannelFramework.Readers.XmlElementReaderBase.ProcessNextXmlElement(Boolean previousIsSelfClosing) 
              at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r) 
              at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o) 
              at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options) 
              at ArcherTech.Kernal.Brokers.Packaging.Generate.Actions.Generation.GeneratePackage.&lt;&gt;c__DisplayClassb3.&lt;GenerateSchema&gt;b__b2(GenerateContext context, ExecuteActions`1 ignored) 
              at ArcherTech.Kernal.Brokers.Packaging.Generate.Actions.ActionExecutor`1.ActionExecutorLoop(IEnumerable`1 actions) 
              at ArcherTech.Kernal.Brokers.Packaging.Generate.Actions.Generation.GeneratePackage.&lt;&gt;c__DisplayClassa.&lt;GetGenerateActions&gt;b__1(GenerateContext executeContext, ExecuteActions`1 executor)
            </StackTrace> 
          </Exception> 
        </TraceRecord> 
      </DataItem> 
    </TraceData> 
  </ApplicationData> 
</E2ETraceEvent>



 
Resolution
The issue is caused by an invalid Value in the Available Values list. Once this was fixed, the package generated appropriately.

User-added image
Most likely, the "bad" Values List Value was added via a Data Feed or Data Import.

Attachments

    Outcomes