https://issues.apache.org/bugzilla/show_bug.cgi?id=53093

             Bug #: 53093
           Summary: NullPointerException in getParagraph
           Product: POI
           Version: 3.8
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HWPF
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


java.lang.NullPointerException
        at
org.apache.poi.hwpf.usermodel.Paragraph.newParagraph(Paragraph.java:113)
        at org.apache.poi.hwpf.usermodel.Range.getParagraph(Range.java:888)
        at extractParamLpug.<init>(extractParamLpug.java:88)

This error was fixed by changing hwpf/usermodel/Paragraph.java:

113c113
<             if ( listLevel.getGrpprlPapx() != null )
---
>             if ( listLevel != null && listLevel.getGrpprlPapx() != null )

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to