https://bz.apache.org/bugzilla/show_bug.cgi?id=64667
Bug ID: 64667
Summary: NPE in loading the StylesTable
Product: POI
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
A Tika user reported an NPE when loading the StylesTable and shared a
triggering file[1].
I confirmed this NPE in trunk just now.
java.lang.NullPointerException
at
org.apache.poi.xssf.usermodel.XSSFTableStyle.<init>(XSSFTableStyle.java:64)
at org.apache.poi.xssf.model.StylesTable.readFrom(StylesTable.java:245)
at org.apache.poi.xssf.model.StylesTable.<init>(StylesTable.java:138)
at
org.apache.poi.ooxml.POIXMLFactory.createDocumentPart(POIXMLFactory.java:61)
at
org.apache.poi.ooxml.POIXMLDocumentPart.read(POIXMLDocumentPart.java:659)
at org.apache.poi.ooxml.POIXMLDocument.load(POIXMLDocument.java:165)
at
org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:288)
at
org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:309)
at
org.apache.poi.xssf.XSSFTestDataSamples.openSampleWorkbook(XSSFTestDataSamples.java:60)
at
org.apache.poi.xssf.extractor.TestXSSFExcelExtractor.getExtractor(TestXSSFExcelExtractor.java:45)
[1] https://issues.apache.org/jira/browse/TIKA-3163
--
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]