https://issues.apache.org/bugzilla/show_bug.cgi?id=54814
Bug ID: 54814 Summary: Unable to create thumbs for a specific PowerPoint file Product: POI Version: 3.9 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: XSLF Assignee: dev@poi.apache.org Reporter: ler...@preseria.com Classification: Unclassified I'm running the draw method on a XSLFSlide object with a Graphics2D object as input like this: pptxSlides[startSlide+i].draw(graphics); It normally works fine, but on some PPTs, like this one: http://dl.dropbox.com/u/3557862/test3.pptx i get an error (see below). The file can opens fine in PowerPoint 2010. Could not write thumbs java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.apache.poi.xslf.usermodel.RenderableShape.createLinearGradientPaint(RenderableShape.java:239) at org.apache.poi.xslf.usermodel.RenderableShape.selectPaint(RenderableShape.java:123) at org.apache.poi.xslf.usermodel.RenderableShape.getPaint(RenderableShape.java:336) at org.apache.poi.xslf.usermodel.XSLFBackground.getPaint(XSLFBackground.java:70) at org.apache.poi.xslf.usermodel.XSLFBackground.draw(XSLFBackground.java:53) at org.apache.poi.xslf.usermodel.XSLFSlide.draw(XSLFSlide.java:218) at ThreadWithResult.run(ThreadWithResult.java:104) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.apache.poi.xslf.usermodel.RenderableShape.createLinearGradientPaint(RenderableShape.java:233) ... 6 more Caused by: java.lang.IllegalArgumentException: Keyframe fractions must be increasing: 1.0 at java.awt.MultipleGradientPaint.<init>(Unknown Source) at java.awt.LinearGradientPaint.<init>(Unknown Source) ... 11 more -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org