Free Support Forum - aspose.com

Could not open the Document (.docx)

When we call com.aspose.words.Document to open the attached docx file.
Document doc = new Document(input file);
We got the following error

Caused by: java.io.IOException: The stream is closed.
at asposewobfuscated.FF.Fu(Unknown Source)
...
at com.aspose.words.Document.(Unknown Source)
at

if we open the docx file in MSOffice 2010 and "Enable Editing", do any change such as typing a space, then save. This seems to work.


Thanks for help!

Hi Will,


Thanks for your inquiry. I have managed to reproduce the same issue at my side. I have logged this issue as WORDSJAVA-699 in our issue tracking system. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Thanks a lot!

Hi Will,


Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.

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


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