-
Bug
-
Resolution: Fixed
-
Low
-
7.1.8, 7.2.1, 8.3.4
-
7.01
-
12
-
Severity 3 - Minor
-
1
-
Summary
JIRA doesn't trim spaces from values in jira-config.properties file
Steps to Reproduce
- Create line with space in the end:
jira.index.issue.threads = 20
Expected Results
It works fine.
Actual Results
The below exception is thrown in the xxxxxxx.log file:
2016-11-09 12:12:28,777 JiraTaskExectionThread-2 ERROR admin 731x1190x1 5mr8iq 127.0.0.1 /secure/admin/IndexReIndex.jspa [c.a.j.config.properties.PropertiesUtil] Exception whilst trying to find value for property 'jira.index.issue.threads'. Defaulting to 20. java.lang.NumberFormatException: For input string: "20 "
Workaround
Check config file and delete spaces:
sed 's/[ ]$//' jira-config.properties > jira-config.properties
- relates to
-
JRASERVER-66108 cluster.properties does not trim trailing white space in paths
- In Progress
-
JRASERVER-70706 Jira Data Center clustering features might be only partially enabled if non-breaking spaces are present in cluster.properties
- Closed
-
JRASERVER-67243 As an JIRA Datacenter Administrator I want to trim all spaces in the cluster.properties file
- Gathering Interest