Fix one expected exception-text which is different on newer Java versions Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=63266 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1913383 13f79535-47bb-0310-9956-ffa450edef68tags/REL_5_2_5
@@ -836,7 +836,7 @@ public class XSSFTextParagraph implements Iterable<XSSFTextRun>{ | |||
public ListAutoNumber getBulletAutoNumberScheme() { | |||
ParagraphPropertyFetcher<ListAutoNumber> fetcher = new ParagraphPropertyFetcher<ListAutoNumber>(getLevel()){ | |||
public boolean fetch(CTTextParagraphProperties props){ | |||
if(props.isSetBuAutoNum()) { | |||
if(props.isSetBuAutoNum() && props.getBuAutoNum().getType() != null) { | |||
setValue(ListAutoNumber.values()[props.getBuAutoNum().getType().intValue() - 1]); | |||
return true; | |||
} |