java.lang.UnsatisfiedLinkError: com.aspose.words.WindowsNativeCall.createGlobalPrinterDC

Hi,

we are using Words on Solaris. We get the following exception:

java.lang.UnsatisfiedLinkError: com.aspose.words.WindowsNativeCall.createGlobalPrinterDC(Ljava/lang/String;)V
at com.aspose.words.WindowsNativeCall.createGlobalPrinterDC(Native Method)
at com.aspose.words.WindowsNativeCall.(Unknown Source)
at com.aspose.words.WindowsNativeCall.getInstance(Unknown Source)
at com.aspose.words.PrinterMetrics.(Unknown Source)
at com.aspose.words.zzZMR.zzZwQ(Unknown Source)
at com.aspose.words.zzZMR.zzZ(Unknown Source)
at com.aspose.words.zzZMR.zzZH(Unknown Source)
at com.aspose.words.zzZMR.zzZwU(Unknown Source)
at com.aspose.words.zzZMR.zzZz9(Unknown Source)
at com.aspose.words.zzZN3.hashCode(Unknown Source)
at com.aspose.words.zzZMR.hashCode(Unknown Source)
at java.util.HashMap.hash(HashMap.java:366)
at java.util.HashMap.put(HashMap.java:496)
at com.aspose.words.zzZMR.zzX(Unknown Source)
at com.aspose.words.zzZ1B.zzY(Unknown Source)
at com.aspose.words.zz9R.zzZXR(Unknown Source)
at com.aspose.words.zz9R.moveNext(Unknown Source)
at com.aspose.words.zzZPC.zzZ(Unknown Source)
at com.aspose.words.Document.updatePageLayout(Unknown Source)
at com.aspose.words.zz4Y.perform(Unknown Source)
at com.aspose.words.zz4Z.zzKu(Unknown Source)
at com.aspose.words.zz24.zzYW(Unknown Source)
at com.aspose.words.zz24.zzZ(Unknown Source)
at com.aspose.words.zz24.zz7(Unknown Source)
at com.aspose.words.Document.zzZZR(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)
at com.aspose.words.Document.save(Unknown Source)

Using this code:

com.aspose.words.Document doc = new com.aspose.words.Document(fileLoc);
doc.save(pdf);

With this file: https://customerservices.glasscubes.com/share/s/rd3sn92rkkn61cjt3rbhr4a984

Can you provide a fix?

Hi Wayne,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSJAVA-1203. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Thanks Tahir

The issues you have found earlier (filed as WORDSJAVA-1203) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(12)