生产用料清单套打报错
486次浏览
编辑于2018年01月05日 15:08:58
在生产用料清单套打的时候,其中某几张单子打印的时候报错,报错信息如下:
[{"operation":"套打打印预览.GetReport"}]
发生时间: 15:01:03
错误编号: 8c168a131c3048408d9fc80fce26264f
错误信息: '', hexadecimal value 0x1A, is an invalid character.
===================================================
调用堆栈:
at System.Xml.XmlUtf8RawTextWriter.InvalidXmlChar(Int32 ch, Byte* pDst, Boolean entitize)
at System.Xml.XmlUtf8RawTextWriter.WriteAttributeTextBlock(Char* pSrc, Char* pSrcEnd)
at System.Xml.XmlUtf8RawTextWriter.WriteString(String text)
at System.Xml.XmlWellFormedWriter.WriteString(String text)
at System.Xml.XmlWriter.WriteAttributeString(String localName, String value)
at Kingdee.BOS.NotePrinting.XamlExport.XamlWriter.WriteAttributeCore(String attribute, String format, Object value)
at Kingdee.BOS.NotePrinting.XamlExport.XamlWriter.WriteAttribute(String attribute, String value)
at Kingdee.BOS.NotePrinting.XamlExport.BrickExporters.TextBrickXamlExporter.WriteBrickToXamlCore(XamlWriter writer, VisualBrick brick, XamlExportContext exportContext)
at Kingdee.BOS.NotePrinting.XamlExport.BrickExporters.VisualBrickXamlExporter.WriteBrickToXaml(XamlWriter writer, BrickBase brick, XamlExportContext exportContext, RectangleF clipRect)
at Kingdee.BOS.NotePrinting.XamlExport.XamlExporter.WriteBricks(XamlWriter writer, BrickBase brick, XamlExportContext exportContext, PointF offset, RectangleF clipRect, RectangleF exportBrickClipRect)
at Kingdee.BOS.NotePrinting.XamlExport.XamlExporter.WriteBricks(XamlWriter writer, BrickBase brick, XamlExportContext exportContext, PointF offset, RectangleF clipRect, RectangleF exportBrickClipRect)
at Kingdee.BOS.NotePrinting.XamlExport.XamlExporter.WriteBricks(XamlWriter writer, BrickBase brick, XamlExportContext exportContext, PointF offset, RectangleF clipRect, RectangleF exportBrickClipRect)
at Kingdee.BOS.NotePrinting.XamlExport.XamlExporter.Export(Stream stream, Page page, Int32 pageNumber, Int32 pageCount, XamlCompatibility compatibility, String targetAssemblyName)
at Kingdee.BOS.NotePrinting.ReportOne.Print.Browser.R1PrintCtrl.ExportAllXamlPage()
at Kingdee.BOS.Web.Printing.NotePrintService.GetPagesByItem(PrintJobItem jItem)
at Kingdee.BOS.Web.Printing.NotePrintService.GetPagesByJob(PrintJob job)
at Kingdee.BOS.Web.Printing.NotePrintService.GetBatchPages(List`1 pJobs)
at Kingdee.BOS.Web.Printing.NotePrintService.GetReport_Note(List`1 pJobs, Int32 pageIndex, Int32 pageSize, String pageId, String printJobID)
at Kingdee.BOS.Web.Printing.NotePrintService.GetReport(String pageId, String printJobID, Int32 pageIndex, Int32 pageSize, String action)
[{"operation":"套打打印预览.GetReport"}]
发生时间: 15:01:03
错误编号: 8c168a131c3048408d9fc80fce26264f
错误信息: '', hexadecimal value 0x1A, is an invalid character.
===================================================
调用堆栈:
at System.Xml.XmlUtf8RawTextWriter.InvalidXmlChar(Int32 ch, Byte* pDst, Boolean entitize)
at System.Xml.XmlUtf8RawTextWriter.WriteAttributeTextBlock(Char* pSrc, Char* pSrcEnd)
at System.Xml.XmlUtf8RawTextWriter.WriteString(String text)
at System.Xml.XmlWellFormedWriter.WriteString(String text)
at System.Xml.XmlWriter.WriteAttributeString(String localName, String value)
at Kingdee.BOS.NotePrinting.XamlExport.XamlWriter.WriteAttributeCore(String attribute, String format, Object value)
at Kingdee.BOS.NotePrinting.XamlExport.XamlWriter.WriteAttribute(String attribute, String value)
at Kingdee.BOS.NotePrinting.XamlExport.BrickExporters.TextBrickXamlExporter.WriteBrickToXamlCore(XamlWriter writer, VisualBrick brick, XamlExportContext exportContext)
at Kingdee.BOS.NotePrinting.XamlExport.BrickExporters.VisualBrickXamlExporter.WriteBrickToXaml(XamlWriter writer, BrickBase brick, XamlExportContext exportContext, RectangleF clipRect)
at Kingdee.BOS.NotePrinting.XamlExport.XamlExporter.WriteBricks(XamlWriter writer, BrickBase brick, XamlExportContext exportContext, PointF offset, RectangleF clipRect, RectangleF exportBrickClipRect)
at Kingdee.BOS.NotePrinting.XamlExport.XamlExporter.WriteBricks(XamlWriter writer, BrickBase brick, XamlExportContext exportContext, PointF offset, RectangleF clipRect, RectangleF exportBrickClipRect)
at Kingdee.BOS.NotePrinting.XamlExport.XamlExporter.WriteBricks(XamlWriter writer, BrickBase brick, XamlExportContext exportContext, PointF offset, RectangleF clipRect, RectangleF exportBrickClipRect)
at Kingdee.BOS.NotePrinting.XamlExport.XamlExporter.Export(Stream stream, Page page, Int32 pageNumber, Int32 pageCount, XamlCompatibility compatibility, String targetAssemblyName)
at Kingdee.BOS.NotePrinting.ReportOne.Print.Browser.R1PrintCtrl.ExportAllXamlPage()
at Kingdee.BOS.Web.Printing.NotePrintService.GetPagesByItem(PrintJobItem jItem)
at Kingdee.BOS.Web.Printing.NotePrintService.GetPagesByJob(PrintJob job)
at Kingdee.BOS.Web.Printing.NotePrintService.GetBatchPages(List`1 pJobs)
at Kingdee.BOS.Web.Printing.NotePrintService.GetReport_Note(List`1 pJobs, Int32 pageIndex, Int32 pageSize, String pageId, String printJobID)
at Kingdee.BOS.Web.Printing.NotePrintService.GetReport(String pageId, String printJobID, Int32 pageIndex, Int32 pageSize, String action)
推荐阅读