Free Support Forum - aspose.com

Exception when opening doc file

When I try to open the attached doc, using Aspose. I got the following Error:
The file opens fine, using Microsoft Word.
Is there an option to ‘Ignore missing styles’, when opening a Document ?

com.aspose.words.FileCorruptedException: The document appears to be corrupted and cannot be loaded.
at com.aspose.words.FileFormatUtil.Z(Unknown Source)
at com.aspose.words.Document.Z(Unknown Source)
at com.aspose.words.Document.Ã(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at be.lettergen.projects.fortis.printing.testAspose.main(testAspose.java:15)
Caused by: java.lang.IllegalStateException: Cannot find a style with this istd.
at com.aspose.words.StyleCollection.YR(Unknown Source)
at com.aspose.words.Paragraph.ZTi(Unknown Source)
at com.aspose.words.Paragraph.fetchInheritedParaAttr(Unknown Source)
at com.aspose.words.Paragraph.fetchParaAttr(Unknown Source)
at com.aspose.words.NO.lR(Unknown Source)
at com.aspose.words.NO.lS(Unknown Source)
at com.aspose.words.NO.Ã(Unknown Source)
at com.aspose.words.EQ.Ã(Unknown Source)
at com.aspose.words.ZXZ.Y(Unknown Source)
at com.aspose.words.ZXZ.Ã(Unknown Source)
at com.aspose.words.ZXZ.Ã(Unknown Source)
at com.aspose.words.ZXZ.Zm(Unknown Source)
at com.aspose.words.ZXZ.Lf(Unknown Source)
at com.aspose.words.ZXZ.ZSW(Unknown Source)
at com.aspose.words.ZXZ.parse(Unknown Source)
at com.aspose.words.VY.read(Unknown Source)
at com.aspose.words.Document.Z(Unknown Source)
… 4 more

Many thanks

Hi,


Thanks for your inquiry. I have tested the scenario and have managed to reproduce the same exception on my side. For the sake of correction, I have logged this problem as WORDSNET-8137 in our issue tracking system. 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.

Best regards,

The issues you have found earlier (filed as WORDSNET-8137) have been fixed in this .NET update and this Java update.


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