NullPointerException when calling SlideEx.getThumbnail

Running java 1.6.0_24 32 bit on Windows 7

The following null pointer exception is being written to Standard.out, although its not actually throwing an exception. It does however fail to fully convert the slide to a thumbnail.

Here is the exception under 2.9.4 (also same exception under 2.9.5)

java.lang.NullPointerException
at com.aspose.slides.obfuscated.dhy.do(Unknown Source)
at com.aspose.slides.obfuscated.dhy.do(Unknown Source)
at com.aspose.slides.obfuscated.dhy.(Unknown Source)
at com.aspose.slides.pptx.TextFrameEx.createTextLayout(Unknown Source)
at com.aspose.slides.pptx.AutoShapeEx.draw(Unknown Source)
at com.aspose.slides.pptx.GroupShapeEx.draw(Unknown Source)
at com.aspose.slides.pptx.GroupShapeEx.draw(Unknown Source)
at com.aspose.slides.pptx.GroupShapeEx.draw(Unknown Source)
at com.aspose.slides.pptx.SlideEx.do(Unknown Source)
at com.aspose.slides.pptx.SlideEx.getThumbnail(Unknown Source)
at LoadPPT.main(LoadPPT.java:52)

The PPTX File 001.pptx (attachted)
001_pptx_slide_9_actual.png (attached) is what it should look like
001_pptx_slide_9_via_aspose.png (attached) is what it actually looks like.

Thanks



Hi Andrew,


I have worked with the presentation file shared by you and have observe the NullPointerException for some of the slides in presentation. Actually, this exception is thrown for unsupported shapes while rendering the thumbnails and does not effect the over all progress. I have created an issue with ID SLIDESJAVA-33433 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,

The issues you have found earlier (filed as SLIDESJAVA-33433) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.