Hello,
Some users of my application are complaining that they can't generate Excel files from the reports in the app. But this problem occurs only in one place and others places not. Here is the error message:
System.NullReferenceException: Object reference not set to an instance of an object.
at C1.C1Excel.t.j(BinaryWriter A_0)
at C1.C1Excel.t.r()
at C1.C1Excel.bh.aa()
at C1.C1Excel.bh.b(Stream A_0)
at C1.C1Excel.bh.j(String A_0, Boolean A_1)
at C1.C1Excel.bh.c(String A_0)
at C1.Win.C1Report.XlsFilter.EndReport()
at C1.Win.C1Report.Layout.ab()
at C1.Win.C1Report.C1Report.x()
at C1.Win.C1Report.C1Report.ad(ExportFilter A_0, Boolean A_1)
at C1.Win.C1Report.C1Report.RenderToFile(String fileName, FileFormatEnum fmt)
at Matrix.Pro.Biblioteca.DocumentoC1.Salva()
at Matrix.Pro.Interface.frmImpressao.Salva(DataRowView drv)
We can't reproduce this error here, this occurs only in one of our clients. Some facts:
- Trying to generate in other formats works fine
- This error occurs in all reports in this client
- Tried with different OS with or without Microsoft Office or OpenOffice in different versions and works
I attached an excel file generated during this error.
Thx!