I was unable to reproduce the exception you described. Please check your results using the latest version of Aspose.Slides for Java if it is possible. If the issue persists, please share the following information:
@zwei,
I’ve reproduced the exception you are experiencing. Please also note that the error does not appear when using an Aspose license.
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): SLIDESJAVA-39279
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
Here it is another PPT test file, which causes also Exception in our test environment. samplepptx.zip (395,4 KB)
The stack trace is so:
C:\Users\weiz.jdks\corretto-17.0.3\bin\java.exe “-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2022.1.2\lib\idea_rt.jar=57085:C:\Program Files\JetBrains\IntelliJ IDEA 2022.1.2\bin” -Dfile.encoding=UTF-8 -classpath D:\sourcecode\docx4j\target\classes;C:\Users\weiz.m2\repository\org\docx4j\docx4j-JAXB-ReferenceImpl\11.4.8\docx4j-JAXB-ReferenceImpl-11.4.8.jar;C:\Users\weiz.m2\repository\org\docx4j\docx4j-core\11.4.8\docx4j-core-11.4.8.jar;C:\Users\weiz.m2\repository\org\docx4j\docx4j-openxml-objects\11.4.8\docx4j-openxml-objects-11.4.8.jar;C:\Users\weiz.m2\repository\org\docx4j\docx4j-openxml-objects-pml\11.4.8\docx4j-openxml-objects-pml-11.4.8.jar;C:\Users\weiz.m2\repository\org\docx4j\docx4j-openxml-objects-sml\11.4.8\docx4j-openxml-objects-sml-11.4.8.jar;C:\Users\weiz.m2\repository\org\plutext\jaxb-svg11\11.4.0\jaxb-svg11-11.4.0.jar;C:\Users\weiz.m2\repository\net\engio\mbassador\1.3.2\mbassador-1.3.2.jar;C:\Users\weiz.m2\repository\org\slf4j\jcl-over-slf4j\2.0.0-alpha5\jcl-over-slf4j-2.0.0-alpha5.jar;C:\Users\weiz.m2\repository\org\apache\commons\commons-lang3\3.9\commons-lang3-3.9.jar;C:\Users\weiz.m2\repository\org\apache\commons\commons-compress\1.21\commons-compress-1.21.jar;C:\Users\weiz.m2\repository\commons-codec\commons-codec\1.12\commons-codec-1.12.jar;C:\Users\weiz.m2\repository\commons-io\commons-io\2.7\commons-io-2.7.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\xmlgraphics-commons\2.7\xmlgraphics-commons-2.7.jar;C:\Users\weiz.m2\repository\org\docx4j\org\apache\xalan-interpretive\11.0.0\xalan-interpretive-11.0.0.jar;C:\Users\weiz.m2\repository\org\docx4j\org\apache\xalan-serializer\11.0.0\xalan-serializer-11.0.0.jar;C:\Users\weiz.m2\repository\net\arnx\wmf2svg\0.9.8\wmf2svg-0.9.8.jar;C:\Users\weiz.m2\repository\org\antlr\antlr-runtime\3.5.2\antlr-runtime-3.5.2.jar;C:\Users\weiz.m2\repository\org\antlr\stringtemplate\3.2.1\stringtemplate-3.2.1.jar;C:\Users\weiz.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\weiz.m2\repository\org\checkerframework\checker-qual\2.8.1\checker-qual-2.8.1.jar;C:\Users\weiz.m2\repository\com\google\errorprone\error_prone_annotations\2.3.3\error_prone_annotations-2.3.3.jar;C:\Users\weiz.m2\repository\org\apache\pdfbox\fontbox\2.0.24\fontbox-2.0.24.jar;C:\Users\weiz.m2\repository\com\thoughtworks\qdox\qdox\1.12\qdox-1.12.jar;C:\Users\weiz.m2\repository\org\glassfish\jaxb\jaxb-runtime\3.0.2\jaxb-runtime-3.0.2.jar;C:\Users\weiz.m2\repository\com\sun\activation\jakarta.activation\2.0.1\jakarta.activation-2.0.1.jar;C:\Users\weiz.m2\repository\org\glassfish\jaxb\jaxb-core\3.0.2\jaxb-core-3.0.2.jar;C:\Users\weiz.m2\repository\org\glassfish\jaxb\txw2\3.0.2\txw2-3.0.2.jar;C:\Users\weiz.m2\repository\com\sun\istack\istack-commons-runtime\4.0.1\istack-commons-runtime-4.0.1.jar;C:\Users\weiz.m2\repository\jakarta\xml\bind\jakarta.xml.bind-api\3.0.1\jakarta.xml.bind-api-3.0.1.jar;C:\Users\weiz.m2\repository\org\docx4j\docx4j-export-fo\11.4.8\docx4j-export-fo-11.4.8.jar;C:\Users\weiz.m2\repository\org\plutext\jaxb-xslfo\11.4.0\jaxb-xslfo-11.4.0.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\fop\2.7\fop-2.7.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\fop-util\2.7\fop-util-2.7.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\fop-events\2.7\fop-events-2.7.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\fop-core\2.7\fop-core-2.7.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\batik-anim\1.14\batik-anim-1.14.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\batik-css\1.14\batik-css-1.14.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\batik-dom\1.14\batik-dom-1.14.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\batik-ext\1.14\batik-ext-1.14.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\batik-parser\1.14\batik-parser-1.14.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\batik-shared-resources\1.14\batik-shared-resources-1.14.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\batik-svg-dom\1.14\batik-svg-dom-1.14.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\batik-util\1.14\batik-util-1.14.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\batik-constants\1.14\batik-constants-1.14.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\batik-i18n\1.14\batik-i18n-1.14.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\batik-awt-util\1.14\batik-awt-util-1.14.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\batik-bridge\1.14\batik-bridge-1.14.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\batik-script\1.14\batik-script-1.14.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\batik-xml\1.14\batik-xml-1.14.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\batik-extension\1.14\batik-extension-1.14.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\batik-gvt\1.14\batik-gvt-1.14.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\batik-transcoder\1.14\batik-transcoder-1.14.jar;C:\Users\weiz.m2\repository\org\apache\xmlgraphics\batik-svggen\1.14\batik-svggen-1.14.jar;C:\Users\weiz.m2\repository\org\slf4j\slf4j-api\2.0.7\slf4j-api-2.0.7.jar;C:\Users\weiz.m2\repository\org\slf4j\slf4j-simple\2.0.7\slf4j-simple-2.0.7.jar;D:\sourcecode\docx4j\src\main\resources\aspose-cells-23.8.jar;D:\sourcecode\docx4j\src\main\resources\aspose-slides-23.7-jdk16.jar;D:\sourcecode\docx4j\src\main\resources\aspose-barcode-23.7-jdk18.jar;D:\sourcecode\docx4j\src\main\resources\aspose-words-23.7-jdk17.jar;D:\sourcecode\docx4j\src\main\resources\aspose-words-23.7-javadoc.jar de.forcont.documentconverter.docx4j.Docx4JTestMain
Exception in thread “main” class com.aspose.slides.PptxException: This export format is not implemented for PPTX yet.
com.aspose.slides.Presentation.b6(Unknown Source)
com.aspose.slides.Presentation.save(Unknown Source)
de.forcont.documentconverter.docx4j.service.AsposeConverter.ppt2pdfTest(AsposeConverter.java:299)
de.forcont.documentconverter.docx4j.Docx4JTestMain.main(Docx4JTestMain.java:23)
at com.aspose.slides.Presentation.b6(Unknown Source)
at com.aspose.slides.Presentation.save(Unknown Source)
at de.forcont.documentconverter.docx4j.service.AsposeConverter.ppt2pdfTest(AsposeConverter.java:299)
at de.forcont.documentconverter.docx4j.Docx4JTestMain.main(Docx4JTestMain.java:23)
@zwei,
Unfortunately, I was unable to reproduce the second error you described. Please check the issue with the samplepptx.pptx file carefully again. Perhaps, you used another file. If the issue persists, please share additional information about how to reproduce the exception.
This problem still exists in my test environment and stay the same exception.
Exception in thread “main” class com.aspose.slides.PptxException: This export format is not implemented for PPTX yet.
com.aspose.slides.Presentation.b6(Unknown Source)
com.aspose.slides.Presentation.save(Unknown Source)
de.forcont.documentconverter.docx4j.service.AsposeConverter.ppt2pdfTest(AsposeConverter.java:299)
de.forcont.documentconverter.docx4j.Docx4JTestMain.main(Docx4JTestMain.java:23)
at com.aspose.slides.Presentation.b6(Unknown Source)
at com.aspose.slides.Presentation.save(Unknown Source)
at de.forcont.documentconverter.docx4j.service.AsposeConverter.ppt2pdfTest(AsposeConverter.java:299)
at de.forcont.documentconverter.docx4j.Docx4JTestMain.main(Docx4JTestMain.java:23)
@zwei,
When using the ppttest2.pptx file, the exception does not appear on my end either. Please try isolating the problem and share additional information to reproduce the error.
final Presentation presentation = new Presentation("ppttest2.pptx");
presentation.save("powerpoint-out.pdf", SaveFormat.PDF);
We use Aspose Slides 23.7 Evaluation JAR, e.g., aspose-slides-23.7-jdk16.jar
And the test result is always the same exception
Exception in thread “main” class com.aspose.slides.PptxException: This export format is not implemented for PPTX yet.
com.aspose.slides.Presentation.b6(Unknown Source)
com.aspose.slides.Presentation.save(Unknown Source)
de.forcont.documentconverter.docx4j.service.AsposeConverter.ppt2pdfTest(AsposeConverter.java:299)
de.forcont.documentconverter.docx4j.Docx4JTestMain.main(Docx4JTestMain.java:23)
at com.aspose.slides.Presentation.b6(Unknown Source)
at com.aspose.slides.Presentation.save(Unknown Source)
at de.forcont.documentconverter.docx4j.service.AsposeConverter.ppt2pdfTest(AsposeConverter.java:299)
at de.forcont.documentconverter.docx4j.Docx4JTestMain.main(Docx4JTestMain.java:23)
Exception in thread “main” class com.aspose.slides.PptxException: This export format is not implemented for PPTX yet.
com.aspose.slides.Presentation.b6(Unknown Source)
com.aspose.slides.Presentation.save(Unknown Source)
de.forcont.documentconverter.docx4j.service.AsposeConverter.ppt2pdfTest(AsposeConverter.java:299)
de.forcont.documentconverter.docx4j.Docx4JTestMain.main(Docx4JTestMain.java:23)
at com.aspose.slides.Presentation.b6(Unknown Source)
at com.aspose.slides.Presentation.save(Unknown Source)
at de.forcont.documentconverter.docx4j.service.AsposeConverter.ppt2pdfTest(AsposeConverter.java:299)
at de.forcont.documentconverter.docx4j.Docx4JTestMain.main(Docx4JTestMain.java:23)
@zwei,
This is the same information you provided earlier, and I was still unable to reproduce the exception on my end. Could you please create and share the simplest Java project that reproduces the error?