Bug 66425: Avoid exceptions found via poi-fuzz Prevent a possible NullPointerException Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=70467