Handle NPE reported at https://github.com/plutext/docx4j/issues/106