If a use Word 2010 to produce 2 PDF file using Save_As....
I then merge the files using
pdfDocument1.Pages.Add(pdfDocument2.Pages);
pdfDocument1.Save(args.Destination.FullName);
The resulting file can be opened by adobe reader without error.
If I then open the pdf in aspose.pdf and save to a file stream
originalDoc.Save(outputStream);
I get the error
I then merge the files using
pdfDocument1.Pages.Add(pdfDocument2.Pages);
pdfDocument1.Save(args.Destination.FullName);
The resulting file can be opened by adobe reader without error.
If I then open the pdf in aspose.pdf and save to a file stream
originalDoc.Save(outputStream);
I get the error
[ArgumentNullException: Value cannot be null.
Parameter name: output]
If there is a single PDF from Word2010 and it is stitched with other PDFs from other sources, there isn't an error.
If the stitched file is opened in adobe reader and saved again then this can be streamed. This means that the original concatenated file is corrupt some how.
I have attached 2 pdfs created by word2010. I have also included the resultant stitched file.