Hi,
We are facing a java.lang.NoClassDefFoundError-(initialization failure) error when our application code calls the Table.autofit() api.
The application is running in windows environment with IBM JRE8. The aspose version is. 17.7.1 words java. Here’s the exception stacktrace:
asposewobfuscated.zzAA (initialization failure)
java.lang.NoClassDefFoundError: asposewobfuscated.zzAA (initialization failure)
_ at java.lang.J9VMInternals.initializationAlreadyFailed(J9VMInternals.java:96)_
_ at asposewobfuscated.zzC9.zzT(Unknown Source)_
_ at asposewobfuscated.zzCA.zzRd(Unknown Source)_
_ at asposewobfuscated.zzRO.zzZ(Unknown Source)_
_ at asposewobfuscated.zzS8.zzRg(Unknown Source)_
_ at asposewobfuscated.zzS8.zzT(Unknown Source)_
_ at asposewobfuscated.zzS8.zzU(Unknown Source)_
_ at com.aspose.words.FontSettings.zzU(Unknown Source)_
_ at com.aspose.words.zz9M.zzS(Unknown Source)_
_ at com.aspose.words.zz9M.zzR(Unknown Source)_
_ at com.aspose.words.zz9M.zzZ(Unknown Source)_
_ at com.aspose.words.zz9M.zzZ(Unknown Source)_
_ at com.aspose.words.zz9M.zzX(Unknown Source)_
_ at com.aspose.words.zzZ88.zz0(Unknown Source)_
_ at com.aspose.words.zzYVP.zzZ(Unknown Source)_
_ at com.aspose.words.zzYVP.zzP(Unknown Source)_
_ at com.aspose.words.zzYVP.zzZfO(Unknown Source)_
_ at com.aspose.words.zzYVP.zzZfP(Unknown Source)_
_ at com.aspose.words.Table.zzZgJ(Unknown Source)_
_ at com.aspose.words.Table.autoFit(Unknown Source)_
- The error is giving ‘initialization failure’ as the cause. Is there any external setting/configuration/file missing in the environment which is causing the initialization to fail? Does the FontSettings instance expect such setting/configuration/file?
- Can such issue occur due to the presence of another Aspose jar being loaded in the environment(specifically v17.11)
- Providing a code snippet to reproduce the issue is difficult here. Can the developers check the implementation and help us here with the expected settings?
Thanks.