I continue to get the 'System.StackOverflowException' occurred in Aspose.Pdf.dll anytime I use the pdf file editor concatenate method with a specific .pdf. We have never come across this issue with any of our past .pdfs. I do not see a difference in this .pdf as compared to others. I tested this out in Aspose.Pdf 7.4.0 and again with the latest version 7.7.0. Both give me the same error. I am confused on what it could be - like I said, it works with any other .pdf document. Any ideas?
This is what my code looks like (and has been working fine for years):
Dim TheInStrings(arraySize) as String
'TheInStrings gets populated with strings (the file path and file name of the .pdfs we would like to concatenate)
Dim DocumentsLocation As String = ""
'DocumentsLocation is populated with the file path and file name of where we would like to save the concatenated .pdf
Dim pdfEditor as PdfFileEditor = New PdfFileEditor