Unable to instantiate Word "doc" Document (2790)


I am writing to you about a problem we encountered in working with MSO Word document using the Aspose Words for Java library (v21.10). Specifically, when we try to load a DOC document an exception is thrown - java.lang.RuntimeException: Unable to instantiate Word Document. This behavior is not present when working with the DOCX version of the same file.

I am enclosing the zip file with test code, as well as the source files.

In the hope that together we will quickly overcome the problem!
Best regards!


test code and files.zip (21.8 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 - 23158. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-23158) have been fixed in this Aspose.Words for .NET 21.12 update also available on NuGet.


Just to let you know that in the fix version (21.12) the problem is solved. Thanks!


@zpredojevic Thank you for your feedback it is much appreciated. Please feel free to ask in case of any issues we are always here to help you.