Thanks for your inquiry. I suggest you please upgrade to the latest version of Aspose.Words for Java 14.6.0 from here:
I have tested the scenario and have managed to reproduce the exception issue for Document1.doc. However, there is no issue while converting Document2.doc to Pdf.
For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-10428. 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.