Exception while exporting to PDF

Stimulsoft Reports.NET discussion
Post Reply
ozradek
Posts: 1
Joined: Thu Feb 25, 2016 5:53 am

Exception while exporting to PDF

Post by ozradek »

Stack trace:
at Stimulsoft.Report.Export.StiPdfGeomWriter.DrawString(String st, Font font, StiBrush brush, RectangleF rect, StringFormat sf)
at Stimulsoft.Report.Export.StiBarCodeExportPainter.BaseDrawString(Object context, String st, Font font, StiBrush brush, RectangleF rect, StringFormat sf)
at Stimulsoft.Report.BarCodes.StiBarCodeTypeService.BaseDrawString(Object context, String st, Font font, StiBrush brush, RectangleF rect, StringFormat sf)
at Stimulsoft.Report.BarCodes.StiBarCodeTypeService.BaseDrawString(Object context, String st, Font font, StiBrush brush, Single x, Single y)
at Stimulsoft.Report.BarCodes.StiBarCodeTypeService.DrawBarCodeError(Object context, RectangleF rect, StiBarCode barCode, String message)
at Stimulsoft.Report.BarCodes.StiGS1_128BarCodeType.Draw(Object context, StiBarCode barCode, RectangleF rect, Single zoom)
at Stimulsoft.Report.Export.StiPdfExportService.ExportPdf1(StiReport report, Stream stream, StiPdfExportSettings settings)
at Stimulsoft.Report.Export.StiPdfExportService.ExportPdf(StiReport report, Stream stream, StiPdfExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, StiExportService exportService, Stream stream, StiExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, Stream stream, StiExportSettings settings)
at Genie.Server.Extensions.ReportEngine.exportToStimulsoft(String reportFile, MemoryStream ms, DataSet data, ModelObject host) in d:\TFS\Genie\Server\Infrastructure\Genie.Server.Extensions\Reporting.cs:line 227

I had just slightly modified an existing mrt to use the new barcode style of GS1 128 (was previously using EAN 128b). I have not tried to delete and recreate the object - I just changed the type.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Exception while exporting to PDF

Post by HighAley »

Hello.

Could you specify which version do you use?
Please, try our latest build.
If you still get the error we need to see a sample report template that reproduces the issue.

Thank you.
Post Reply