java.lang.UnsatisfiedLinkError occurs occasionally during Word to HTML conversion

Dear Aspose,

I have the same error with my Java web application using Aspose 18.8:

java.lang.UnsatisfiedLinkError: com.aspose.words.WindowsNativeCall.readRegistryStringValues(ILjava/lang/String;)Ljava/util/Map;
at com.aspose.words.WindowsNativeCall.readRegistryStringValues(Native Method)
at asposewobfuscated.zzA1.zzN(Unknown Source)
at asposewobfuscated.zzC1.zzU(Unknown Source)
at asposewobfuscated.zzC2.zzQK(Unknown Source)
at asposewobfuscated.zzRF.zzZ(Unknown Source)
at asposewobfuscated.zzRZ.zzQN(Unknown Source)
at asposewobfuscated.zzRZ.zzS(Unknown Source)
at asposewobfuscated.zzRZ.zzT(Unknown Source)
at com.aspose.words.FontSettings.zzT(Unknown Source)
at com.aspose.words.zz97.zzR(Unknown Source)
at com.aspose.words.zz97.zzQ(Unknown Source)
at com.aspose.words.zz00.zzYJ(Unknown Source)
at com.aspose.words.zz8Z$zzZ.zzZX(Unknown Source)
at asposewobfuscated.zzCT.moveNext(Unknown Source)
at com.aspose.words.zz8Z.zzZ(Unknown Source)
at com.aspose.words.zzZ0G.zzZlX(Unknown Source)
at com.aspose.words.zzZ0G.zzX(Unknown Source)
at com.aspose.words.zz8Z.<init>(Unknown Source)
at com.aspose.words.zzYXQ.zzZ(Unknown Source)
at com.aspose.words.zz8Y.moveNext(Unknown Source)
at com.aspose.words.zzZMT.zzZ(Unknown Source)
at com.aspose.words.Document.updatePageLayout(Unknown Source)
at com.aspose.words.Document.zzXu(Unknown Source)
at com.aspose.words.Document.getPageCount(Unknown Source)
at com.aspose.words.zz0F.zzZ(Unknown Source)
at com.aspose.words.zzZH6.zzZ(Unknown Source)
at com.aspose.words.Document.zzZ(Unknown Source)
at com.aspose.words.Document.zzZ(Unknown Source)
at com.aspose.words.Document.zzZ(Unknown Source)
at com.aspose.words.Document.save(Unknown Source)

The strange thing is that the erorr doesn’t appear with every compilation. I have Java 8 compiler and sometimes when building my projects with Maven and running the .war file on Tomcat, I get the error above when trying to save my Word document in HTML format.

After restarting Tomcat, the error doesn’t reoccure. Any idea’s what the issue could be and how to solve it?

@avandenhoogen,

We suggest you please upgrade to the latest version of Aspose.Words for Java i.e. 18.9 and see how it goes on your end?

In case the problem still remains, please ZIP and upload your input Word document (you are getting this problem with) here for testing. Do you get this problem with many documents or is it specific to only one particular document that you are trying to convert to HTML? Are you seeing this problem on Windows or Linux OS? We will then investigate the issue on our end and provide you more information.

A post was split to a new topic: UnsatisfiedLinkError: com.aspose.words.WindowsNativeCall related error

A post was merged into an existing topic: UnsatisfiedLinkError: com.aspose.words.WindowsNativeCall related error