Free Support Forum - aspose.com

Null reference exception while creating Document class

Hi,

We are using of Aspose.Pdf for .NET 7.4.0.

We are having trouble loading cetain pdf files to aspose.

We are using the following code, which throws a null reference exception.

I have attached the PDF file.

string pdfPath = @“D:\test\ORFM1262.pdf”;
Aspose.Pdf.Document asposeDoc = new Aspose.Pdf.Document(pdfPath);

Really apreciate any help on geting a fix for this.

Thanks
Anwar

Hi Anwar,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for sharing the sample code and template file.

I am able to reproduce your mentioned issue after an initial test. Your issue has been registered in our issue tracking system with issue id: PDFNEWNET-34468. We will notify you via this forum thread regarding any updates.

Sorry for the inconvenience,

The issues you have found earlier (filed as PDFNEWNET-34468) have been fixed in Aspose.Pdf for .NET 7.5.0.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.