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

Free Support Forum - aspose.com

Value cannot be null parameter 'key' on Linux Environment

I am trying to convert pdf in .Net core application as below using trail license
doc.Convert(new MemoryStream(), PdfFormat.PDF_A_2A, ConvertErrorAction.Delete);
i am getting error while converting a file i.e Value cannot be nuPdfJavaScript.pdf (2.4 MB)
ll. (Parameter ‘key’)
from convert method. could please revert soon


Could you please attach your input PDF file here for testing? We will investigate the issue and provide you more information on it.

Updated file Please check


We have tested the scenario using the latest version of Aspose.PDF for .NET 21.11 and have not faced the shared issue. So, please try the latest version of Aspose.PDF for .NET 21.11.


In case you are using Aspose.PDF for Java, you can upgrade to the latest version of Aspose.PDF for Java 21.10 to avoid this issue.