Free Support Forum - aspose.com

Docm to docx convertion using aspose.words java

Dear Team,

We need to convert .docm into .docx file format.

We have an below error.

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

Please advice.

@ssvel,

Please ZIP and upload your input Word document (.docm file you are getting this problem with) here for testing. We will investigate the issue on our end and provide you more information.

@awais.hafeez

Thanks for your quick replying.

IP File : 13-03290193.zip (943.5 KB)

Please share example for this scenario.

@ssvel,

We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-17236. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-17236) have been fixed in this Aspose.Words for .NET 18.10 update and this Aspose.Words for Java 18.10 update.