Hi,
I want to perform few task on Powerpoint presentation.
- Export ppt doc to jpeg/png images.
- Export all charts/ pic/ tables in ppt to jpeg/png doc.
Questions
1. Is this possible with aspose slides?
2. The main prob is I start using aspose 7.5.1 it will return me StackOverflowError while creating Presentation/PresentationEx Document. then I text 7.5 then 7.4 and so on… After reached to 6.9 then only .ppt files transfor into Presentation Object but still .pptx files gives error. Now after spending few ours I got one version 2.9.6 in which I can create both object and save them as pdf. So should I use 2.9.6 version or Is there any configuration/Sol so that I can move to the latest one.
Thanks in advance.
Hi,
Thanks for inquiring Aspose.Slides.
I have observed the requirements shared and like to share that Aspose.Slides offers to generate the PPT slide and respective shapes inside slide thumbnails in PNG, JPEG, BMP formats. Please visit documentation link 1 and documentation link 2 for your kind reference. I would suggest you to please try our latest version 7.5.1 on your end. If there are any issues in presentation rendering then please feel free to share with us by providing sample presentations and code snippet used. I also request you that while sharing issues with us please add separate issues by creating separate threads.
Many Thanks,
Hi,
Thanks for your response.
Basically i tried to use 7.5.1 but it will return me an StackOverflowError
Exception in thread “main” java.lang.StackOverflowError
at java.util.HashMap.getEntry(HashMap.java:344)
at java.util.HashMap.containsKey(HashMap.java:335)
at com.aspose.slides.pf4dd765c.pbdb106a0.p2cbca448.ck.do(Unknown Source)
at com.aspose.slides.pf4dd765c.pbdb106a0.p2cbca448.ck.do(Unknown Source)
at com.aspose.slides.pf4dd765c.p6a2feef8.c.do(Unknown Source)
at com.aspose.slides.pf4dd765c.pbdb106a0.dw.do(Unknown Source)
at com.aspose.slides.pf4dd765c.pbdb106a0.dw.do(Unknown Source)
at com.aspose.slides.pf4dd765c.pbdb106a0.dw.do(Unknown Source)
at com.aspose.slides.pf4dd765c.pbdb106a0.p6a2feef8.i.(Unknown Source)
at com.aspose.slides.pf4dd765c.pbdb106a0.p6a2feef8.i.do(Unknown Source)
at com.aspose.slides.pf4dd765c.pbdb106a0.p9f36407e.v.char(Unknown Source)
And here is my code from hwre I got this exception
PresentationEx pres = new PresentationEx("E:/sample1.pptx);
Hi,
I have observed the stack trace shared. Can you please share the sample presentation with us so that you may investigate on my end.
Many Thanks,
Hi,
I shared my presentation. You can download it from
https://docs.google.com/file/d/0BwdXwDEQ9dulbC1ZOUR3Zkg2S0E/edit?usp=sharing
I found that when using java 1.6 it returns me error but using java 1.7 everything goes fine ny project requires java 1.6 so can you please tell me solution for that.
Hi,
Thanks for sharing the presentation. I have verified the shared presentation using Aspose.Slides for Java 7.5.1 in Windows 7 x64 environment and have observed no issue while using latest x64 JDK 1.6_45 and x64 JDK 1.7_17 on my end. For your convenience, I have attached the generated PDF as well. Can you please try using the specified JDK and may also share the JDK version for which you are having issue.
Many Thanks,
I tested on jdk 1.6u34 but receive the same error.Now i switched to version jdk 1.6u45 (64Bit) but same Stackoverflow error persist. So can please tell me what I can do to resolve this error and any thing you want to debug beacuse error is generated while reate instance of PresentationEx Object.
Hi,
Can you please share that if you are using some IDE for using Java. I would suggest you to please try using a simple java file for loading presentation file and process the java file using command prompt directly. If there is still an issue then I would suggest you to please try using some fresh machine on your end as I have not been able to reproduce the issue on my end.
Many Thanks,
Hi,
I am using MyExlipse 10 and shared you my test project. Please have a look because I tested the same project on different environment but receive the same error every time.
Link:
https://docs.google.com/file/d/0BwdXwDEQ9dulQVhQeTJ5Y2hMWEk/edit?usp=sharing
Hi,
Thanks for sharing the sample project. I have used AsposeWord_V7_5_1.java on my end as it is using NetBeans IDE that is installed on my end. I have observed no issue at all while using Aspose.Slides for Java 7.5.1 on my end with x64 JDK 1.6_45 installed in x64 Windows 7 environment. In my humble opinion, the issue is not related to Aspose.Slides if you are using same Windows 7 x64 environment as I am using. To verify the fact, you may try compiling and executing the java file directly using command prompt to find if it works for you or not. If there is issue while compiling and executing java file directly using command prompt, then it can be issue on Aspose.Slides end. Otherwise, the issue is related to your environment. Secondly, can you please share the operating system and environment details where by you are reproducing the specified issue. Please share the requested information as well.
I have created an issue with ID SLIDESJAVA-34009 in our issue tracking system as investigation so that our development team may also investigate the issue and shared their feedback in this regard. This thread has been linked with the issue so that you may be automatically notified once the issue will be scheduled for investigation by our development team and response will be shared.
We are sorry for your inconvenience,
Thanks for your response.
My working enviroment details:
OS: Windows 7 64x
IDE: Tested on Myeclise 10 and eclipse indigo
JDK: Tested on 1.6u34 and 1.6u45
This is all we test all failed gives same error and when I moved to jdk 7 everything goes fine. But my requirement is to run this on jdk 1.6u45.
Same test I perform on 3 machinebut same error result comes out.
Hi,
Thanks for sharing the information. I have updated the issue status with new information shared by you. In the meanwhile, I suggest you to please try compiling and executing the java file from command prompt without using eclipse or using some other IDE. In past the customers have shared some similar issues and in the end it turned out to be an issue with Eclipse. For assurance, please perform the requested on your end.
Many Thanks,
Hi,
I test my program thro command line but still same error. Now this time no IDE dependencies.
My Environment
OS: Windows 7 professional Service pack 1
MicrosoftOffice: Microsoft office professional plus 2010 (32-bit)
Java: 1.6.0.45
If you need to debug problem on my system then I can share my screen by teamviewer.
Hi,
Thanks for your further investigation. Actually, I tested the shared scenario on two machines and failed to reproduce the issue. Now, with your this development that without IDE, you are getting the same issue is some what surprising and need to be investigated on our end. I tested on Windows 7 x64 machines with JDK 1.6_45 and JDK 1.7. I even prepared a fresh machine yesterday and was still not able to reproduce the issue with presentation file shared by you. Secondly, the MS PowerPoint has no impact on it. If there are any other installations or any privileges applied on your drives. The only, change that I made in your sample java file was to change paths to my data directory and setting absolutes. Can you please try using the shared Java file on your end.
In the meanwhile, the ticket is also created in our issue tracking system and when our development team will schedule the issue for investigation and share their findings, I will share the same with you.
Many Thanks,
I download your java file and run the same test but agagin same stackoverflow error 
Hi,
Thanks for your feedback. I like to share that the issue has been created in our issue tracking system and our development team will investigate it further. I will share my feedback as soon as it will be shared by our development team.
Many Thanks,
Hi,
Our development team has investigated the issue on their end and have not been able to reproduce the issue specified. However, from stack trace, it has been observed that the issue happen in Aspose.Slides while trying to initialize CultureInfo class. Are you are using some specific culture (like a hi-IN) on your end?. If this is the case case then please try using some standard culture like en-US on your end and share the details with us.
Many Thanks,
Hi,
Thanks for your response. Yes problem is with the culture/ locale. but Just wnated to know why aspose slides is depended on culture/ locale.
Hi,
I like to share that Aspose.Slides supports standard locales and exception is thrown on using non standard locale. Please share, if I may help you further in this regard.
Many Thanks,
The issues you have found earlier (filed as SLIDESJAVA-34009) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.