Exception on PPT to PDF conversion

Hi,

This is a little bit tricky, but it would be very helpful if you could take a look at this:

Our customer got this error message when trying to convert a PPT to PDF:

Root cause: java.lang.NoClassDefFoundError: Could not initialize class com.aspose.slides.internal.ey.this
            at com.aspose.slides.internal.np.this.do(Unknown Source)
            at com.aspose.slides.internal.np.this.do(Unknown Source)
            at com.aspose.slides.internal.np.public.do(Unknown Source)
            at com.aspose.slides.nt.do(Unknown Source)
            at com.aspose.slides.nt.do(Unknown Source)
            at com.aspose.slides.nt.do(Unknown Source)
            at com.aspose.slides.nc.do(Unknown Source)
            at com.aspose.slides.ai0.do(Unknown Source)
            at com.aspose.slides.nc.do(Unknown Source)
            at com.aspose.slides.kp.do(Unknown Source)
            at com.aspose.slides.nz.do(Unknown Source)
            at com.aspose.slides.akw.for(Unknown Source)
            at com.aspose.slides.akw.default(Unknown Source)
            at com.aspose.slides.akt.do(Unknown Source)
            at com.aspose.slides.akt.<init>(Unknown Source)
            at com.aspose.slides.TextFrame.do(Unknown Source)
            at com.aspose.slides.TextFrame.do(Unknown Source)
            at com.aspose.slides.TextFrame.do(Unknown Source)
            at com.aspose.slides.AutoShape.do(Unknown Source)
            at com.aspose.slides.GroupShape.do(Unknown Source)
            at com.aspose.slides.Slide.for(Unknown Source)
            at com.aspose.slides.Slide.do(Unknown Source)
            at com.aspose.slides.Slide.do(Unknown Source)
            at com.aspose.slides.Slide.do(Unknown Source)
            at com.aspose.slides.acs.do(Unknown Source)
            at com.aspose.slides.acs.do(Unknown Source)
            at com.aspose.slides.Presentation.do(Unknown Source)
            at com.aspose.slides.Presentation.do(Unknown Source)
            at com.aspose.slides.Presentation.save(Unknown Source)
            at com.braintribe.model.processing.conversion.service.expert.OfficeToPdfExpert.lambda$convertAsposeSlides$6(OfficeToPdfExpert.java:319)
            at com.braintribe.model.processing.resource.streaming.access.OutputStreamConsumerHttpEntity.writeTo(RemoteResourceAccess.java:1002)
            at com.braintribe.transport.http.CountingHttpEntity.writeTo(CountingHttpEntity.java:70)
            at org.apache.http.impl.DefaultBHttpClientConnection.sendRequestEntity(DefaultBHttpClientConnection.java:156)
            at org.apache.http.impl.conn.CPoolProxy.sendRequestEntity(CPoolProxy.java:152)
            at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:238)
            at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
            at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
            at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
            at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
            at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
            at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
            at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
            at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
            at com.braintribe.model.processing.resource.streaming.access.RemoteResourceAccess.post(RemoteResourceAccess.java:601)
            at com.braintribe.model.processing.resource.streaming.access.RemoteResourceAccess.post(RemoteResourceAccess.java:641)
            at com.braintribe.model.processing.resource.streaming.access.RemoteResourceAccess.access$300(RemoteResourceAccess.java:81)
            at com.braintribe.model.processing.resource.streaming.access.RemoteResourceAccess$1.store(RemoteResourceAccess.java:217)
            at com.braintribe.model.processing.conversion.service.expert.OfficeToPdfExpert.convertAsposeSlides(OfficeToPdfExpert.java:319)
            at com.braintribe.model.processing.conversion.service.expert.OfficeToPdfExpert.convertAspose(OfficeToPdfExpert.java:199)
            at com.braintribe.model.processing.conversion.service.expert.OfficeToPdfExpert.convert(OfficeToPdfExpert.java:130)
            at com.braintribe.model.processing.conversion.service.expert.ExpertRunner.run(ExpertRunner.java:134)
            at com.braintribe.model.processing.conversion.service.expert.CreateDocumentExpert.executeConversionJob(CreateDocumentExpert.java:900)
            at com.braintribe.model.processing.conversion.service.expert.CreateDocumentExpert.convertOfficeToPdf(CreateDocumentExpert.java:732)
            at com.braintribe.model.processing.conversion.service.expert.CreateDocumentExpert.convert(CreateDocumentExpert.java:194)
            at com.braintribe.model.processing.conversion.service.expert.ExpertRunner.run(ExpertRunner.java:134)
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
            at java.util.concurrent.FutureTask.run(FutureTask.java:266)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
            at java.lang.Thread.run(Thread.java:748)

