Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-29199

Better logging regarding crowd.properties issue

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

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

      When JIRA does not have enough permission to read its own crowd.properties it will return the following stack trace:

      Caused by: java.lang.IllegalArgumentException: org.apache.commons.httpclient.URIException: URI-Reference required
      at com.atlassian.crowd.integration.rest.service.RestExecutor.<init>(RestExecutor.java:78)
      at com.atlassian.crowd.integration.rest.service.RestCrowdClient.<init>(RestCrowdClient.java:78)
      at com.atlassian.crowd.integration.rest.service.factory.RestCrowdClientFactory.newInstance(RestCrowdClientFactory.java:26)
      at com.atlassian.crowd.integration.rest.service.factory.RestCrowdHttpAuthenticationFactory.createInstance(RestCrowdHttpAuthenticationFactory.java:43)
      at com.atlassian.crowd.integration.rest.service.factory.RestCrowdHttpAuthenticationFactory.<clinit>(RestCrowdHttpAuthenticationFactory.java:21)
      Caused by: org.apache.commons.httpclient.URIException: URI-Reference required
      at org.apache.commons.httpclient.URI.parseUriReference(URI.java:1874)
      at org.apache.commons.httpclient.URI.<init>(URI.java:165)
      at com.atlassian.crowd.integration.rest.service.RestExecutor.<init>(RestExecutor.java:59)

      The above stack trace does not provide the necessary information to troubleshoot the issue as its only mentioned that the URL inputted in crowd.properties is incorrect which is not the case.

      JIRA should be able to log properly when it is unable to read into crowd.properties.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              scahyadiputra Septa Cahyadiputra (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: