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

Free Support Forum - aspose.com

Problematical pptx flies

Hi, can you tell me why I have following exception:

Exception in thread “main” java.lang.NullPointerException
at com.aspose.slides.pptx.HyperlinkEx.do(SourceFile:160)
at com.aspose.slides.pptx.HyperlinkEx.equals(SourceFile:156)
at com.aspose.slides.pptx.HyperlinkEx.if(SourceFile:197)
at com.aspose.slides.pptx.TextCharacterPropertiesEx.if(SourceFile:54)
at com.aspose.slides.obfuscated.gf.char(SourceFile:56)
at com.aspose.slides.pptx.ParagraphEx.do(SourceFile:138)
at com.aspose.slides.pptx.ParagraphEx.(SourceFile:131)
at com.aspose.slides.pptx.ParagraphsEx.do(SourceFile:28)
at com.aspose.slides.pptx.TextFrameEx.do(SourceFile:141)
at com.aspose.slides.pptx.TextFrameEx.(SourceFile:69)
at com.aspose.slides.pptx.TextFrameEx.do(SourceFile:74)
at com.aspose.slides.pptx.AutoShapeEx.(SourceFile:57)
at com.aspose.slides.obfuscated.ti.do(SourceFile:181)
at com.aspose.slides.obfuscated.nl.if(SourceFile:33)
at com.aspose.slides.obfuscated.nl.(SourceFile:17)
at com.aspose.slides.pptx.ShapesEx.if(SourceFile:123)
at com.aspose.slides.pptx.ShapesEx.do(SourceFile:91)
at com.aspose.slides.pptx.GroupShapeEx.(SourceFile:43)
at com.aspose.slides.pptx.BaseSlideEx.(SourceFile:67)
at com.aspose.slides.pptx.SlideEx.(SourceFile:49)
at com.aspose.slides.pptx.PresentationEx.do(SourceFile:282)
at com.aspose.slides.pptx.PresentationEx.(SourceFile:912)
at org.gs4tr.fliters.msoffice.pptx.PPTXTest.main(PPTXTest.java:15)

Test code is:

public static void main(String args[]){
try {
FileInputStream fio = new FileInputStream(“d:/pptx/problems/1989.pptx”);
PresentationEx presentation= new PresentationEx(fio);
} catch (IOException e) {
e.printStackTrace();
}
}

Problematical files are in attachment.

Thanks, Zeljko.

Hi,

There is a problem reading pptx slides containing hyperlinks, the issue has just been fixed for ppt slides. An issue with issue id 11570 has been created to fix this issue and you will be informed as soon as it is resolved.

Hi,

I also notice that api throws exception if we have table.

Thanks, Zeljko

Hi,

Yes, you are right. That issue has also been reported with issued id 11574 and your post has been associated with that issue.

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


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