git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1305810 13f79535-47bb-0310-9956-ffa450edef68tags/3.10-beta1
@@ -232,7 +232,7 @@ public class AbstractWordUtils | |||
final ListLevel listLevel = listTables.getLevel( listId, | |||
paragraph.getIlvl() ); | |||
if ( listLevel.getNumberText() == null ) | |||
if ( listLevel==null || listLevel.getNumberText() == null ) | |||
return EMPTY; | |||
StringBuffer bulletBuffer = new StringBuffer(); |
@@ -110,7 +110,7 @@ public class Paragraph extends Range implements Cloneable { | |||
final ListLevel listLevel = listTables.getLevel( | |||
listFormatOverride.getLsid(), properties.getIlvl() ); | |||
if ( listLevel.getGrpprlPapx() != null ) | |||
if ( listLevel!=null && listLevel.getGrpprlPapx() != null ) | |||
{ | |||
properties = ParagraphSprmUncompressor.uncompressPAP( | |||
properties, listLevel.getGrpprlPapx(), 0 ); |