We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Excel to Pdf causes StackOverflow Exception

Hi,

we have an excel document which causes a stackoverflow exception when saving as pdf. It seems to be related to the image element as I was able to delete all other content of the document and the exception still happens.

Code:

var workbook = new Workbook(@"S:\tmp\in.xlsx");
workbook.Save(@"S:\tmp\out.pdf");

example.zip (544.4 KB)

Kind regards,
Daniel

@Serraniel,
This issue is reproduced and logged in our database for detailed analysis. You will be notified here once any update is ready for sharing.

This issue is logged as:
CELLSNET-48646 - StackOverflow exception while Excel to PDF Conversion

@Serraniel
We are working on this issue.
Since the issue is a bit complicated, we will try to fix it in a week or two.

@Serraniel
The issue is fixed in v21.10.4.
Aspose.Cells21.10.4 For .Net2_AuthenticodeSigned.Zip (5.6 MB)
Aspose.Cells21.10.4 For .Net4.0.Zip (5.6 MB)
Aspose.Cells21.10.4 For .NetStandard20.Zip (5.6 MB)

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