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

Free Support Forum - groupdocs.com

Replace Text annotation fails when applied second time in Word document in Java

When I do a first replace text in a DOCX it works, but if I try to do another replace to the same document a lib internal NullPointer blows up. I made tests with the Spring Demo Application and Java Sample Examples.

Git project: https://github.com/groupdocs-total/GroupDocs.Total-for-Java.git
Git branch: main
Git revision: 7222ea0f
Browser: Chrome Version 92.0.4515.159 (Official Build) (64-bit)
SO: Windows 10
Java version: 1.8.0_281
Exemple file:
AddTextReplacementAnnotation0.docx (14.2 KB)

1 Like


We are investigating this scenario. Please keep track of this GitHub issue link.

The issues you have found earlier (filed as ANNOTATIONJAVA-1342) have been fixed in this update. This message was posted using Bugs notification tool by vitaliy.rezchikov