FileCorruptedException with an ODT file- working with LibreOffice

Hello.

Considering the attached ODT file, aspose-words Java 16.11.0 raises the following exception:

com.aspose.words.FileCorruptedException: The document appears to be
corrupted and cannot be loaded.

at com.aspose.words.FileFormatUtil.zzZ(Unknown Source)

at com.aspose.words.Document.zzY(Unknown Source)

at com.aspose.words.Document.zzZ(Unknown Source)

at com.aspose.words.Document.(Unknown Source)

at com.aspose.words.Document.(Unknown Source)

at
iaspos.v001.JAsposeDocument.openDocument(JAsposeDocument.java:84)

at
iaspos.v001.JAsposeDocument.OpenDocument(JAsposeDocument.java:59)

at JAsposeWrapperTest.main(JAsposeWrapperTest.java:295)

Caused by: java.lang.IllegalArgumentException: value

at com.aspose.words.ListLevel.setNumberFormat(Unknown Source)

at com.aspose.words.zzZC6.zzY(Unknown Source)

at com.aspose.words.zzZC6.zzZ(Unknown Source)

at com.aspose.words.zzZBV.zzZ(Unknown Source)

at com.aspose.words.zzZAH.zzZ(Unknown Source)

at com.aspose.words.Document.zzY(Unknown Source)

… 6 more


Saving it as a DOC, the file is loaded, but then we get errors traversing some text runs.
Both ODT and DOC files are successfully open and printed using LibreOffice and MS Word.

Thank you,

Renato


Hi Renato,

Thanks for your inquiry. 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-14497. 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-14497) have been fixed in this Aspose.Words for .NET 17.1.0 update and this Aspose.Words for Java 17.1.0 update.


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

Confirmed, it works. Thanks.