Bug 58262

Summary: ReadOnlySharedStringsTable should avoid trying to parse an empty stream
Product: POI Reporter: David North <dtn-asfbugs>
Component: SXSSFAssignee: POI Developers List <dev>
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

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.
Comment 1 David North 2015-08-19 11:10:28 UTC
Fixed in SVN r1696559