Word document won't open

Hi,

I tried to open STUDENT.doc and I got following exception:

Exception in thread "main" com.aspose.words.FileCorruptedException: The document appears to be corrupted and cannot be loaded.
at com.aspose.words.Document.a(Document.java:1372)
at com.aspose.words.Document.b(Document.java:1341)
at com.aspose.words.Document.a(Document.java:1229)
at com.aspose.words.Document.(Document.java:149)
at com.aspose.words.Document.(Document.java:123)
at org.gs4tr.filters.msoffice.word.test.InstanceTest.main(InstanceTest.java:8)
Caused by: java.lang.NullPointerException
at com.aspose.words.nx.a(EsShapeFiler.java: 339)
at com.aspose.words.cl.ax(DocReader.java: 260)
at com.aspose.words.eq.a(Parser.java: 786)
at com.aspose.words.eq.d(Parser.java: 758)
at com.aspose.words.eq.a(Parser.java: 539)
at com.aspose.words.eq.a(Parser.java: 438)
at com.aspose.words.eq.e(Parser.java: 336)
at com.aspose.words.eq.a(Parser.java: 290)
at com.aspose.words.eq.a(Parser.java: 242)
at com.aspose.words.eq.n(Parser.java: 166)
at com.aspose.words.eq.parse(Parser.java: 65)
at com.aspose.words.cl.read(DocReader.java: 93)
at com.aspose.words.Document.b(Document.java: 1258)
… 4 more

I used following line of code:

Document doc = new Document("d:/test/STUDENT.doc");

STUDENT.doc is in attachment.

Thanks,

Zeljko

Hi

Thank you for reporting this problem to us. I managed to reproduce it on my side. Your request has been linked to the appropriate issue. You will be notified as soon as it is resolved.
Best regards.

Hi,

Thank you for fast response.

Zeljko

Hi,

Is there any progress on this issue?

Thanks,

Zeljko

Hi

Thanks for your request. The issue will be fixed in the next hotfix. Please expect a reply before next hotfix (within 4-5 weeks).
Best regards,

The issues you have found earlier (filed as 13701) have been fixed in this update.

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

Hi,

This is fix for .NET version. I reported issue in Java version.

Thanks,
Zeljko

Hi
Thanks for your inquiry. Currently we are working on synchronizing Java and .NET versions of Aspose.Words. Once we finish this work all functionality which is supported in, NET version will be supported in Java version, including this fix. Please expect a reply before next hotfix (within 2-3 weeks).
Best regards,