Free Support Forum -

Exception "Position is out of range" when converting PPTX to PDF using Aspose.Slides for Java

class com.aspose.slides.exceptions.ArgumentException: Position is out of range!
com.aspose.slides.internal.eo.float.if(Unknown Source) Source)
com.aspose.slides.internal.eo.float.for(Unknown Source) Source)
com.aspose.slides.internal.em.void.catch(Unknown Source)
com.aspose.slides.internal.em.void.void(Unknown Source)
com.aspose.slides.internal.em.if.(Unknown Source) Source)
com.aspose.slides.internal.ea.if.this(Unknown Source)
com.aspose.slides.internal.ea.if.for(Unknown Source)
com.aspose.slides.internal.ea.if.(Unknown Source) Source) Source) Source) Source)
com.aspose.slides.internal.d3.double.if(Unknown Source) Source) Source) Source) Source) Source) Source) Source) Source)

Any specific reason for this stack trace? I’m trying to convert PPTX to PDF. The jar I built mostly works for all PPTX expect to few like 2% of files


I have observed your comments. Can you please share source files along with sample code and environment details so that we may further investigate to help you out. Also please share which Aspose.Slides version you are using on your end. (6.4 MB)

I’m converting the above pptx file to pdf using aspose slides 18.3 java. I get the above stacktrace error. The same file converts fine with aspose slides 16.10 java


I have worked with source file shared by you using Aspose.Slides for java 18.4 and unable to observe any issue. I have also shared my generated result with you for your kind reference. Please check attachment. Can you please try to use Aspose.Slides latest version 18.4 on your end and share feedback with us if there is still an issue. 0001AlohaBowlPathToELA4.pdf (122.6 KB)

I do not see this issue in 18.4. Thanks for checking on it.