I have project by NET.Core and publish by docker in Linux environment. But when it call Sheet.ToImage, it throws Exception "object reference not set to an instance of an object find object in exception c#".
This is detail exception:
"System.NullReferenceException: Object reference not set to an instance of an object.
at sprᬝ.ᜀ(String A_0, sprᬊ A_1, Int32 A_2)
at spr᪱.ᜀ(String A_0)
at spr᪫.ᜀ(spr᪱ A_0)
at spr᪬..ctor(spr A_0, Boolean A_1)
at spr⌱.ᝬ(sprⳚ A_0)
at spr⫑.(sprⳢ A_0, Graphics A_1)
at spr⌵.ᜀ(Int32 A_0, ConverterSetting A_1)
at spr⌵.ᜀ(Int32 A_0, ConverterSetting A_1, Boolean A_2)
at spr⌶.ᜀ(Int32 A_0, Single A_1, Single A_2)
at Spire.Xls.Core.Spreadsheet.XlsWorkbook.ᜀ(Int32 A_0, Int32 A_1, Int32 A_2, Int32 A_3, Int32 A_4, Single A_5, Single A_6, Image& A_7, Stream& A_8)
at Spire.Xls.Core.Spreadsheet.XlsWorkbook.SaveAsImages(Int32 sheetIndex, Int32 firstRow, Int32 firstColumn, Int32 lastRow, Int32 lastColumn, Single dpiX, Single dpiY)
at Spire.Xls.Core.Spreadsheet.XlsWorksheet.ToImage(Int32 firstRow, Int32 firstColumn, Int32 lastRow, Int32 lastColumn)
at Auvenir.Service.FileService.GenerateImageFromExcelAsync(IFormFile file)".
I use SpireXLS version 9.1.22
Thank you