Hello,
Aspose.Words for Java, version 11.3.0
Method document.updateFields() generates the exception:
java.lang.NullPointerException
at com.aspose.words.ayp.a(Unknown Source)
at com.aspose.words.ayp.s(Unknown Source)
at com.aspose.words.ayp.ab(Unknown Source)
at com.aspose.words.ayp.Y(Unknown Source)
at com.aspose.words.ayp.visitParagraphStart(Unknown Source)
at com.aspose.words.Paragraph.a(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Paragraph.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Cell.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Row.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Table.accept(Unknown Source)
at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source)
at com.aspose.words.Body.accept(Unknown Source)
at com.aspose.words.ayp.aHg(Unknown Source)
at com.aspose.words.ayp.a(Unknown Source)
at com.aspose.words.pe.QM(Unknown Source)
at com.aspose.words.Field.b(Unknown Source)
at com.aspose.words.Field.a(Unknown Source)
at com.aspose.words.pv.a(Unknown Source)
at com.aspose.words.pv.j(Unknown Source)
at com.aspose.words.ps.execute(Unknown Source)
at com.aspose.words.pv.jD(Unknown Source)
at com.aspose.words.pv.updateFields(Unknown Source)
at com.aspose.words.Range.updateFields(Unknown Source)
at com.aspose.words.Document.updateFields(Unknown Source)
Also the exception is thrown when a method document.getMailMerge().execute(names, values) is called.
Best regards, Evgeniy