We’re using Aspose Slides 19.5.
We are not able to reproduce this issue on any of our machines and test environment.

Thank you for your help!

@braintribe,

Can you please share source file so that we may further investigate to help you out. Also please share complete environment details with us.

TC-PRD-PostAdjustments.pptx.zip (79.9 KB)
Hi,

I’m attaching the document now. I will have to obtain the environment details later in the day. All I know at the moment that it is running on a Red Hat Enterprise Linux.

Thank you!

@braintribe,

I have worked with source files and sample code shared by you and have been able to observe the issue. A ticket with ID SLIDESJAVA-37820 has been created in our issue tracking system to further investigate issue in detail. This thread has been linked with issue so that you may be automatically notified once issue will be fixed.

Hi,
Thank you very much. I’m very happy that you could reproduce the problem as we couldn’t in our environment.
Thanks!

@braintribe,

I like to inform that everything works fine on Window 10 environment. For investigation on Red Hat Linux environment, i created investigation ticket. We will share feedback with you soon. I request for your patience.

I’ve got the information about the environment where the issue happens.

CPU Intel(R) Xeon(R) Gold 6152 CPU @ 2.10GHz, 2.1 GHz, 64 Bit

Family: 6, Model: 58
Vendor: GenuineIntel
Identifier: Intel64 Family 6 Model 58 Stepping 0
Serial Number: unknown
ProcessorId: 0F81FBFF003006A0
Physical Processor Count: 4
Logical Processor Count: 4
System Boot Time: Fri Aug 09 06:17:38 CEST 2019
CPU Load: 0.26, 1 min: 0.18, 5 min: 0.06, 15 min: 0.06

Memory Total: 33.55 GB
Available: 23.38 GB
Swap Total: 4.29 GB
Swap Used: 0.08 GB

Hardware Manufacturer: VMware, Inc.
Model: VMware Virtual Platform
Serial Number: unknown
Firmware: Manufacturer: Phoenix Technologies LTD Name: unknown Description: dmi:bvnPhoenixTechnologiesLTD:bvr6.00:bd09/21/2015:svnVMware,Inc.:pnVMwareVirtualPlatform:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1:cvrN/A: Version: 6.00 ReleaseDate: Mon Sep 21 00:00:00 CEST 2015
Board: Manufacturer: Intel Corporation Model: 440BX Desktop Reference Platform Version: None

Operating System Red Hat Enterprise Linux Server (GNU/Linux)
Version: 7.6 - Maipo
Build Number: 3.10.0-957.12.2.el7.x86_64
Architecture: amd64
Bitness: 64
Thread Count: 1188

Java Id: 68965
Specification: Java Virtual Machine Specification 1.8 (Oracle Corporation)

Virtual Machine: OpenJDK 64-Bit Server VM 25.212-b04 (Azul Systems, Inc.)

