Hello,
We have problem with Viewer component because when we use View
method on xlsx (we expect pdf on output), we receive exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Aspose.Cells.Pivot.PivotTableCollection.(String , PivotTable )
at Aspose.Cells.Pivot.PivotTableCollection.(Int32 , Int32 )
at .(Cells , Int32 , Int32 )
at .(Int32 , Int32 , Int32 , Int32 , AutoFitterOptions )
at .(Cells , Int32 , Int32 , Int32 , Int32 , AutoFitterOptions )
at Aspose.Cells.Worksheet.AutoFitColumns(Int32 firstColumn, Int32 lastColumn, AutoFitterOptions options)
at .(Worksheet )
at .()
at .()
at .(BaseViewOptions )
at GroupDocs.Viewer.Viewer.(BaseViewOptions , CancellationToken )
at .(Func`3 , ViewOptions , CancellationToken )
at GroupDocs.Viewer.Viewer.View(ViewOptions options, CancellationToken cancellationToken)
It works fine on most files but not all.
This appear on .NET 6 with GroupDocs.Viewer for .NET 22.11 and 22.9.
Moreover on your demo page this document is also not showing.
Could you investigate this?
I am attaching the problematic file.
xlsx_sample_gd.7z (47.2 KB)