Wed Jan 15, 2025 4:52 pm
Hi,
we have been using Spire.pdf to convert and merge different files types (.docx, .pdf, .jpeg, etc-) into one pdf document. These work most of time but some file throws error. we are using spire.pdf version 10.7.21.1046
While merging it throws following error
Object reference not set to an instance of an object.
at Spire.Pdf.PdfPageBase.?()
at Spire.Pdf.PdfPageBase.?(Boolean A_0)
at Spire.Pdf.PdfDocumentBase.?(Int32 A_0, PdfDocumentBase A_1, PdfPageBase A_2, List`1 A_3)
at Spire.Pdf.PdfDocumentBase.ImportPageRange(PdfDocumentBase ldDoc, Int32 startIndex, Int32 endIndex, Int32 resultPageIndex)
at Spire.Pdf.PdfDocumentBase.?(PdfDocumentBase A_0)
at Spire.Pdf.Utilities.PdfMerger.?(Object[] A_0, MergerOptions A_1)
at Spire.Pdf.PdfDocument.MergeFiles(Stream[] streams)
at AutoNotification.DPDFGenerationOperation.PerformOperation()
Can you help us resolve the issue? I want to send you the attachment ( uploading it is too big). Can you provide the email where I can mail it to?
Thanks,
Sarvesh