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

Free Support Forum - aspose.com

Aspose slides conversion of PPT to PDF not working

Changed the properties. Still same error.
Exception in thread “main” java.lang.ExceptionInInitializerError
at com.aspose.slides.internal.nq.public.long(Unknown Source)
at com.aspose.slides.internal.nq.public.(Unknown Source)
at com.aspose.slides.internal.nq.public.(Unknown Source)
at com.aspose.slides.ajj.(Unknown Source)
at com.aspose.slides.kp.(Unknown Source)
at com.aspose.slides.n6.(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at sample.SampleConverter.main(SampleConverter.java:64)
Caused by: class com.aspose.slides.exceptions.ArgumentException: Illegal characters in path.
com.aspose.slides.internal.e5.catch.if(Unknown Source)
com.aspose.slides.internal.nn.do.(Unknown Source)
com.aspose.slides.internal.nq.public.long(Unknown Source)
com.aspose.slides.internal.nq.public.(Unknown Source)
com.aspose.slides.internal.nq.public.(Unknown Source)
com.aspose.slides.ajj.(Unknown Source)
com.aspose.slides.kp.(Unknown Source)
com.aspose.slides.n6.(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
sample.SampleConverter.main(SampleConverter.java:64)

@JinuJoseph,
Our development team is preparing an experimental build of Aspose.Slides for you. It will take a couple of days. I’ll let you know when it is ready.

@JinuJoseph,
Please check your code with the next Aspose.Slides build and share your output:
https://drive.google.com/file/d/1KtGDig9GtbvGlc9JqaJj0MB-oE9xyIkF/view?usp=sharing

I cannot access Google drive. Is it possible to upload here?

@JinuJoseph,
To my regret, the package is too large to upload to the forum. Please try to download it from here:

I used the debug.jar. Result is
Exception in thread “main” java.lang.ExceptionInInitializerError
at com.aspose.slides.internal.oq.boolean.this(Unknown Source)
at com.aspose.slides.internal.oq.boolean.(Unknown Source)
at com.aspose.slides.internal.oq.boolean.(Unknown Source)
at com.aspose.slides.an3.(Unknown Source)
at com.aspose.slides.l1.(Unknown Source)
at com.aspose.slides.pm.(Unknown Source)
at com.aspose.slides.Presentation.do(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at sample.SampleConverter.main(SampleConverter.java:64)
Caused by: class com.aspose.slides.exceptions.ArgumentException: Illegal characters in path - “Cannot run program “reg”: CreateProcess error=1260, This program is blocked by group policy. For more information, contact your system administrator”
com.aspose.slides.internal.fs.catch.if(Unknown Source)
com.aspose.slides.internal.on.double.(Unknown Source)
com.aspose.slides.internal.oq.boolean.this(Unknown Source)
com.aspose.slides.internal.oq.boolean.(Unknown Source)
com.aspose.slides.internal.oq.boolean.(Unknown Source)
com.aspose.slides.an3.(Unknown Source)
com.aspose.slides.l1.(Unknown Source)
com.aspose.slides.pm.(Unknown Source)
com.aspose.slides.Presentation.do(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
com.aspose.slides.Presentation.(Unknown Source)
sample.SampleConverter.main(SampleConverter.java:64)
at com.aspose.slides.internal.fs.catch.if(Unknown Source)
at com.aspose.slides.internal.on.double.(Unknown Source)
… 10 more

@JinuJoseph,

As you can see, your application has not permissions for reading the Windows registry. You should turn to administrators of a machine running your application.

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