Issue with IBM JVM

Hi guys!

I
have a problem with a converting rtf document to a docx format.
Application is running on AIX with IBM JVM. JVM stack trace is also
attached.

I’m openning it from InputStream and then save it to DOCX.


java.lang.UnsatisfiedLinkError:
fontmanager (Not found in
com.ibm.oti.vm.bootstrap.library.path)]java.lang.UnsatisfiedLinkError:
fontmanager (Not found in com.ibm.oti.vm.bootstrap.library.path) at
java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1030) at
java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:994)
at java.lang.System.loadLibrary(System.java:507) at
sun.font.FontManager$1.run(FontManager.java:240) at
java.security.AccessController.doPrivileged(AccessController.java:273)
at sun.font.FontManager.(FontManager.java:235) at
java.lang.J9VMInternals.initializeImpl(Native
Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) at

sun.java2d.SunGraphicsEnvironment.addDirFonts(SunGraphicsEnvironment.java:994)
at
sun.java2d.SunGraphicsEnvironment.registerFontsInDir(SunGraphicsEnvironment.java:874)
at
sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:75)
at

sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:241)
at
java.security.AccessController.doPrivileged(AccessController.java:273)
at
sun.java2d.SunGraphicsEnvironment.(SunGraphicsEnvironment.java:142)
at
sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:216)
at
java.lang.J9VMInternals.newInstanceImpl(Native Method) at
java.lang.Class.newInstance(Class.java:1547) at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:79)
at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1176)
at asposewobfuscated.zzS0.zzZ(Unknown Source) at
asposewobfuscated.zzS0.zzZ(Unknown Source) at
asposewobfuscated.zzS0.zzZ(Unknown Source) at
asposewobfuscated.zzOW.zzZ(Unknown Source) at
asposewobfuscated.zzOW.zzU(Unknown Source) at
asposewobfuscated.zzOW.(Unknown
Source) at com.aspose.words.zzZ62.zzZnY(Unknown Source) at
com.aspose.words.zzZ62.zzY(Unknown Source) at
com.aspose.words.zzZ5G.zzc(Unknown Source) at
com.aspose.words.zzZ5G.zzd(Unknown Source) at
com.aspose.words.zzZ5G.zzf(Unknown Source) at
com.aspose.words.zzZ5G.zzZP(Unknown
Source) at com.aspose.words.zzZ5G.zzZR(Unknown Source) at
com.aspose.words.zzZ4U.visitShapeStart(Unknown Source) at
com.aspose.words.Shape.zzZ(Unknown Source) at
com.aspose.words.CompositeNode.acceptCore(Unknown Source) at
com.aspose.words.Shape.accept(Unknown
Source) at com.aspose.words.CompositeNode.acceptChildren(Unknown Source)
at com.aspose.words.CompositeNode.acceptCore(Unknown Source) at
com.aspose.words.Paragraph.accept(Unknown Source) at
com.aspose.words.CompositeNode.acceptChildren(Unknown Source) at
com.aspose.words.CompositeNode.acceptCore(Unknown
Source) at com.aspose.words.Body.accept(Unknown Source) at
com.aspose.words.CompositeNode.acceptChildren(Unknown Source) at
com.aspose.words.CompositeNode.acceptCore(Unknown Source) at
com.aspose.words.Section.accept(Unknown Source) at
com.aspose.words.CompositeNode.acceptChildren(Unknown
Source) at com.aspose.words.CompositeNode.acceptCore(Unknown Source) at
com.aspose.words.Document.accept(Unknown Source) at
com.aspose.words.zzZ4U.zzZ(Unknown Source) at
com.aspose.words.Document.zzZ(Unknown Source) at
com.aspose.words.Document.zzZ(Unknown
Source) at com.aspose.words.Document.zzO(Unknown Source) at
com.aspose.words.Document.save(Unknown Source) at
ru.ibs.sad.sbo.LinkageModule.saveToRtf(LinkageModule.java:206)


What can be wrong with the classloader?

Hi Ivan,


Thanks for your inquiry. In case you are using an older version of Aspose.Words, I would suggest you please upgrade to the latest version (v14.10.0) from here and let us know how it goes on your side. If the problem still remains, please attach your input RTF document here for testing. I will investigate the issue on my side and provide you more information.

Hi Tahir,

Unfortunately the latest version has the same error during converting this rtf document to docs format.
I’ve attached this document to this reply.

Hi Ivan,


Thanks
for your inquiry. I have tested the scenario at Ubuntu and IBM Jdk and have not found the shared issue. Could you please test the same scenario at some different system and let us know if you still face the same issue?

I suggest you please use the latest version of Aspose.Words for Java 14.11.0. Please make sure that you are using the latest version of Aspose.Words for Java and using the same document which you shared in this forum thread.