NullReferenceException on saving a Workbook

We are upgrading Aspose.Cells in out .NET solution from 19.1 to the latest version (24.1.0). When we populate data in one of Workbooks, than copy a subset of Worksheets to a new Workbook, an attempt to Save that new Workbook results in NullReferenceException thrown by the Save method.

Stack trace contains only one entry from the library:
at Aspose.Cells.Workbook.Save(String fileName, SaveOptions saveOptions)

The issue exists only with a specific Workbook (the same logic works with other data), and only starting from version 23.7 of the library (downgrading to previous versions fixes it).
I attach a console application with sample code and data, which can be used to reproduce the problem.

We would appreciate a solution to this. Regards
Reproduce_1267917858.zip (440.7 KB)

@solvexia
By using sample file and code for testing, we can reproduce the issue. Found that NullReferenceException occurred when saving a Workbook.

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): CELLSNET-55001

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

@solvexia,

We are pleased to inform you that your issue “CELLSNET-55001” has been resolved. The fix will be included in the upcoming release (Aspose.Cells v24.2) that we plan to release in the first half of February 2024. You will be notified when the next version is released.

Thank you so much!

@solvexia
You are welcome. If you have any questions, please feel free to contact us.

The issues you have found earlier (filed as CELLSNET-55001) have been fixed in this update. This message was posted using Bugs notification tool by johnson.shi