Exception "infinite loop detected." when converting doc to pdf

Hello!
When converting some doc files to pdf following error occurs:
System.InvalidOperationException: Infinite loop detected.
at .(Int32 )
at .( )
at .( )
at .()
at .()
at Aspose.Words.Document.UpdatePageLayout()
at .( , )
at . ​ ​( )
at . ​ ​( )
at Aspose.Words.Document.( , SaveOptions )
at Aspose.Words.Document.(Stream , String , SaveOptions )
at Aspose.Words.Document.Save(String fileName, SaveOptions saveOptions)
We are using latest version of Aspose.Words (19.5)
I have attached the file, on which this behavior can be reproduced
BugAsposeLoop.zip (8.1 KB)

@eospv

We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-18618. 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-18618) have been fixed in this Aspose.Words for .NET 21.6 update and this Aspose.Words for Java 21.6 update.

Ok, thanks. I’ll look into this.

Our current license does not support the latest version. Running Aspose with an old license truncates and watermarks the output PDF. Is there a way to prevent this, if only to test whether an issue is fixed with a new Aspose version? Otherwise, we’re forced to buy a new license not knowing for sure whether the new version fixes our issue or not.

Thanks,
Dennis Abreo
Bentley Systems
dennis.abreo@bentley.com

@dennis.abreo You can request a temporary 30-days license to test the latest version of Aspose.Words without evaluation version limitations.