000035923 - In RSA Archer 5.5.4.2 for multi-level applications, the export to .PDF, .RTF and .HTML fails with error: Invalid Data Member

Document created by RSA Customer Support Employee on Jan 16, 2018
Version 1Show Document
  • View in full screen mode

Article Content

Article Number000035923
Applies ToRSA Product Set: Archer
RSA Product/Service Type: RSA Archer (On-Premise)
RSA Version/Condition: 5.5.4.2
Platform: Windows
IssueWhen attempting to export the record to .PDF, .RTF or .HTML format, the export fails with the following error log entry.
 

<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="2017-12-06T14:15:14.0000000Z" />
        <Source Name="Archer.NET" />
        <Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" />
        <Execution ProcessName="w3wp" ProcessID="15460" ThreadID="70" />
        <AssemblyVersion>5.5.40200.1016</AssemblyVersion>
        <Channel />
        <Computer>ARCHER_SERVER</Computer>
    </System>
    <ApplicationData>
        <TraceData>
            <DataItem>
                <TraceRecord Severity="Error" xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord">
                    <TraceIdentifier>Archer.NET</TraceIdentifier>
                    <Description>Invalid data member '[FIELD ALIAS]'</Description>
                    <Exception>
                        <Message>Invalid data member '[FIELD ALIAS]'</Message>
                        <Source>DevExpress.Printing.v13.2.Core</Source>
                        <StackTrace>   at DevExpress.XtraPrinting.PrintingSystemBase.OnCreateDocumentException(ExceptionEventArgs args)
   at DevExpress.XtraPrinting.Native.PageBuildEngine.BuildPages(DocumentBand rootBand, Boolean clearGroupingInfo)
   at DevExpress.XtraPrinting.Native.DocumentHelper.BuildPages()
   at DevExpress.XtraPrinting.Native.PrintingDocument.BuildPages()
   at DevExpress.XtraPrinting.PrintingSystemBase.End(Boolean buildPagesInBackground)
   at DevExpress.XtraReports.UI.XtraReport.CreateDocumentCore2(PrintingSystemBase ps, Single progressRange, Boolean buildPagesInBackground)
   at DevExpress.XtraReports.UI.XtraReport.ExportToPdf(Stream stream, PdfExportOptions options)
   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>
                            <Message>Invalid data member '[FIELD ALIAS]'</Message>
                            <Source>DevExpress.Data.v13.2</Source>
                            <StackTrace>   at DevExpress.Data.Browsing.DataContextBase.GetDataBrowserInternal(Object dataSource, String dataMember, Boolean suppressException)
   at DevExpress.XtraReports.Native.Data.XRDataContext.GetDataBrowserInternal(Object dataSource, String dataMember, Boolean suppressException)
   at ArcherTech.ChannelFramework.Reporting.UI.XRTreeView.UpdateBindingCore(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.XRControl.UpdateBinding(XRDataContext dataContext, ImagesContainer images)
   at DevExpress.XtraReports.UI.Band.GenerateContent(DocumentBand docBand, Int32 rowIndex, Boolean fireBeforePrint)
   at DevExpress.XtraReports.UI.Band.GenerateWithSubreports(DocumentBand docBand, Int32 rowIndex, Boolean fireBeforePrint, PageBuildInfo pageBuildInfo)
   at DevExpress.XtraReports.Native.SelfGeneratedDocumentBand..ctor(RootDocumentBand root, DocumentBandKind kind, Band band, Int32 rowIndex, Boolean fireBeforePrint, PageBuildInfo pageBuildInfo)
   at DevExpress.XtraReports.UI.Band.CreateDocumentBand(Int32 rowIndex, RootDocumentBand rootDocBand, PageBuildInfo pageBuildInfo)
   at DevExpress.XtraReports.Native.Printing.DetailWriterBase.WriteDetailCore(PageBuildInfo pageBuildInfo)
   at DevExpress.XtraReports.Native.Printing.DetailWriterBase.Write(DocumentBand rootBand, PageBuildInfo pageBuildInfo)
   at DevExpress.XtraReports.Native.Printing.DocumentBuilder.GetBand(DocumentBand rootBand, PageBuildInfo pageBuildInfo)
   at DevExpress.XtraPrinting.Native.DocumentBand.GetBand(Int32 index, RectangleF bounds, PointF offset, Boolean forNextPage)
   at DevExpress.XtraPrinting.Native.BuildInfoContainer.GetDetailContainer(DocumentBand rootBand, PageRowBuilderBase pageRowBuilderBase, RectangleF bounds)
   at DevExpress.XtraPrinting.Native.PageHeaderFooterRowBuilder.GetHeaderRowIndex(DocumentBand rootBand)
   at DevExpress.XtraPrinting.Native.PageHeaderFooterRowBuilderBase.FillPageHeader(DocumentBand rootBand, RectangleF bounds)
   at DevExpress.XtraPrinting.Native.PageHeaderFooterRowBuilderBase.FillReportDetailsAndFooter(DocumentBand rootBand, RectangleF bounds)
   at DevExpress.XtraPrinting.Native.PageRowBuilderBase.FillPage(DocumentBand rootBand, RectangleF bounds)
   at DevExpress.XtraPrinting.Native.PageBuildEngine.Build()
   at DevExpress.XtraPrinting.Native.PageBuildEngine.BuildPages(DocumentBand rootBand, Boolean clearGroupingInfo)</StackTrace>
                        </InnerException>
                    </Exception>
                </TraceRecord>
            </DataItem>
        </TraceData>
    </ApplicationData>
</E2ETraceEvent>

 
CauseInside a multi-leveled application that has:
  1. Cross reference fields that reference the same level  AND
  2. Cross reference fields that reference different levels AND
  3. A cross reference field is configured to include another cross reference field as a display field AND
  4. One record is related to another record on the same level, which then relates to a record on a different level where all records are in the same application.
Then exports to .RTF, .PDF or .HTML format will fail for the records that have these cross references populated.
ResolutionThis issue is being tracked as ARCHER-45610 (Leveled application with self reference fails to export to PDF, RTF, and HTML with Invalid Data Member error) and will be addressed in a future release. 
WorkaroundWorkaround 1:  Edit the cross reference field and remove any other cross references from the Display Fields configuration of the cross reference
Workaround 2:  Rewrite the multi-level application as separate single level applications.

Attachments

    Outcomes