We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.words in java does not recognize my .doc file

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?

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)


Could you please ZIP and attach your input Word document here for testing? We will investigate the issue and provide you information on it.

Hi Tahir, here is my doc file which can be recognized by ms word but not by Aspose.Words java Document.



notReadable.zip (1.44 KB)


We have tested the scenario and 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-22529. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.