Hi, I am trying to convert a doc file to docx file. But when I tried to open my documentation, I got the following exception. But my .doc file can be opened by MS Word without any issue. Any suggestion?
Thanks!
Exception in thread “main” 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 com.disa.tcmt.util.DocxConverter.main(DocxConverter.java:19)
Caused by: java.lang.IllegalStateException: Cannot find stream ‘1Table’ in the storage.
at com.aspose.words.internal.zzL4.zzZp(Unknown Source)
at com.aspose.words.zz9I.zzZ(Unknown Source)
at com.aspose.words.zz9I.(Unknown Source)
at com.aspose.words.zz9K.(Unknown Source)
at com.aspose.words.zz9S.read(Unknown Source)
at com.aspose.words.Document.zzY(Unknown Source)