-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: Data Center
-
None
-
1
-
4
Issue Summary
This is reproducible on Data Center: yes
Steps to Reproduce
- Generate a license for Jira Data Center
- Copy and paste the license with an extraneous character (like a comma for example).
- Save the license.
Expected Results
An error would be thrown 'The license entered is invalid'.
Actual Results
The license does not save. The saving progress bar moves back and forth giving the indication the license is still in the process of saving.
The below exception is thrown in the xxxxxxx.log file:
/rest/plugins/applications/1.0/installed/jira-software/license [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: Could NOT parse license type code com.atlassian.extras.common.LicenseException: Could NOT parse license type code ..... Caused by: java.lang.NumberFormatException: For input string: "6)�}�p��&�z����� Ղr���즂�6�i|5%=" at java.base/java.lang.NumberFormatException.forInputString(Unknown Source) at java.base/java.lang.Integer.parseInt(Unknown Source) at java.base/java.lang.Integer.parseInt(Unknown Source) at com.atlassian.extras.decoder.v1.Version1LicenseDecoder.doDecode(Version1LicenseDecoder.java:70)
Workaround
Review the atlassian-jira.log to understand there was a copy/paste issue when saving.