Viewer.View NullReferenceException

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)

@D04486411

Thank you for attaching the file. Can you clarify which OS you’re using to run the app?

@vladimir.litvinchik
We tried on Win11 and Win10

@D04486411

Unfortunately, I can’t reproduce this issue on my side using this sample-app.zip (48.8 KB). Can you please try running the app on your side or share your app.