Specific PDF fails to convert

Hi,

we’re getting the following error trying to convert a specific pdf file (the one attached)

System.ArgumentNullException: Value cannot be null.
Parameter name: pdfObject
at #=zSOP84LlsPfp3wdfx_rD5StCwF3tn.#=zHPwqB0c=(#=zvujjjfT38ycX2manl0C5rmxgBZ4qq6EKLw== #=zPsLdZsOkikAL)
at #=zRqQdYDh3WYzqQNPvmP1sf33fGxBY.#=z_4OPO1rMtjC4()
at #=zRqQdYDh3WYzqQNPvmP1sf33fGxBY.#=znxlrIYM=(Stream #=z3z$F55E=)
at Aspose.Pdf.Document.#=zh7YHIaLJTSkO(Stream #=z$CIfKyo=, SaveOptions #=zgGb7E$RCz7_R)
at Aspose.Pdf.Document.#=zlcca4xrSkWVv(Stream #=z5xnxeAY6wTGR, SaveOptions #=zi6gl8$U=)
at Aspose.Pdf.Document.#=zlcca4xrSkWVv(Stream #=z5xnxeAY6wTGR, SaveFormat #=zUhz2tHo=)
at Aspose.Pdf.Document.#=zlcca4xrSkWVv(String #=zkPlJQpzoqkct, SaveFormat #=zUhz2tHo=)
at Aspose.Pdf.Document.Save(String outputFileName, SaveFormat format)
at AsposeEmailBug.Program.Main(String[] args) in D:\Bravo\POCs and Spikes\AsposeEmailBug\AsposeEmailBug\Program.cs:line 17

The file is

ErrorPdf_1.zip (202.6 KB)

@WorkZone

Thank you for contacting support.

Would you please share SSCCE code so that we may try to reproduce and investigate it in our environment. Before sharing requested code, please ensure using Aspose.PDF for .NET 19.10.

Hi,

the code is straightforward

var document = new Aspose.Pdf.Document(“d:\ErrorPdf_1.pdf”);
document.Save(“d:\ErrorPdfResult.pdf”, Aspose.Pdf.SaveFormat.Pdf);

@WorkZone

We have been able to reproduce the issue in our environment. A ticket with ID PDFNET-47202 has been logged in our issue management system for further investigation and resolution. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.

We are sorry for the inconvenience.

The issues you have found earlier (filed as PDFNET-47202) have been fixed in Aspose.PDF for .NET 23.6.