|Summary:||ReadOnlySharedStringsTable should avoid trying to parse an empty stream|
|Product:||POI||Reporter:||David North <dtn-asfbugs>|
|Component:||SXSSF||Assignee:||POI Developers List <dev>|
Description David North 2015-08-19 11:08:06 UTC
The fix for bug 57482 has affected our hybrid streaming/DOM based parse (as demonstrated on bug 58219). We initialize a ReadOnlySharedStringsTable from the OCPPackage obtained directly from an XSSFWorkbook. Unfortunately this now has an empty part for the SST which provides an empty stream, which the read-only shared strings table blows up trying to read. ReadOnlySharedStringsTable already copes with the absence of an SST part, so I think it should behave similarly when the part has an empty stream.