000034292 - Exporting RSA Archer record to PDF or CSV formats fails: An error has occurred during the export process

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

Article Content

Article Number000034292
Applies ToRSA Product Set: Archer
RSA Version/Condition: 5.5.3.3 and higher
IssueExports of an Archer record to PDF or CSV formats may fail with the following error displayed to the user:
User-added image
Additionally the following detailed error will be printed in the Archer.w3wp logs:
<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.NET</TraceIdentifier>
                    <Description>Object reference not set to an instance of an object.</Description>
                    <AppDomain>/LM/W3SVC/1/ROOT/RSAarcher-1-131221595440523599</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.Reporting</Source>
                        <StackTrace>
   at ArcherTech.ChannelFramework.Reporting.DevExpress.TableLayoutHelper.AddFittedControl(XRControl control, XRControl child)
  at ArcherTech.ChannelFramework.Reporting.DevExpress.DevExpressTextControl.PerformLayout(String containerDataPath, XRControl parent, FormattingRuleSheet ruleSheet, DevExpressReportStyles styles)
   at ArcherTech.ChannelFramework.Reporting.DevExpress.DevExpressGridReportSection.PerformLayout(String containerDataPath, XRControl parent, FormattingRuleSheet ruleSheet, DevExpressReportStyles styles)
   at ArcherTech.ChannelFramework.Reporting.DevExpress.DevExpressGridReportTab.&lt;&gt;c__DisplayClass19_0.&lt;PerformLayout&gt;b__0(IDevExpressElement tab, Int32 index)
   at System.Linq.Enumerable.&lt;SelectManyIterator&gt;d__18`2.MoveNext()
   at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   at ArcherTech.ChannelFramework.Reporting.DevExpress.DevExpressGridReportTab.PerformLayout(String containerDataPath, XRControl parent, FormattingRuleSheet ruleSheet, DevExpressReportStyles styles)
   at ArcherTech.ChannelFramework.Reporting.DevExpress.DevExpressGridReportTabSetSection.&lt;&gt;c__DisplayClass12_0.&lt;PerformLayout&gt;b__0(DevExpressGridReportTab tab, Int32 index)
   at System.Linq.Enumerable.&lt;SelectManyIterator&gt;d__18`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at ArcherTech.ChannelFramework.Reporting.DevExpress.DevExpressGridReportTabSetSection.PerformLayout(String containerDataPath, XRControl parent, FormattingRuleSheet ruleSheet, DevExpressReportStyles styles)
   at ArcherTech.ChannelFramework.Reporting.DevExpress.DevExpressGridReportTab.&lt;&gt;c__DisplayClass19_0.&lt;PerformLayout&gt;b__0(IDevExpressElement tab, Int32 index)
   at System.Linq.Enumerable.&lt;SelectManyIterator&gt;d__18`2.MoveNext()
   at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   at ArcherTech.ChannelFramework.Reporting.DevExpress.DevExpressGridReportTab.PerformLayout(String containerDataPath, XRControl parent, FormattingRuleSheet ruleSheet, DevExpressReportStyles styles)
   at ArcherTech.ChannelFramework.Reporting.DevExpress.DevExpressGridReportTabSetSection.&lt;&gt;c__DisplayClass12_0.&lt;PerformLayout&gt;b__0(DevExpressGridReportTab tab, Int32 index)
   at System.Linq.Enumerable.&lt;SelectManyIterator&gt;d__18`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at ArcherTech.ChannelFramework.Reporting.DevExpress.DevExpressGridReportTabSetSection.PerformLayout(String containerDataPath, XRControl parent, FormattingRuleSheet ruleSheet, DevExpressReportStyles styles)
   at ArcherTech.ChannelFramework.Reporting.DevExpress.DevExpressGridReport.FinalizeReport()
   at ArcherTech.ChannelFramework.Reporting.DevExpress.DevExpressGridReport.RenderAsPdf(XmlReader data, Stream output, HeaderFooter header, HeaderFooter footer)
   at ArcherTech.PrintExport.PrintExportService.RenderRecordData(SessionContext sessionContext, PrintExportCriteria printExportCriteria, Boolean printLayout, Stream output)
   at ArcherTech.Web.Modules.Foundation.Views.PrintExportPresenter.ExportRecord(SessionContext sessionContext, PrintExportCriteria printExportCriteria)</StackTrace>
                    </Exception>
                </TraceRecord>
            </DataItem>
        </TraceData>
    </ApplicationData>
</E2ETraceEvent>
 
<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.NET</TraceIdentifier>
                    <Description>Invalid Transform: The stylesheet is too complex.</Description>
                    <AppDomain>/LM/W3SVC/1/ROOT/RSAarcher-1-131221595440523599</AppDomain>
                    <Exception>
                        <ExceptionType>System.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                       <Message>Invalid Transform: The stylesheet is too complex.</Message>
                       <Source>ArcherTech.ChannelFramework.Reporting</Source>
                        <StackTrace>
   at ArcherTech.ChannelFramework.Reporting.Xslt.XsltGridReport.RenderReport(XmlReader data, Stream output)
   at ArcherTech.PrintExport.PrintExportService.RenderRecordData(SessionContext sessionContext, PrintExportCriteria printExportCriteria, Boolean printLayout, Stream output)
   at ArcherTech.Web.Modules.Foundation.Views.PrintExportPresenter.ExportRecord(SessionContext sessionContext, PrintExportCriteria printExportCriteria)</StackTrace>
                        <InnerException>
                            <ExceptionType>System.Xml.Xsl.XsltException, System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
                            <Message>The stylesheet is too complex.</Message>
                            <Source>System.Data.SqlXml</Source>
                            <StackTrace>
  at System.Xml.Xsl.Qil.QilDepthChecker.Check(QilNode input, Int32 depth)
   at System.Xml.Xsl.Qil.QilDepthChecker.Check(QilNode input, Int32 depth)
CauseThe issue is caused by a Placeholder field on the Layout that has an invalid configuration.
 
ResolutionThis is a known defect, ARCHER-29985, that will be addressed in a future version of Archer.
Workaround
  1. Go to Administration > Application Builder
  2. Open the Application that has the issue.
  3. Select the Layout tab.
  4. Edit the Layout and remove all Placeholder fields from all Sections and Tabs.
  5. Save the Application.

Attachments

    Outcomes