We use the Strip method in order to remove javascript code from uploaded files.
After updating to Aspose.Pdf from Aspose.Pdf.Kit we started getting this exception when using this method on certain uploaded files (not all files). This does not happen in the old Pdf.Kit version of the class.
Provided is a project that demonstrates the problem including a problematic file example.
We are reverting to Aspose.Pdf.Kit until a fix is provided.
I am able to reproduce your mentioned issue after an initial test. Your issue has been registered in our issue tracking system with issue id: PDFNEWNET-33830 as a high priority issue. You will be notified via this forum thread regarding any updates against your issue.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.