Java Home: /appjava/zulu_jdk8.0_212/jre
Java Vendor: Azul Systems, Inc.
Java Version: 1.8.0_212
BootClassPath supported: true
BootClassPath: /appjava/zulu_jdk8.0_212/jre/lib/resources.jar:/appjava/zulu_jdk8.0_212/jre/lib/rt.jar:/appjava/zulu_jdk8.0_212/jre/lib/sunrsasign.jar:/appjava/zulu_jdk8.0_212/jre/lib/jsse.jar:/appjava/zulu_jdk8.0_212/jre/lib/jce.jar:/appjava/zulu_jdk8.0_212/jre/lib/charsets.jar:/appjava/zulu_jdk8.0_212/jre/lib/jfr.jar:/appjava/zulu_jdk8.0_212/jre/classes
ClassPath: /opt/braintribe/ADX2/adx-core/tribefire/runtime/host/bin/bootstrap.jar:/opt/braintribe/ADX2/adx-core/tribefire/runtime/host/bin/tomcat-juli.jar
LibraryPath: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Class Version: 52.0
Management Specification Version: 1.2
Thread Count: 442
Allocated Memory: 8.58 GB
Max Memory: 8.58 GB
Used Memory: 2.48 GB
Free Memory: 6.1 GB
Start Time: Tue Oct 22 16:39:09 CEST 2019
Uptime: 23 h 37 min 40 s 792 ms
Temporary Directory: /opt/braintribe/ADX2/adx-core/tribefire/runtime/host/…/…/…/temp
User Home: /home/webm7
User Name: webm7
Working Directory: /opt/braintribe/ADX2/adx-core/tribefire/runtime/host/bin
Available Processors: 4
Input Arguments: -Djava.util.logging.config.file=/opt/braintribe/ADX2/adx-core/tribefire/runtime/host/conf/logging.properties -Djava.util.logging.manager=com.braintribe.logging.juli.BtClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Dfile.encoding=UTF-8 -Xms8G -Xmx8G -Djava.awt.headless=true -Xmn1G -XX:InitiatingHeapOccupancyPercent=40 -XX:MaxGCPauseMillis=200 -XX:+DisableExplicitGC -XX:+UseStringDeduplication -XX:ConcGCThreads=2 -XX:ParallelGCThreads=8 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/braintribe/ADX2/conversion-server/logs/ -Dsun.net.inetaddr.ttl=60 -Dignore.endorsed.dirs= -Dcatalina.base=/opt/braintribe/ADX2/adx-core/tribefire/runtime/host -Dcatalina.home=/opt/braintribe/ADX2/adx-core/tribefire/runtime/host -Djava.io.tmpdir=/opt/braintribe/ADX2/adx-core/tribefire/runtime/host/…/…/…/temp
System Properties: awt.toolkit=sun.awt.X11.XToolkit, file.encoding.pkg=sun.io, java.specification.version=1.8, sun.cpu.isalist=, sun.jnu.encoding=UTF-8, TRIBEFIRE_JVM_UUID=1910221639134982e87872a11642efb9, java.class.path=/opt/braintribe/ADX2/adx-core/tribefire/runtime/host/bin/bootstrap.jar:/opt/braintribe/ADX2/adx-core/tribefire/runtime/host/bin/tomcat-juli.jar, java.vm.vendor=Azul Systems, Inc., sun.arch.data.model=64, sun.font.fontmanager=sun.awt.X11FontManager, catalina.useNaming=true, java.vendor.url=http://www.azulsystems.com/, user.timezone=Europe/Brussels, TRIBEFIRE_CONTAINER_ROOT_DIR=${catalina.base}, os.name=Linux, java.vm.specification.version=1.8, sun.java.launcher=SUN_STANDARD, user.country=US, TRIBEFIRE_INSTALLATION_ROOT_DIR=${TRIBEFIRE_CONTAINER_ROOT_DIR}/…/…, sun.boot.library.path=/appjava/zulu_jdk8.0_212/jre/lib/amd64, sun.java.command=org.apache.catalina.startup.Bootstrap start, org.apache.tomcat.util.digester.PROPERTY_SOURCE=com.braintribe.tomcat.extension.EncryptedPropertySource, sun.cpu.endian=little, user.home=/home/webm7, user.language=en, java.specification.vendor=Oracle Corporation, java.naming.factory.url.pkgs=org.apache.naming, net.sf.ehcache.skipUpdateCheck=true, java.home=/appjava/zulu_jdk8.0_212/jre, ignore.endorsed.dirs=, file.separator=/, line.separator= , java.vm.specification.vendor=Oracle Corporation, java.specification.name=Java Platform API Specification, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, java.awt.headless=true, package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.jasper.,org.apache.tomcat., package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.jasper.,org.apache.naming.,org.apache.tomcat., sun.boot.class.path=/appjava/zulu_jdk8.0_212/jre/lib/resources.jar:/appjava/zulu_jdk8.0_212/jre/lib/rt.jar:/appjava/zulu_jdk8.0_212/jre/lib/sunrsasign.jar:/appjava/zulu_jdk8.0_212/jre/lib/jsse.jar:/appjava/zulu_jdk8.0_212/jre/lib/jce.jar:/appjava/zulu_jdk8.0_212/jre/lib/charsets.jar:/appjava/zulu_jdk8.0_212/jre/lib/jfr.jar:/appjava/zulu_jdk8.0_212/jre/classes, jdk.tls.ephemeralDHKeySize=2048, server.loader=, java.util.logging.config.file=/opt/braintribe/ADX2/adx-core/tribefire/runtime/host/conf/logging.properties, java.protocol.handler.pkgs=org.apache.catalina.webresources, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, java.runtime.version=1.8.0_212-b04, java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory, user.name=webm7, path.separator=:, common.loader="${catalina.base}/lib","${catalina.base}/lib/.jar","${catalina.home}/lib","${catalina.home}/lib/.jar", os.version=3.10.0-957.12.2.el7.x86_64, java.endorsed.dirs=/appjava/zulu_jdk8.0_212/jre/lib/endorsed, java.runtime.name=OpenJDK Runtime Environment, file.encoding=UTF-8, jnidispatch.path=/home/webm7/.cache/JNA/temp/jna6752378661513673035.tmp, sun.nio.ch.bugLevel=, jna.platform.library.path=/usr/lib64:/lib64:/usr/lib:/lib:/usr/lib/vmware-tools/lib64/libvmGuestLibJava.so:/usr/lib/vmware-tools/lib32/libvmGuestLibJava.so:/usr/lib/vmware-tools/lib64/libvmGuestLib.so:/usr/lib/vmware-tools/lib32/libvmGuestLib.so:/usr/lib64/dyninst:/usr/lib64/mysql:/usr/lib/vmware-tools/lib64/libDeployPkg.so:/usr/lib/vmware-tools/lib32/libDeployPkg.so, java.vm.name=OpenJDK 64-Bit Server VM, org.apache.catalina.security.SecurityListener.UMASK=0027, jna.loaded=true, java.vendor.url.bug=http://www.azulsystems.com/support/, java.io.tmpdir=/opt/braintribe/ADX2/adx-core/tribefire/runtime/host/…/…/…/temp, tomcat.util.scan.StandardJarScanFilter.jarsToScan=log4j-web*.jar,log4j-taglib*.jar,log4javascript*.jar,slf4j-taglib*.jar, catalina.home=/opt/braintribe/ADX2/adx-core/tribefire/runtime/host, java.version=1.8.0_212, java.util.concurrent.ForkJoinPool.common.threadFactory=org.apache.catalina.startup.SafeForkJoinWorkerThreadFactory, tomcat.util.scan.StandardJarScanFilter.jarsToSkip=bootstrap.jar,commons-daemon.jar,tomcat-juli.jar,annotations-api.jar,el-api.jar,jsp-api.jar,servlet-api.jar,websocket-api.jar,jaspic-api.jar,catalina.jar,catalina-ant.jar,catalina-ha.jar,catalina-storeconfig.jar,catalina-tribes.jar,jasper.jar,jasper-el.jar,ecj-.jar,tomcat-api.jar,tomcat-util.jar,tomcat-util-scan.jar,tomcat-coyote.jar,tomcat-dbcp.jar,tomcat-jni.jar,tomcat-websocket.jar,tomcat-i18n-en.jar,tomcat-i18n-es.jar,tomcat-i18n-fr.jar,tomcat-i18n-ja.jar,tomcat-juli-adapters.jar,catalina-jmx-remote.jar,catalina-ws.jar,tomcat-jdbc.jar,tools.jar,commons-beanutils.jar,commons-codec*.jar,commons-collections*.jar,commons-dbcp*.jar,commons-digester*.jar,commons-fileupload*.jar,commons-httpclient*.jar,commons-io*.jar,commons-lang*.jar,commons-logging*.jar,commons-math*.jar,commons-pool*.jar,jstl.jar,taglibs-standard-spec-.jar,geronimo-spec-jaxrpc.jar,wsdl4j*.jar,ant.jar,ant-junit*.jar,aspectj*.jar,jmx.jar,h2*.jar,hibernate*.jar,httpclient*.jar,jmx-tools.jar,jta*.jar,log4j*.jar,mail*.jar,slf4j*.jar,xercesImpl.jar,xmlParserAPIs.jar,xml-apis.jar,junit.jar,junit-.jar,hamcrest-.jar,easymock-.jar,cglib-.jar,objenesis-.jar,ant-launcher.jar,cobertura-.jar,asm-.jar,dom4j-.jar,icu4j-.jar,jaxen-.jar,jdom-.jar,jetty-.jar,oro-.jar,servlet-api-.jar,tagsoup-.jar,xmlParserAPIs-.jar,xom-.jar, sun.net.inetaddr.ttl=60, user.dir=/opt/braintribe/ADX2/adx-core/tribefire/runtime/host/bin, os.arch=amd64, java.vm.specification.name=Java Virtual Machine Specification, TRIBEFIRE_EXTERNAL_PROPERTIES_LOCATION=${TRIBEFIRE_INSTALLATION_ROOT_DIR}/conf/tribefire.properties, java.awt.printerjob=sun.print.PSPrinterJob, sun.os.patch.level=unknown, catalina.base=/opt/braintribe/ADX2/adx-core/tribefire/runtime/host, shared.loader=, java.util.logging.manager=com.braintribe.logging.juli.BtClassLoaderLogManager, java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib, java.vendor=Azul Systems, Inc., java.vm.info=mixed mode, java.vm.version=25.212-b04, sun.io.unicode.encoding=UnicodeLittle, java.ext.dirs=/appjava/zulu_jdk8.0_212/jre/lib/ext:/usr/java/packages/lib/ext, tomcat.util.buf.StringCache.byte.enabled=true, java.class.version=52.0
Environment Variables: PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/webm7/.local/bin:/home/webm7/bin, HISTCONTROL=ignoredups, CATALINA_PID=/opt/braintribe/ADX2/adx-core/tribefire/runtime/host/bin/catalina.pid, CATALINA_TMPDIR=/opt/braintribe/ADX2/adx-core/tribefire/runtime/host/…/…/…/temp, HISTSIZE=1000, JAVA_HOME=/appjava/zulu_jdk8.0_212, TERM=xterm, LANG=en_US.UTF-8, XDG_SESSION_ID=50277, JRE_HOME=/appjava/zulu_jdk8.0_212, MAIL=/var/spool/mail/webm7, LOGNAME=webm7, PWD=/opt/braintribe/ADX2/adx-core/tribefire/runtime/host/bin, LESSOPEN=||/usr/bin/lesspipe.sh %s, SHELL=/bin/bash, A__z="SHLVL, _AST_FEATURES=UNIVERSE - ucb, SSH_TTY=/dev/pts/1, SSH_CLIENT=10.128.210.112 55205 22, CATALINA_OPTS=-Dfile.encoding=UTF-8 -Xms8G -Xmx8G -Djava.awt.headless=true -server -Xmn1G -XX:InitiatingHeapOccupancyPercent=40 -XX:MaxGCPauseMillis=200 -XX:+DisableExplicitGC -XX:+UseStringDeduplication -XX:ConcGCThreads=2 -XX:ParallelGCThreads=8 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/opt/braintribe/ADX2/conversion-server/logs/ -Dsun.net.inetaddr.ttl=60, LOGGING_MANAGER=-Djava.util.logging.manager=com.braintribe.logging.juli.BtClassLoaderLogManager, JDK_JAVA_OPTIONS= --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED, USER=webm7, SSH_CONNECTION=10.128.210.112 55205 10.166.39.62 22, HOSTNAME=ITSBEBELSP03105, XDG_RUNTIME_DIR=/run/user/21543, LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:
.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.axv=01;35:.anx=01;35:.ogv=01;35:.ogx=01;35:.aac=01;36:.au=01;36:.flac=01;36:.mid=01;36:.midi=01;36:.mka=01;36:.mp3=01;36:.mpc=01;36:.ogg=01;36:.ra=01;36:.wav=01;36:.axa=01;36:.oga=01;36:.spx=01;36:*.xspf=01;36:, HOME=/home/webm7, SHLVL=2

