final ListLevel listLevel = listTables.getLevel( listId,
paragraph.getIlvl() );
- if ( listLevel.getNumberText() == null )
+ if ( listLevel==null || listLevel.getNumberText() == null )
return EMPTY;
StringBuffer bulletBuffer = new StringBuffer();
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 );