java.lang.ArrayIndexOutOfBoundsException: 33

Hi,
when I save as pptx,it can be saved in the unit test ,but When I try to save the attached presentation in network server, this exception occurs :
16:49:41,661 ERROR [stderr] (threadPoolTaskExecutor-4) java.lang.ArrayIndexOutOfBoundsException: 33
16:49:41,662 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.ms.pbdb106a0.p6a2feef8.q.do(Unknown Source)
16:49:41,662 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.ms.pbdb106a0.p6a2feef8.q.if(Unknown Source)
16:49:41,663 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.ms.pbdb106a0.p6a2feef8.ar.do(Unknown Source)
16:49:41,663 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.ms.pbdb106a0.p6a2feef8.ar.do(Unknown Source)
16:49:41,663 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.ms.pbdb106a0.p6a2feef8.ar.do(Unknown Source)
16:49:41,663 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.p6a2feef8.af.do(Unknown Source)
16:49:41,663 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.go.do(Unknown Source)
16:49:41,664 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.if(Unknown Source)
16:49:41,664 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.do(Unknown Source)
16:49:41,664 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.do(Unknown Source)
16:49:41,664 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.do(Unknown Source)
16:49:41,665 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.do(Unknown Source)
16:49:41,665 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.do(Unknown Source)
16:49:41,665 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.do(Unknown Source)
16:49:41,665 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.do(Unknown Source)
16:49:41,665 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.do(Unknown Source)
16:49:41,666 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.(Unknown Source)
16:49:41,666 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.TextFrame.do(Unknown Source)
16:49:41,666 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.TextFrame.do(Unknown Source)
16:49:41,666 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.TextFrame.else(Unknown Source)
16:49:41,667 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bz.do(Unknown Source)
16:49:41,667 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.aag.do(Unknown Source)
16:49:41,667 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.aag.do(Unknown Source)
16:49:41,668 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.ek.do(Unknown Source)
16:49:41,668 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bek.do(Unknown Source)
16:49:41,668 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.axy.do(Unknown Source)
16:49:41,668 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.axy.do(Unknown Source)
16:49:41,668 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.Presentation.do(Unknown Source)
16:49:41,668 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.Presentation.do(Unknown Source)
16:49:41,669 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.Presentation.if(Unknown Source)
16:49:41,669 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.Presentation.save(Unknown Source)
16:49:41,669 ERROR [stderr] (threadPoolTaskExecutor-4) at com.ue.cat.filter.openxml.NewPptxFilter20170104.translateFile(NewPptxFilter20170104.java:736)
16:49:41,670 ERROR [stderr] (threadPoolTaskExecutor-4) at com.ue.cat.face.CatInterface.exportFile(CatInterface.java:251)
16:49:41,670 ERROR [stderr] (threadPoolTaskExecutor-4) at com.ue.webservice.controller.ExporterController$ExporterThread.run(ExporterController.java:290)
16:49:41,670 ERROR [stderr] (threadPoolTaskExecutor-4) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
16:49:41,670 ERROR [stderr] (threadPoolTaskExecutor-4) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
16:49:41,670 ERROR [stderr] (threadPoolTaskExecutor-4) at java.lang.Thread.run(Thread.java:745)

Thanks,
Eric

Hi Eric,

I have observed the issue shared by you and as per your comment that in unit test there is no issue suggest that there is no issue with API. From stack trace it seems that you have some multi threading application. It seems to be an issue either with Aspose.Slides for Java jar access in your deployed environment. You may please need to verify this either on some other machine with full rights or need to investigate your existing server. If there is still an issue then please share the working sample project along with Operating system, Java and complete deployed environment information.

Many Thanks,

Hi,

About existing server,we have already used poi, and run successfully;but the poi cannot to operate smartart,so we choose aspose.slides.In order to avoid conflict,we commented some code of poi,but this exception still occurs:
16:49:41,661 ERROR [stderr] (threadPoolTaskExecutor-4) java.lang.ArrayIndexOutOfBoundsException: 33
16:49:41,662 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.ms.pbdb106a0.p6a2feef8.q.do(Unknown Source)
16:49:41,662 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.ms.pbdb106a0.p6a2feef8.q.if(Unknown Source)
16:49:41,663 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.ms.pbdb106a0.p6a2feef8.ar.do(Unknown Source)
16:49:41,663 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.ms.pbdb106a0.p6a2feef8.ar.do(Unknown Source)
16:49:41,663 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.ms.pbdb106a0.p6a2feef8.ar.do(Unknown Source)
16:49:41,663 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.p6a2feef8.af.do(Unknown Source)
16:49:41,663 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.go.do(Unknown Source)
16:49:41,664 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.if(Unknown Source)
16:49:41,664 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.do(Unknown Source)
16:49:41,664 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.do(Unknown Source)
16:49:41,664 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.do(Unknown Source)
16:49:41,665 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.do(Unknown Source)
16:49:41,665 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.do(Unknown Source)
16:49:41,665 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.do(Unknown Source)
16:49:41,665 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.do(Unknown Source)
16:49:41,665 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.do(Unknown Source)
16:49:41,666 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bky.(Unknown Source)
16:49:41,666 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.TextFrame.do(Unknown Source)
16:49:41,666 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.TextFrame.do(Unknown Source)
16:49:41,666 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.TextFrame.else(Unknown Source)
16:49:41,667 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bz.do(Unknown Source)
16:49:41,667 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.aag.do(Unknown Source)
16:49:41,667 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.aag.do(Unknown Source)
16:49:41,668 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.ek.do(Unknown Source)
16:49:41,668 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.bek.do(Unknown Source)
16:49:41,668 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.axy.do(Unknown Source)
16:49:41,668 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.axy.do(Unknown Source)
16:49:41,668 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.Presentation.do(Unknown Source)
16:49:41,668 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.Presentation.do(Unknown Source)
16:49:41,669 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.Presentation.if(Unknown Source)
16:49:41,669 ERROR [stderr] (threadPoolTaskExecutor-4) at com.aspose.slides.Presentation.save(Unknown Source)
16:49:41,669 ERROR [stderr] (threadPoolTaskExecutor-4) at com.ue.cat.filter.openxml.NewPptxFilter20170104.translateFile(NewPptxFilter20170104.java:736)
16:49:41,670 ERROR [stderr] (threadPoolTaskExecutor-4) at com.ue.cat.face.CatInterface.exportFile(CatInterface.java:251)
16:49:41,670 ERROR [stderr] (threadPoolTaskExecutor-4) at com.ue.webservice.controller.ExporterController$ExporterThread.run(ExporterController.java:290)
16:49:41,670 ERROR [stderr] (threadPoolTaskExecutor-4) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
16:49:41,670 ERROR [stderr] (threadPoolTaskExecutor-4) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
16:49:41,670 ERROR [stderr] (threadPoolTaskExecutor-4) at java.lang.Thread.run(Thread.java:745)

The error"NewPptxFilter20170104.java:736" is “pres.save(out, SaveFormat.Pptx);”
(we used jdk1.8.0.102 and wildfly 10.1.0.final);
Thanks,
Eric

HI Eric,


I have observed your comments. Can you please share source presentation so that i can investigate further in details.

Best Regards,