PdfJavaScriptStripper.Strip - throws "Object reference not set to an instance of an object"

Hi,

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.

Hi Cesar,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for sharing the sample application.

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.

Sorry for the inconvenience,

The issues you have found earlier (filed as PDFNEWNET-33830) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.