xlsx export fails with exception for 2013.1
Posted: Thu Apr 04, 2013 11:18 am
Hi!
I have a problem with report export to Excel2007 format. It ends with exception:
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Stimulsoft.Report.Export.StiExcel2007ExportService.WriteDocPropsCore()
at Stimulsoft.Report.Export.StiExcel2007ExportService.ExportExcel(StiReport report, Stream stream, StiExcel2007ExportSettings 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 Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, String file, StiExportSettings settings)
at ConsoleApplication1.Program.Main(String[] args)
The export function worked well for the last pre-release build, but it does no longer work with version 2013.1. I was unable to reproduce the bug in the Designer, the export fails when rendering form C# code; the bug can be reproduced with a completely blank report template file.
I assume the following bug is related to this.
http://forum.stimulsoft.com/viewtopic.php?f=9&t=36349
Thank you.
Jozef
I have a problem with report export to Excel2007 format. It ends with exception:
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Stimulsoft.Report.Export.StiExcel2007ExportService.WriteDocPropsCore()
at Stimulsoft.Report.Export.StiExcel2007ExportService.ExportExcel(StiReport report, Stream stream, StiExcel2007ExportSettings 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 Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, String file, StiExportSettings settings)
at ConsoleApplication1.Program.Main(String[] args)
The export function worked well for the last pre-release build, but it does no longer work with version 2013.1. I was unable to reproduce the bug in the Designer, the export fails when rendering form C# code; the bug can be reproduced with a completely blank report template file.
I assume the following bug is related to this.
http://forum.stimulsoft.com/viewtopic.php?f=9&t=36349
Thank you.
Jozef