You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2011/10/04 15:50:33 UTC

DO NOT REPLY [Bug 51950] New: XWPFDocument and getFootnotes()

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: dev@poi.apache.org
        ReportedBy: nkislitsin@mail.ru
    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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 51950] XWPFDocument and getFootnotes()

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51950

Nick Burch <ni...@alfresco.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Nick Burch <ni...@alfresco.com> 2011-10-05 21:27:16 UTC ---
Should be fixed in r1179449 - you should now get an empty list instead

-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


DO NOT REPLY [Bug 51950] XWPFDocument and getFootnotes()

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51950

Nikolai <nk...@mail.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|                            |All
           Severity|critical                    |major

-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org