We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

PresentationEx Constructor Error- NullPointerException


i have a problem with PresentationEx.

With PresentationEx pres = new PresentationEx(filePath), got a NullPointerException.
But with another pptx files, no problem.
This pptx used a external Image as Logo. Can it fix?

Exception in thread “main” java.lang.NullPointerException
at com.aspose.slides.pptx.ImageEx.(SourceFile:30)
at com.aspose.slides.pptx.PresentationEx.do(SourceFile:321)
at com.aspose.slides.pptx.PresentationEx.(SourceFile:1038)
at PresentationExInfoGenerator.(PresentationExInfoGenerator.java:35)
at MainEntry.main(MainEntry.java:51)


Hi Sai,

I have observed the presentation shared by you and have reproduced the issue specified. It seems to be an issue with Aspose.Slides for Java. An issue with ID 18100 has been created in our issue tracking system for resolution of issue. 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,