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
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!