@braintribe,

Thanks for sharing information with us.

Hi,
Is there any update on this issue?
Is there a way that we can watch the progress of SLIDESJAVA-37820 ourselves?
Thank you!

@braintribe,

I like to inform that we have investigated this exception and it is related to the bug in Openjdk, because a similar exception is thrown on RHEL Server 6.9 with OpenJDK, but everything works fine with Oracle JDK on the same server. In this case, to fix this exception, we suggest using Oracle JDK instead of Openjdk. If you want to fix this exception for Openjdk, you can use "NPE in sun.awt.FontConfiguration.getVersion(…) " as a search phase and check which fix will help you.

Hi,

Thank you for your response. Unfortunately, I am not able to find any search result that would help me understanding / fixing the problem.
We also tried to uninstall all fonts but did not get the exception above (it was a different one, which was alright).
Do you have any more information on how to deal with this problem?
It would also be cool to be able to reproduce the problem locally? How did you manage to reproduce this?

Thank you for your help

@braintribe,

As we have shared earlier we have investigated on our end and have reached the conclusion that this is a bug in Openjdk, because a similar exception is thrown on RHEL Server 6.9 with OpenJDK, but everything works fine with Oracle JDK on the same server. In this case, to fix this exception, we suggest you to please use Oracle JDK instead of Openjdk. If you are still able to reproduce the issue using Oracle JDK, please feel free to share with us.

