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

             Bug #: 51950
           Summary: XWPFDocument and getFootnotes()
           Product: POI
           Version: 3.8-dev
          Platform: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: XWPF
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


When creating a new XWPFDocument footnotes is null. Therefore getFootnotes()
must return null, but no check for null in this method.
public List<XWPFFootnote> getFootnotes() {
    return footnotes.getFootnotesList();
}

-- 
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