Bug 58733

Summary: New AIOOBE in getCell while iterating through a table in PPT
Product: POI Reporter: Tim Allison <tallison>
Component: HSLFAssignee: POI Developers List <dev>
Severity: normal    
Priority: P2    
Version: 3.14-dev   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: File from govdocs1

Description Tim Allison 2015-12-14 15:36:46 UTC
Created attachment 33348 [details]
File from govdocs1

With 3.14-beta1-rc1, we're now getting 113 new exceptions out of ~7000 ppt files compared with 3.13-final.

java.lang.ArrayIndexOutOfBoundsException: 1
	at org.apache.poi.hslf.usermodel.HSLFTable.getCell(HSLFTable.java:125)
	at org.apache.poi.hslf.extractor.PowerPointExtractor.extractTableText(PowerPointExtractor.java:327)
	at org.apache.poi.hslf.extractor.PowerPointExtractor.getText(PowerPointExtractor.java:258)
	at org.apache.poi.hslf.extractor.PowerPointExtractor.getText(PowerPointExtractor.java:173)

Again, apologies for not an actual unit test:

                InputStream is = new FileInputStream(new File(dir, fName));
                PowerPointExtractor ex = new PowerPointExtractor(is);
Comment 1 Andreas Beeker 2015-12-14 22:55:18 UTC
fixed in r1720035

there was another issue with recognizing tables, this is also included in the