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

Free Support Forum - aspose.com

PPT to PDF failed Aspose java 7.6.0

Hi,
I am using Aspose slides java 7.6.0. When I tried to convert the attached ppt to a pdf I get the following error.

[{“methodName”:“readImageHeader”,“fileName”:null,“lineNumber”:-2,“className”:“com.sun.imageio.plugins.jpeg.JPEGImageReader”,“nativeMethod”:true},{“methodName”:“readNativeHeader”,“fileName”:null,“lineNumber”:-1,“className”:“com.sun.imageio.plugins.jpeg.JPEGImageReader”,“nativeMethod”:false},{“methodName”:“readHeader”,“fileName”:null,“lineNumber”:-1,“className”:“com.sun.imageio.plugins.jpeg.JPEGImageReader”,“nativeMethod”:false},{“methodName”:“readInternal”,“fileName”:null,“lineNumber”:-1,“className”:“com.sun.imageio.plugins.jpeg.JPEGImageReader”,“nativeMethod”:false},{“methodName”:“read”,“fileName”:null,“lineNumber”:-1,“className”:“com.sun.imageio.plugins.jpeg.JPEGImageReader”,“nativeMethod”:false},{“methodName”:“read”,“fileName”:null,“lineNumber”:-1,“className”:“javax.imageio.ImageReader”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pa2137a2a.pf4dd765c.pf4dd765c.pa2137a2a.k”,“nativeMethod”:false},{“methodName”:“try”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pa2137a2a.pf4dd765c.pf4dd765c.pa2137a2a.k”,“nativeMethod”:false},{“methodName”:“byte”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pa2137a2a.pf4dd765c.pf4dd765c.pa2137a2a.k”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pa2137a2a.pbdb106a0.pa2137a2a.b”,“nativeMethod”:false},{“methodName”:"",“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pa2137a2a.pbdb106a0.pa2137a2a.b”,“nativeMethod”:false},{“methodName”:"",“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pa2137a2a.pbdb106a0.pa2137a2a.b”,“nativeMethod”:false},{“methodName”:"",“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p883e881b.a”,“nativeMethod”:false},{“methodName”:“catch”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.p2cbca448.a”,“nativeMethod”:false},{“methodName”:“break”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.p2cbca448.a”,“nativeMethod”:false},{“methodName”:"",“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.p2cbca448.a”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.ap”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.p7cce53cf.j”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.ac”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.al”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.ab”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.m”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.j”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.m”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.j”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.m”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.ag”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.al”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.bbn”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.bbn”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.Presentation”,“nativeMethod”:false},{“methodName”:“for”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.Presentation”,“nativeMethod”:false},{“methodName”:“saveToPdf”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.Presentation”,“nativeMethod”:false}




,“localizedMessage”:“Not a JPEG
file: starts with 0xff 0xed”,“message”:“Not a JPEG file: starts with
0xff
0xed
”,“suppressed”:["[Ljava.lang.Throwable;",[]]}],“stackTrace”:[{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pa2137a2a.pf4dd765c.pf4dd765c.pa2137a2a.k”,“nativeMethod”:false},{“methodName”:“try”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pa2137a2a.pf4dd765c.pf4dd765c.pa2137a2a.k”,“nativeMethod”:false},{“methodName”:“byte”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pa2137a2a.pf4dd765c.pf4dd765c.pa2137a2a.k”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pa2137a2a.pbdb106a0.pa2137a2a.b”,“nativeMethod”:false},{“methodName”:"",“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pa2137a2a.pbdb106a0.pa2137a2a.b”,“nativeMethod”:false},{“methodName”:"",“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pa2137a2a.pbdb106a0.pa2137a2a.b”,“nativeMethod”:false},{“methodName”:"",“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p883e881b.a”,“nativeMethod”:false},{“methodName”:“catch”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.p2cbca448.a”,“nativeMethod”:false},{“methodName”:“break”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.p2cbca448.a”,“nativeMethod”:false},{“methodName”:"",“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.p2cbca448.a”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.ap”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.p7cce53cf.j”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.ac”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.al”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.ab”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.m”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.j”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.m”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.j”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.m”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.ag”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.pbdb106a0.p390e9825.p6a2feef8.al”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.bbn”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.bbn”,“nativeMethod”:false},{“methodName”:“do”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.Presentation”,“nativeMethod”:false},{“methodName”:“for”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.Presentation”,“nativeMethod”:false},{“methodName”:“saveToPdf”,“fileName”:null,“lineNumber”:-1,“className”:“com.aspose.slides.Presentation”,“nativeMethod”:false},

Hi Pardhan,


I have observed the stack trace shared by you and request you to please share the environment and Operting System details with us where by you are using Aspsoe.Sldies. Please also share the sample java file with us for investigation.

Many Thanks,

Hi Mudassir,
I ran the exact same file as a standalone with the latest jar ( 7.6 )and it worked fine. Seems like I was using previously using 7.4 in my classpath.
Thanks and sorry for the error on my side.

Thanks,
Pradhan

Hi Pradhan,

This is appreciable that new version has resolved the things on your end. Please share, if I may help you further in this regard.

Many Thanks,