Aspose PDF .Concatenate fails to concatenate on certain pdfs with bookmarks

We are using the Concatenate function to merge PDFs and it does seem to work on certain PDFs with bookmarks. The code doesn’t throw any error/ exception. It just hangs on the line of code where the concatenate is called. It seem to work perfectly on certain other files with bookmarks. The files are not large - 2 or 3 pages.

I ran the same files through Pdfsam and it was able to merge and keep the bookmarks without any issues.

Has anyone else encountered such issue and do you have a fix for it?

@shikarishambu
Could you provide the files that this happens to and the code snippet used?

Files uploaded. Code is in the zipfile

California_3522_2022_1.pdf (61.3 KB)
California_3522_2022_2.pdf (61.5 KB)
TestingPDFMerge.zip (94.6 KB)

@shikarishambu
Thank you, I’ll take a look and write today.

Hi, Any updates on this?

@shikarishambu
The problem has reproduced, I will create a corresponding task.

@shikarishambu
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): PDFNET-53708

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.