Hi Team ,
We have been the following errors on PDF conversion lately. Could you please check and let us know the rootcause and fix for these:
- Cannot find black listed licenses resource or black list is invalid. Please report this error to Aspose.
2)Couldn’t parse black list. Please report this error to Aspose.
3)Could not initialize class com.aspose.slides.Presentation
4)Resource file Courier.afm not found in assembly
@agilentagile
It seems you are encountering several errors during PDF conversion. Here’s a breakdown of the issues and potential solutions:
-
Blacklisted Licenses Resource Errors:
- The errors indicating that the blacklisted licenses resource cannot be found or parsed suggest that there may be an issue with the licensing configuration. Ensure that your license file is correctly referenced in your application and that it is not corrupted. If you are using a trial version, consider obtaining a valid license.
-
Class Initialization Error:
- The error “Could not initialize class com.aspose.slides.Presentation” typically indicates that there is a problem with the Aspose.Slides library. This could be due to a missing or incompatible version of the library. Make sure you are using the latest version of Aspose.Slides and that all dependencies are correctly included in your project.
-
Missing Resource File:
- The error regarding the missing “Courier.afm” resource file suggests that the font resource is not available in the assembly. Ensure that all necessary font files are included in your project and that the paths are correctly set. You may need to manually add the font files to your project or adjust the configuration to point to the correct location.
For further assistance, you may want to check the Aspose documentation or support forums for similar issues and their resolutions. If the problems persist, consider reaching out to Aspose support with detailed information about your environment and the steps to reproduce the errors.
If you have any more questions or need further clarification, feel free to ask!
@agilentagile,
You have already created the forum thread on this topic:
Will Security Warnings in File Cause Black Listed Issues?
Please let us know there whether you have applied our advice and provide the additional details we asked for earlier and we will do our best to help you solve this problem. Please do not duplicate topics in the future.