Free Support Forum - aspose.com

Exception When I try to access PPTX through PresentationEx

I get the below exception when I try to access Presentation PPTX of Aspose

My Code is
------------
Code
------------
new PresentationEx("/Hi There.pptx");
------------
Exception

------------
Exception in thread “main” com.aspose.slides.c.a.e.u: 16393.xml
com.aspose.slides.c.b.a.a.do(Unknown Source)
com.aspose.slides.c.a.d.B.(Unknown Source)
com.aspose.slides.c.a.d.B.do(Unknown Source)
com.aspose.slides.c.a.d.i.do(Unknown Source)
com.aspose.slides.c.a.d.i.double(Unknown Source)
com.aspose.slides.c.b.e.d.do(Unknown Source)
com.aspose.slides.c.b.e.d.do(Unknown Source)
com.aspose.slides.c.a.bx.do(Unknown Source)
com.aspose.slides.PresentationEx.do(Unknown Source)
com.aspose.slides.PresentationEx.int(Unknown Source)
com.aspose.slides.PresentationEx.if(Unknown Source)
com.aspose.slides.PresentationEx.(Unknown Source)
com.aspose.slides.PresentationEx.(Unknown Source)
com.test.TestAspose.createPowerpointLoudbook1(TestAspose.java:123)
com.test.TestAspose.main(TestAspose.java:38)
at com.aspose.slides.c.b.a.a.do(Unknown Source)
at com.aspose.slides.c.a.d.B.(Unknown Source)
at com.aspose.slides.c.a.d.B.do(Unknown Source)
at com.aspose.slides.c.a.d.i.do(Unknown Source)
at com.aspose.slides.c.a.d.i.double(Unknown Source)
at com.aspose.slides.c.b.e.d.do(Unknown Source)
at com.aspose.slides.c.b.e.d.do(Unknown Source)
at com.aspose.slides.c.a.bx.do(Unknown Source)
at com.aspose.slides.PresentationEx.do(Unknown Source)
at com.aspose.slides.PresentationEx.int(Unknown Source)
at com.aspose.slides.PresentationEx.if(Unknown Source)
at com.aspose.slides.PresentationEx.(Unknown Source)
at com.aspose.slides.PresentationEx.(Unknown Source)
at com.test.TestAspose.createPowerpointLoudbook1(TestAspose.java:123)
at com.test.TestAspose.main(TestAspose.java:38)


Thanks in advance

CSJakharia

Hi CSJakharia,


Thanks for inquiring Aspose.Slides.

I have worked with your presentation using Aspose.Slides for Java 3.0.0 and have not been able to observe any issue. Can you please try using the specified version of Aspose.Slides for Java. For your kind reference, I have also attached generated PDF as well.

Many Thanks,

I am using aspose-slides-3.0.0-java only. I tried aspose.slides-3.0.0.jar as well as aspose.slides-3.0.0-jdk14.jar(from aspose.total) but that also did not solved the problem.
I am using Java 1.6.
I am stuck at this?

Do you have any clue?

CSJakharia

Hi CSJakhria,


As you have shared that you are using Java 1.6, so you will be needing aspose-slides-3.0.0.jar for your implementation. aspose-slides-3.0.0-jdk14.jar is supported for Java 1.4 and 1.5 only. I have tested using jdk1.6.0_21 installed on WIndows XP x86 and WIndows 7 x64. I have not been able to reproduce the issue on my end. Can you please share the information about your platform along with java ID version. Please also share the sample java file as well. I would also suggest you to please try using Aspose.Slides for Java on separate machine as well as it may be some issue with your installation.

Many Thanks,