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