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

Free Support Forum - aspose.com

Mergin pdf forms causes a Null Reference Exception

I am working on merging multiple pdf documents and it was failing only when i included a pdf document that had form fields. Here is a very simple code.

FileStream inputStream = new FileStream(".myFile.pdf", FileMode.Open);
MemoryStream outputStream = new MemoryStream();
PdfFileEditor editor = new PdfFileEditor();
editor.Concatenate(new Stream[] { inputStream }, outputStream);

Hi Andy,

Thanks for using our API’s.

Can you please share the resource PDF files which you are trying to concatenate, so that we can test the scenario in our environment. We are sorry for your inconvenience.

here is the file I used. Thanks

Hi Andy,

Thanks for sharing the resource file.

have tested the scenario and I am able to reproduce the same problem. For the
sake of correction, I have logged it in our issue tracking system as PDFNEWNET-39153. We
will investigate this issue in details and will keep you updated on the status
of a correction. <o:p></o:p>

We apologize for your inconvenience.

I just tried with the latest version of Aspose and this is still an issue. Any update on this.

Hi Andy,

Thanks for your patience.

I am afraid the issue reported earlier is pending for review and is not yet resolved. Nevertheless, the team will start investigating/resolving this issue as per their schedule and as soon as we have some definite updates regarding its resolution, we will let you know.

Your patience and comprehension is greatly appreciated in this regard. We are sorry for this delay and inconvenience.