Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-25728

jira-config.properties file prevents logging in if there is any space after a parameter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • None
    • None
    • None

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Hello,

      The bug is really straight-forward to reproduce:

      • edit (or create, if the file hasn't been created yet) the jira-config.properties file
      • after any parameter, like this one:
        jira.importid.prefix=unconfigured
        jira.websudo.timeout=10
        

        So, in the code above, pasting a space character after the first parameter, JIRA works normally. However, putting a space after the second one (10), JIRA will not allow users to login, and throws this stacktrace on the screen:

        java.lang.RuntimeException: org.apache.jasper.JasperException: java.lang.NumberFormatException: For input string: "10 "
        

      The workaround is remove the space makes JIRA work normally. Apparently, JIRA is having a hard time figuring out spaces after non-string parameters.

      I hope this was all the info necessary to troubleshoot this.

      Cheers
      Thiago Prisco

              Unassigned Unassigned
              tfprisco Thiago Fagundes Prisco [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: