We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Exception "Null reference" when converting a PDF to PDF/UA using Aspose.PDF for .NET

premier.pdf (306.3 KB)

The attached document generates an error when converted to PDF/UA with Aspose.pdf for .Net 20.1

Sample code :
var finput = @“premier.pdf”;
var foutput = @“pdfua_converted.pdf”;
var flog = @“pdfua.log”;
var doc = new Aspose.Pdf.Document(finput);
doc.Convert(flog, PdfFormat.PDF_UA_1, ConvertErrorAction.None, ConvertTransparencyAction.Default);


I have observed your issue and like to inform that I have created investigation ticket with ID PDFNET-47648 in our issue tracking system to investigate and resolve this issue as soon possible.

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