Bug 42524 - NPE in Shape.getShapeType()
Summary: NPE in Shape.getShapeType()
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSLF (show other bugs)
Version: 3.0-dev
Hardware: Other other
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL: http://www.projectcounter.org/uksg_pr...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-25 20:15 UTC by Ivan Todoroski
Modified: 2007-05-26 00:25 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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