UpdateWordCount causes error Not Expected Boolex Value

Hi,

I have attached the problematic word Document.

I recently upgraded my Aspose.Words.Dll from version 13.9.0.0 to 14.9.0.0.

when i use the Document.UpdateWordCount() it cause the following error:

Not expected other boolex values here.

at . ()
at . ( )
at .VisitRun(Run )
at Aspose.Words.Run.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptChildren(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)
at Aspose.Words.Paragraph.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptChildren(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)
at Aspose.Words.Body.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptChildren(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)
at Aspose.Words.Section.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptChildren(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)
at Aspose.Words.Document.Accept(DocumentVisitor visitor)
at Aspose.Words.Document.UpdateWordCount()

Hi Angel,

Thanks for your inquiry. I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-11167. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-11167) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

The problem is alive again after the last update 15.1.0.

In the attached file there is the code that generates the problem.
Aspose.Words.Document throw the exception (System.InvalidOperationException: Not expected other boolex values here.), but I am not able to get why.
Thanks,
Diego

Hi Diego,

Thanks for your inquiry. I
have tested the scenario using the same document shared in this forum thread and have not found any issue. The issue WORDSNET-11167 appeared while using Document.UpdateWordCount method.

Could you please attach your input Word document here for testing? I will investigate the issue on my side and provide you more information.