poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60329] New: Avoid NPE when styleid is null
Date Tue, 01 Nov 2016 18:55:51 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60329

            Bug ID: 60329
           Summary: Avoid NPE when styleid is null
           Product: POI
           Version: 3.16-dev
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XWPF
          Assignee: dev@poi.apache.org
          Reporter: tallison@mitre.org
  Target Milestone: ---

On TIKA-2152, Seva Alekseyev submitted a docx file that triggers an NPE when
trying to get the styleid.  If I read OOXML Ecma 1 [1] correctly, styleid is
optional.  We should try to avoid an NPE if the styleid is null.

[1]
http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-376,%20Fourth%20Edition,%20Part%201%20-%20Fundamentals%20And%20Markup%20Language%20Reference.zip
: pdf page 3861/printed page 3851

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


Mime
View raw message