We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Cannot find black listed licenses resource or black list is invalid

byte [] encryptedLicense = AsposeEncryptDecrypLicense.getInstance().getDecryptedLicense();
ByteArrayInputStream licenseStream = new ByteArrayInputStream(encryptedLicense);
License license = new License();
license.setLicense(licenseStream);

In the above code segment, I am getting the below error. Can you please help me solve the issue?

com.aspose.cells.CellsException: Cannot find black listed licenses resource or black list is invalid. Please report this error to Aspose.

Hi,


I think the error might be in your own code as you are encrypting and decrypting license. Could you try to use/set your license in more simpler way and do not encrypt/decrypt the license file if it works fine or not? If you still find the issue, please paste your simple JAVA program (runnable) here. Also, please send us your license file via email. Please do not attach your license file with this post. Please see the document on how to send your license file to us:
http://www.aspose.com/corporate/purchase/faqs/send-license-to-aspose-staff.aspx

Once you send us the license file via email, kindly do confirm here in this thread.

Thank you.