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

Free Support Forum - aspose.com

Your sample ReplaceText does not work

Your sample ReplaceText does not work
this is the stack trace
java.lang.NullPointerException
at com.aspose.pdf.kit.f5.a(Unknown Source)
at com.aspose.pdf.kit.PdfContentEditor.replaceText(Unknown Source)
at samples.contentEditor.ReplaceText.main(ReplaceText.java:24)
I’m really surprised, as at least samples should work!!

Hi Citro,

Thanks for considering Aspose.

We apologize for such inconvenience. Could you please help us out, while pointing to the location from where you have accessed the code.

FYI: This is Beta version of ReplaceText. The feature may not be supported well for some PDF files and we may be not able to fix it in short time.