Aspose-words-22.12.jar causes java.lang.NullPointerException while using {PAGE \* MERGEFORMAT} {NUMPAGES \* MERGEFORMAT} tags in word template files, when Row.remove() is called before document.save().
It is working f…...not rebuilt after document model manipulation. First, UpdateFields()...UpdateFields() builds the layout model in order to update NumPages...