Bug 42524

Summary: NPE in Shape.getShapeType()
Product: POI Reporter: Ivan Todoroski <grnch>
Component: HSLFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 3.0-dev   
Target Milestone: ---   
Hardware: Other   
OS: other   
URL: http://www.projectcounter.org/uksg_presentation.ppt

Description Ivan Todoroski 2007-05-25 20:15:11 UTC
Same file as bug #42486 (copy is attached there).

To reprodue:

new SlideShow(new 
HSLFSlideShow("uksg_presentation.ppt")).getSlides()[0].getShapes()[3].getShapeType();

Happens fairly often, about half of the PPTs I was working with exhibited this 
problem somewhere in them.

Also affects getShapeName() since the code is practically the same.
Comment 1 Yegor Kozlov 2007-05-26 00:25:24 UTC
Fixed
The problem was with shape groups - ShapeGroup.getShapeType() threw NPE.  

Yegor