xlsx export fails with exception for 2013.1

Stimulsoft Reports.NET discussion
Post Reply
Jozef Balga
Posts: 56
Joined: Fri May 27, 2011 8:33 am
Location: Bratislava, Slovakia

xlsx export fails with exception for 2013.1

Post by Jozef Balga »

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
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: xlsx export fails with exception for 2013.1

Post by Alex K. »

Hello,

The issue is fixed.
Please download the official release version again.

Thank you.
Post Reply