NullReferenceException generated by PdfExtractor.BindPdf()

We are experiencing an error with certain PDFs that have been stamped using the EZBates utility (http://www.ezbates.biz/). We are using Aspose.Pdf for .NET 7.7.

The following code:

PdfExtractor pdfExtractor = new PdfExtractor();
pdfExtractor.BindPdf(inputFilePath);

Generates this exception:

System.NullReferenceException: Object reference not set to an instance of an object.
at . . ( )
at . . . ( , & , )
at . . . ( , & )
at . . ( , & )
at . . . ( , & )
at . . ( , & )
at . . ( , )
at . . . ( , & )
at . . ( , & )
at . . (Int64 , ArrayList )
at . . ()
at . …ctor(Stream , String , Boolean )
at . …ctor(String )
at . . (String )
at . …ctor(String )
at . . (String )
at . . (String )
at . …ctor(String )
at Aspose.Pdf.Document. (String , String )
at Aspose.Pdf.Document…ctor(String filename, String password)
at Aspose.Pdf.Facades.Facade.BindPdf(String srcFile, String password)
at Aspose.Pdf.Facades.PdfExtractor.BindPdf(String inputFile)

I can open the PDFs in Acrobat X without any errors. I have attached an example PDF.

Thanks,

Reuben

Hi Reuben,


Thanks for your inquiry, I've managed to reproduce the issue at my end and logged it as PDFNEWNET-35069 in our issue tracking system for further investigation and resolution. We will keep you updated regarding issue status via this thread.


Sorry for the inconvenience faced.


<span style=“font-size:10.0pt;line-height:115%;font-family:“Arial”,“sans-serif”;
mso-fareast-font-family:Calibri;mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA”>Best Regards,

Hi Reuben,


Thanks for your patience.

I am pleased to share that the issue reported earlier has been resolved in latest release of Aspose.Pdf for .NET 8.2.0. Please try using the latest release and in the event of any further query, please feel free to contact.