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

Free Support Forum - aspose.com

Dotnet pdf throwing stack overflow exception when save method is called

We are encountering an error while using aspose pdf dotnet library when the content has Japanese characters.

Currently using:
Aspose PDF
Aspose Pdf.Kit

When the underlying content in the PDF has Japanese characters, the save operation never succeeds and waits for long time and throws Stack Overflow Exception:


The above line throws a stackoverflow exception, when the underlying content does not have Japanese characters, then the call to Save method succeeds.
Please need a resolution for this case since our application’s entire report generating logic is based on this library. Upgrading to latest Aspose dotnet pdf library is not an option for us since the changes we need to make in application would be humongous.


Thanks for contacting support.

Can you please share sample project along with source files to further investigate this issue on our end.