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

            Bug ID: 60584
           Summary: NPE with missing Drawing in XSSFReader
           Product: POI
           Version: 3.16-dev
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: talli...@mitre.org
  Target Milestone: ---

On TIKA-2134, Seva Alekseyev submitted an example xlsx file that triggers an
NPE when a shape is missing from the file.

Excel appears to silently ignore shape relationships that don't include the
file.  

Caused by: java.lang.NullPointerException
        at
org.apache.poi.xssf.usermodel.XSSFDrawing.<init>(XSSFDrawing.java:89)
        at
org.apache.poi.xssf.usermodel.XSSFDrawing.<init>(XSSFDrawing.java:97)
        at
org.apache.poi.xssf.eventusermodel.XSSFReader$SheetIterator.getShapes(XSSFReader.java:322)
        at
org.apache.tika.parser.microsoft.ooxml.XSSFExcelExtractorDecorator.buildXHTML(XSSFExcelExtractorDecorator.java:162)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to