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 2015/05/05 03:38:12 UTC

[Bug 57889] New: Fix potential NPE in XWPFParagraph.getNumFmt()

https://bz.apache.org/bugzilla/show_bug.cgi?id=57889

            Bug ID: 57889
           Summary: Fix potential NPE in  XWPFParagraph.getNumFmt()
           Product: POI
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XWPF
          Assignee: dev@poi.apache.org
          Reporter: tallison@mitre.org

For some docx files, we can get an NPE with XWPFParagraph's getNumFmt().  I
found this while working on TIKA-1315.  

In support of that ticket, let's also add the ability to get the
numberstartoverride from a paragraph as well as the numLevelText.  We aren't
currently exercising the required classes for those so they aren't getting
auto-included in our ooxml-lite jar.

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


[Bug 57889] Fix potential NPE in XWPFParagraph.getNumFmt()

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

Tim Allison <ta...@mitre.org> changed:

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

--- Comment #3 from Tim Allison <ta...@mitre.org> ---
Thanks to Moritz Dorka on TIKA-1315, we now have a document that triggers the
inclusion of CTNumLvl.

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


[Bug 57889] Fix potential NPE in XWPFParagraph.getNumFmt()

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

Tim Allison <ta...@mitre.org> changed:

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

--- Comment #2 from Tim Allison <ta...@mitre.org> ---
CTNumLvl didn't actually make it into the jar.

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


[Bug 57889] Fix potential NPE in XWPFParagraph.getNumFmt()

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

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |58839

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


[Bug 57889] Fix potential NPE in XWPFParagraph.getNumFmt()

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

Tim Allison <ta...@mitre.org> changed:

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

--- Comment #1 from Tim Allison <ta...@mitre.org> ---
I updated our Numbering.docx test file and added some unit tests.

r1677723.

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