diff --git a/thirdparties-extension/fr.opensagres.poi.xwpf.converter.core/src/main/java/fr/opensagres/poi/xwpf/converter/core/ListItemContext.java b/thirdparties-extension/fr.opensagres.poi.xwpf.converter.core/src/main/java/fr/opensagres/poi/xwpf/converter/core/ListItemContext.java index 5451a4b2d..eb0bf2645 100644 --- a/thirdparties-extension/fr.opensagres.poi.xwpf.converter.core/src/main/java/fr/opensagres/poi/xwpf/converter/core/ListItemContext.java +++ b/thirdparties-extension/fr.opensagres.poi.xwpf.converter.core/src/main/java/fr/opensagres/poi/xwpf/converter/core/ListItemContext.java @@ -143,6 +143,10 @@ public boolean isRoot() public String getText() { + if (lvl == null || lvl.getLvlText() == null) { + return ""; + } + String text = lvl.getLvlText().getVal(); CTNumFmt numFmt = lvl.getNumFmt();