Unexpected NullReferenceException when open the pdf


Hi,

I get the following exception
after call the constructor Aspose.Pdf.Document(stream) with the pdf file (see file attachement).

The code:

using (var doc = new Document(stream){ // Exception!
(…)
}

Hi Thomas,

Thanks for your inquiry. I have tested your scenario with shared document using Aspose.Pdf for .NET 11.8.0 and managed to observe the reported exception. For further investigation, I have logged an issue in our issue tracking system as PDFNET-41164 and also linked your request to it. We will keep you updated via this thread regarding the issue status.

We are sorry for the inconvenience caused.

Best Regards,

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