Free Support Forum -

NPE in source)


We are using Aspose.Words for Java for jdk version 1.5. OS is Linux.
When calling updateFiedls we catch exception with following stacktrace (problem document in attach):

at Source)
at com.aspose.words.amc.n(Unknown Source)
at com.aspose.words.auu.aAk(Unknown Source)
at com.aspose.words.auu.aAn(Unknown Source)
at com.aspose.words.auu.a(Unknown Source)
at com.aspose.words.adt.b(Unknown Source)
at com.aspose.words.adt.a(Unknown Source)
at com.aspose.words.cj.GI(Unknown Source)
at com.aspose.words.cj.GH(Unknown Source)
at com.aspose.words.cj.c(Unknown Source)
at com.aspose.words.alm.q(Unknown Source)
at com.aspose.words.alm.h(Unknown Source)
at com.aspose.words.amd.w(Unknown Source)
at com.aspose.words.awi.fJ(Unknown Source)
at com.aspose.words.fq.aU(Unknown Source)
at com.aspose.words.fp.LG(Unknown Source)
at com.aspose.words.xo.a(Unknown Source)
at com.aspose.words.Document.updatePageLayout(Unknown Source)
at Source)
at 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)

Hi Evgeny,

Thanks for your inquiry. After an initial test with the latest version of Aspose.Words i.e. v11.9.0, I was unable to reproduce this exception on my side. I would suggest you please upgrade to Aspose.Words v11.9.0 from the following link:

I hope, this helps.

Best Regards,