Convert documents crash

The following document
headeronly.docx (22.3 KB)
causes Aspose to crash when converting it to a pdf.

Got the following exception from Aspose 22.4

java.lang.NullPointerException

This document is corrupted, so it will be great to see a more descriptive error other than NullPointer.

Tracked internally as 10096

@epaulet-society Thank you for reporting the problem to us. For a sake of correction it has been logged as WORDSNET-23938. We will keep you informed and let you know once it is resolved.
Note, MS Word also detects the document as corrupted and can open the document only after recovering.

The issues you have found earlier (filed as WORDSNET-23938) have been fixed in this Aspose.Words for Java 22.7 update also available on Maven.