Free Support Forum - aspose.com

java.lang.NoClassDefFoundError: Could not initialize class asposewobfuscated while saving as PDF

Hi

We’ve just upgraded from an old version to 13.3.0 and are now facing this problem on one server:

2013-05-06 15:36:05,520 WARN [Thread-19] - Warning from PDF generator: Font ‘Calibri’ has not been found. Using ‘Arial’ font instead., type 131072, source 1
2013-05-06 15:36:05,520 WARN [Thread-19] - Warning from PDF generator: Font ‘Times New Roman’ has not been found. Using ‘Arial’ font instead., type 131072, source 1
2013-05-06 15:36:05,520 WARN [Thread-19] - Warning from PDF generator: Font ‘Symbol’ has not been found. Using ‘Arial’ font instead., type 131072, source 1
java.lang.NoClassDefFoundError: Could not initialize class asposewobfuscated.?H8
at com.aspose.words.?ZPE.?Z(Unknown Source)
at com.aspose.words.?ZPE.?T(Unknown Source)
at com.aspose.words.?ZW6.?E(Unknown Source)
at com.aspose.words.?ZW6.?X(Unknown Source)
at com.aspose.words.?ZW6.?Z(Unknown Source)
at com.aspose.words.?ZW6.?Z(Unknown Source)
at com.aspose.words.?EM.?Y(Unknown Source)
at com.aspose.words.?EM.?Z(Unknown Source)
at com.aspose.words.?E5.?Y(Unknown Source)
at com.aspose.words.?FA.?Z(Unknown Source)
at com.aspose.words.?EM.?Z(Unknown Source)
at com.aspose.words.?EX.?Z(Unknown Source)
at com.aspose.words.?FA.?Z(Unknown Source)
at com.aspose.words.Document.?RG(Unknown Source)
at com.aspose.words.?L8.?Z(Unknown Source)
at com.aspose.words.Document.?Z(Unknown Source)
at com.aspose.words.Document.?Z(Unknown Source)
at com.aspose.words.Document.save(Unknown Source)
at …our code…

We’ve configured an explicit fonts folder with just arial in it (in 4 files for the different versions like bold, italic, bolditalic), therefore the warnings from the callback above. The input is a DOC file, one page without a lot of content. I cannot reproduce it on a windows or a mac OSX machine though, only on this linux machine, I see this consistently.
Can you help us what’s going wrong here?

Thanks

Hi Matthias,


Thanks for your inquiry.

I would suggest you please upgrade to the latest version (v13.4.0) from here and let us know how it goes on your side. If the problem still remains, please attach your input Word document along with code here for testing. I will investigate the issue on my side and provide you more information.