Extract form fields from PDF using Aspose.PDF for .NET - null exception object reference

Hello,

I have a problem reading the form fields from a pdf (Null exception)
32387_1_Documento Estudio.pdf (612.2 KB)

string ruta = @“D:\borrar\32387_1_Documento Estudio.pdf”;
Aspose.Pdf.Document pdf = new Aspose.Pdf.Document(ruta);
Aspose.Pdf.Forms.Field[] campos = pdf.Form.Fields;// pdf.Form.Fields->>> null exception object reference

Thank you!

@sgrsoft

We were able to reproduce the issue in our environment with Aspose.PDF for .NET 20.4. We have logged it as PDFNET-48097 in our issue tracking system for the sake of correction. We will look into its details and keep you posted with the status of its rectification. Please be patient and spare us some time.

We are sorry for the inconvenience.

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