Not recognize java scripts object in pdf document

We could not able to recognize javascript on the attached PDF document. ​ Please find the attached “PDF for B48.pdf” document.

Used the following code snip set to find JavaScript​ object.​ We followed this url: https://docs.aspose.com/pdf/net/working-with-javascript/
Code Start​
bool JavascriptFound = false;​
IList keys = (System.Collections.IList)pdfdoc.JavaScript.Keys;
if (keys.Count > 0)
{
JavascriptFound = true;
}
Code End

PDF for B48.pdf (54.4 KB)

Please let me know if you have any other alternate approach to fetch the Javascript object and even if you need more details on this.

@iarabhavi

We were able to notice that API was throwing System.NullReferenceException while executing the code snippet. Therefore, we have logged an issue as PDFNET-48916 in our issue management system for the sake of correction. We are afraid that we cannot offer any alternative at the moment and as soon as the ticket is resolved, we will inform you. Please be patient and spare us some time.

We apologize for the inconvenience.

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