"Index was outside the bounds of the array" on Save

Hi,

The attached XLSX file input.zip (302.5 KB) is causing “Index was outside the bounds of the array” exception on Aspose.Cells for NET 19.6 when saving to PDF with the following code:

Aspose.Cells.Workbook workbook = new Aspose.Cells.Workbook("input.xlsx");
workbook.Save("output.pdf");

The same file saves to PDF correctly in Excel. Is it possible to fix this to save using Aspose.Cells?

Thanks!

1 Like

@ast3,
We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issue has been logged as

CELLSNET-46814 – Exception "Index was outside the bounds of the array" while converting XLSX to PDF

@ast3,
This is to inform you that we have fixed your issue (logged earlier as “CELLSNET-46814”) now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

The issues you have found earlier (filed as CELLSNET-46814) have been fixed in Aspose.Cells for .NET v19.8. This message was posted using BugNotificationTool from Downloads module by Amjad_Sahi

@chanti130788,
I am afraid that there is no such workaround available which can be opted to bypass this issue. You have to upgrade to the latest version for the resolution of this problem. We are sorry for the inconvenience caused to you in this regard.