NPE received when getting slide image

Hi,



I am getting the following exception:



at com.aspose.slides.obfuscated.ga.do(SourceFile:743)

at com.aspose.slides.obfuscated.ga.(SourceFile:591)

at com.aspose.slides.pptx.TextFrameEx.createTextLayout(SourceFile:471)

at com.aspose.slides.pptx.AutoShapeEx.do(SourceFile:141)

at com.aspose.slides.pptx.GroupShapeEx.do(SourceFile:164)

at com.aspose.slides.pptx.SlideEx.do(SourceFile:237)

at com.aspose.slides.pptx.SlideEx.getThumbnail(SourceFile:309)





The snippet of code that is generating this exception is:



for (int i = 0; i
SlideEx sl = slides.get(i);

BufferedImage image = sl.getThumbnail(1.0f, 1.0f);



}





The pptx file causing the exception is attached. The error happens on many of the slides in the presentation (3-11, 13, 14, 17-19).



And, the versions of jar files I am using are:

aspose-metafiles-1.6.1.jar

aspose-slides-2.3.0.jar

Dear James,

I have worked on the presentation file shared by you and have been able to reproduce the specified issue. Actually, the thumbnails are generated, but they are rendering empty. An issue with ID 18942 has been created in our issue tracking system to further investigate and resolve the problem. This thread has also been linked with the issue, so that you may be automatically notified, once the issue is resolved.

We are sorry for your inconvenience,

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


This message was posted using Notification2Forum from Downloads module by aspose.notifier.