Free Support Forum - aspose.com

Wrong version release date when loading license

Hello Aspose support, some times when setting license, version 20.3 is evaluated for a release on 01 Apr 2188.

Here is the error :

Failed to set license. Details: The subscription included in this license allows free upgrades until 17 Feb 2021, but this version of the product was released on 01 Apr 2188. Please renew the subscription or use a previous version of the product.: class com.aspose.email.system.exceptions.InvalidOperationException: Failed to set license. Details: The subscription included in this license allows free upgrades until 17 Feb 2021, but this version of the product was released on 01 Apr 2188. Please renew the subscription or use a previous version of the product. com.aspose.email:20.3@20.3//com.aspose. email .License.setLicense(SourceFile:274)

Wrong release date is not a constant, we get following release date for same version 20.3

Produce on Calculated release date
30/11/2020 10:26:42,197 but this version of the product was released on 01 Apr 2188
21/11/2020 21:34:07,661 but this version of the product was released on 30 Jun 2022
16/11/2020 17:46:47,972 but this version of the product was released on 30 Mar 2202
06/11/2020 14:59:05,125 but this version of the product was released on 30 Nov 4976
22/10/2020 16:54:11,778 but this version of the product was released on 30 Mar 3000
11/09/2020 18:45:13,204 but this version of the product was released on 30 Jun 6810

For context, this issue provide on a cluster models of 4 Wildfly servers. Every threads/processes access the license file simultaneously. This unique .lic file is stored on a shared mount.

Thanks for your help

@stco

Can you please share the license file with us privately. You can click on my name icon and a popup will appear. Then use Message option to send me private message where you may share the license file along with test application so that we may verify this fact on our end. It is strange though that same license file works too and doesn’t give error on all times. When you have shared the information privately, please notify us here so that we may assist you further.

@stco

I have created a ticket with ID EMAILJAVA-34772 in our issue tracking system to further investigate and resolve the issue on our end. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

Hi @mudassir.fayyaz , as asked details was sent to you through private message.

@stco

Thank you for notifying us. We have made a special hotfix for your issue and suggest you to please download and try the suggested version on your end.

@mudassir.fayyaz

Thanks, the problem is not reproduced with this hotfixed version. We will continue to test it in the next days.
Can this hotfix be installed on a production environment ?

@stco

Yes, you can use it in your production version too.

@mudassir.fayyaz

Loading license issue no more produce with hotfix on aspose email 20.3.2

But we steel have licences loading issue with diagram and slide module in 20.3. Is the issue same as fixed in email 20.3 ?

Error while loading Aspose license. null: java.lang.NullPointerException
at com.aspose.diagram:20.3@20.3.0.0//com.aspose.diagram.License.e(Unknown Source)

@stco

This is different issue as compared to one related to Aspose.Email. Can you please share the issue details in the form of sample application, Java and Operating System information where you are facing the issue.

Yes this is related to https://forum.aspose.com/t/re-wrong-version-release-date-when-loading-license/222688

@stco

The license file that you have shared appears to expire in 2021. Can you please consider using latest version of Aspsoe.Slides and Diagram on your end to see if this still an issue on your end or not.

The issues you have found earlier (filed as EMAILJAVA-34772) have been fixed in this update.