000032453 - Error occured while exporting Date field Group by hour in RSA Archer 5.5.3

Document created by RSA Customer Support Employee on Aug 11, 2016Last modified by RSA Customer Support on Sep 18, 2019
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000032453
Applies ToRSA Product Set: Archer
RSA Version/Condition: 5.5.3 to 5.5.5; 6.1
 
Issue

The following error occurs while exporting Date field Group by hour in Archer 5.5.3:



An error occurred during the export process. The export file cannot be completed.



Steps to Reproduce



  1. In an application, configure a date field with date and time.
  2. Pull the date field on layout and save the application.
  3. Create few records with date value.
  4. Create a statistical report on the date field Group by hour.
  5. Export the report.

The following information is logged:



<E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
    <System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system">
        <EventID>1</EventID>
        <Type>3</Type>
        <SubType Name="Error">0</SubType>
        <Level>2</Level>
        <TimeCreated SystemTime="2016-01-08T00:37:26.6698998Z" />
        <Source Name="Archer.NET" />
        <Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" />
        <Execution ProcessName="w3wp" ProcessID="4652" ThreadID="7" />
        <AssemblyVersion>5.5.30100.1020</AssemblyVersion>
        <Channel />
        <Computer>EGRC</Computer>
    </System>
    <ApplicationData>
        <TraceData>
            <DataItem>
                <TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
                    <TraceIdentifier>Archer.NET</TraceIdentifier>
                    <Description>Unable to cast object of type 'ArcherTech.Common.Domain.DateRangeHourStatisticGroup' to type 'ArcherTech.Common.Domain.MatrixRowStatisticGroup'.</Description>
                    <AppDomain>/LM/W3SVC/1/ROOT-3-130966798884376457</AppDomain>
                    <Exception>
                        <ExceptionType>System.InvalidCastException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                        <Message>Unable to cast object of type 'ArcherTech.Common.Domain.DateRangeHourStatisticGroup' to type 'ArcherTech.Common.Domain.MatrixRowStatisticGroup'.</Message>
                        <Source>ArcherTech.ChannelFramework.ArcherData</Source>
                        <StackTrace>   at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.StatsSearchStepDefinition.GetDataGroupByDateRange(Object content)
   at ArcherTech.ChannelFramework.ArcherData.DataDefinition.Archer.StatsSearchStepDefinition.GetData(IDataQuery query, Object parent, Object content)
   at ArcherTech.ChannelFramework.ArcherData.DataDefinition.SchemaFieldDefinition.BuildData(IDataQuery query, String namespaceUri, Object parent, Object content)
   at ArcherTech.ChannelFramework.ArcherData.DataDefinition.SchemaStructuredFieldDefinition.&lt;&gt;c__DisplayClass5.&lt;&gt;c__DisplayClass7.&lt;BuildData&gt;b__4(SchemaFieldDefinition m)
   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 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 System.Linq.Enumerable.&lt;ConcatIterator&gt;d__71`1.MoveNext()
   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 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 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 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 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 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.DataReader.ReadXmlElement(XmlElementDefinition parent)
   at ArcherTech.ChannelFramework.Readers.XmlElementReaderBase.ProcessNextXmlElement(Boolean previousIsSelfClosing)
   at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at ArcherTech.ChannelFramework.Reporting.Xslt.XsltHierarchicalReport.RenderReport(XmlReader data, Stream output)
   at ArcherTech.PrintExport.PrintExportService.RenderStatisticalSearchData(SessionContext sessionContext, SearchStatisticReport searchChart, Boolean printLayout, OutputFormatType format, Stream output, PrintExportOptions options, String toolbarHtml)
   at ArcherTech.Web.Modules.Foundation.Views.PrintExportPresenter.ExportSearchResults(SessionContext sessionContext, SearchReportBase report, PrintExportCriteria printExportCriteria)</StackTrace>
                    </Exception>
                </TraceRecord>
            </DataItem>
        </TraceData>
    </ApplicationData>
</E2ETraceEvent


 


 

ResolutionA code fix ARCHER-16700 has been applied to RSA Archer 6.2.

Attachments

    Outcomes