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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Medium
    • Component/s: None
    • None
    • 1

      NOTE: This bug report is for JIRA Cloud. Using JIRA Server? 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

            Assignee:
            Unassigned
            Reporter:
            Thiago Fagundes Prisco [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: