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

Free Support Forum - aspose.com

StackOverflow error occurs while retrieving contents from a pdf file

Hi there,

Hope you are doing good.

I am using Aspose.pdf 17.9 version API’s in my application.

I am getting StackOverflow exception and my desktop application gets crashed while retrieving contents from below pdf file.

Code snippet:

  using (Aspose.Pdf.Document pdfDocument = new Aspose.Pdf.Document(fileURL))
                TextAbsorber textAbsorber = new TextAbsorber();
                string docText = textAbsorber.Text;

Thanks in advance.


Thank you for contacting support.

You have raised similar concern in another thread, which has been replied. Kindly follow up in respective thread.

The issues you have found earlier (filed as PDFNET-44265) have been fixed in Aspose.PDF for .NET 20.6.