Conversion PDF to PDF A after editind converted pdf wrong type parameter supplied to a pds procedure

Hi,
I am converting pdf to pdf a with the latest aspose java api.
After conversion if I click on enable editing (I convert to PDF A) I get the following error :
image.png (6.8 KB)

Java code -
Document pdfDocument = new Document(filePath);
pdfDocument.setXrefGapsAllowed(false);
DocumentPrivilege documentPrivilege = DocumentPrivilege.getAllowAll();

PdfFileSecurity fileSecurity = new PdfFileSecurity(pdfDocument);

fileSecurity.setPrivilege(documentPrivilege);

// Convert to PDF/A compliant document
// During conversion process, the validation is also performed
pdfDocument.convert(getDataDir() + "log.xml", PdfFormat.PDF_A_1A, ConvertErrorAction.Delete);

// Save output document
pdfDocument.save(filePath);

I uploaded the PDF before conversion and after to see the output error.
Aspose.zip (351.4 KB)

@operationsdotbcs

Please upgrade to the latest version of Aspose.PDF for Java 22.5 to avoid this issue. We have not faced this issue while using the Adobe Acrobat writer. If you still face problem, please share the PDF viewer that you are using?