Hi ,
This is regarding problem with Aspose slides, When I tried to generate PDF in the application
some times it is throwing java.lang.ArrayIndexOutOfBoundsException . Please find the log error
when we tried to generate the PDF file.Pleae find the error given below.
com.ibm.cet.services.Assets shareAsset Error generating pdf
java.lang.ArrayIndexOutOfBoundsException
at com.aspose.slides.Collections.Generic.List.get_Item(Unknown Source)
at com.aspose.slides.Collections.Generic.List$Enumerator.hasNext(Unknown Source)
at com.aspose.slides.vv.try(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
at com.aspose.slides.Presentation.(Unknown Source)
Pleae find the atttached source files. one is pptx file and the second source file is : java file which geneates the pdf file.
I am getting the error for the method private Presentation processPresentation(List components, List inStreams, InputStream headerFooterStream, List headerFooters, Map<Long, ImageObject> assetImages, String country, String locale, List<byte[]> attachments) throws Exception Attached rar file contains pptx file and CetDocProcessSlidesImpl.java file
Request to please give us the resolution for the same.
Thanks,
Hi Laurie,
Hi,
when I try to generate pdf using aspose, I’m also getting java.lang.ArrayIndexOutOfBoundsException.
Please find the details below.
java.lang.ArrayIndexOutOfBoundsException: 3
at com.aspose.pdf.Table.lf(Unknown Source)
at com.aspose.pdf.Table.lI(Unknown Source)
at com.aspose.pdf.l11u.lI(Unknown Source)
at com.aspose.pdf.l11u.le(Unknown Source)
at com.aspose.pdf.Page.lf(Unknown Source)
at com.aspose.pdf.Page.lk(Unknown Source)
at com.aspose.pdf.ADocument.processParagraphs(Unknown Source)
at com.aspose.pdf.Document.processParagraphs(Unknown Source)
at com.aspose.pdf.ADocument.lf(Unknown Source)
at com.aspose.pdf.ADocument.lj(Unknown Source)
at com.aspose.pdf.ADocument.lj(Unknown Source)
at com.aspose.pdf.ADocument.lf(Unknown Source)
at com.aspose.pdf.Document.lf(Unknown Source)
at com.aspose.pdf.ADocument.save(Unknown Source)
at com.aspose.pdf.Document.save(Unknown Source)
I’m unable to create a table which consists of >= 4 columns.
Thanks.
Can you please share source file along with sample code and environment details so that we may further investigate to help you out.