Hi,
Thank you for your reply.
Unfortunately, the trace

Root cause: java.lang.NoClassDefFoundError: Could not initialize class com.aspose.slides.internal.ey.this
at com.aspose.slides.internal.np.this.do(Unknown Source)

is not super-helpful in finding the actual cause of the problem and how to fix it when I’m stuck with OpenJDK. The code obfuscation I don’t mind, but the exception is still lacking important information, like the root cause. What classes does “com.aspose.slides.internal.ey.this” reference?

Please, don’t just tell me I should use OracleJDK. This is not good advise as I cannot decide what the customer is using or not. OpenJDK is also widely used, so it would be an interesting choice not to support it.

Your message,

If you want to fix this exception for Openjdk, you can use "NPE in sun.awt.FontConfiguration.getVersion(…) " as a search phase and check which fix will help you.

was a good start. It indicates that you have a clue on what is going on. Could you please share your wisdom?

Thank you

@braintribe,

Thank you for sharing the information. I have updated the information in our issue tracking system and will get back to you as soon as feedback will be shared. We request for your patience in this regard.

Hello,

Is there any update on this? Please help us to understand the problem.

Thank you!

@braintribe,

I have verified from our issue tracking system and regret to share that at present the issue is unresolved and we request for your patience till the time it gets resolved.

@braintribe,

We have observed the stack trace and this exception occurs when Aspose.Slides tries to initialize fonts and java.awt.Container object.

Unfortunately, we cannot reproduce an exception with the same stacktrace, but we did manage to reproduce an exception which is very close to the your exception. In order to fix this exception we used the following commands:

yum install fontconfig
yum install dejavu-sans-fonts

Can you please try the specified commands and share feedback.

The issues you have found earlier (filed as SLIDESJAVA-37820) have been fixed in this update.