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

JIRA menus will be broken after added a request header in the Apache configuration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Low
    • None
    • 6.4.10
    • None

    Description

      Steps to reproduce the problem:

      1. Setup a Apache reverse proxy by referring the guideline.
      2. Add the following parameter in the proxy configuration (such as httpd.conf, httpd-vhosts.conf or jira.conf):
        RequestHeader add Origin "Intranet"
        
      3. Save it and restart apache.
      4. Login JIRA as an admin user.
      5. Click on the Dashboards, Projects and Issues menu and it won't worked or shown any drop down list. In the atlassian-jira.log is showing this error message:
        2015-08-26 22:26:42,946 http-bio-8650-exec-4 ERROR admin 1346x955x2 1w8pq8h 10.60.3.43,10.60.3.43 /rest/api/1.0/shortcuts/64025/b6071a268bec876a896a0457774ff9f7/shortcuts.js [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: null
        java.lang.NullPointerException
        	at com.atlassian.healthcheck.core.security.HealthCheckCorsDefaults.allowsOrigin(HealthCheckCorsDefaults.java:27)
        
        2015-08-26 22:26:48,098 http-bio-8650-exec-7 ERROR admin 1346x1076x1 1w8pq8h 10.60.3.43,10.60.3.43 /rest/api/1.0/menus/find_link [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: null
        
        2015-08-26 22:26:49,739 http-bio-8650-exec-11 ERROR admin 1346x1080x1 1w8pq8h 10.60.3.43,10.60.3.43 /rest/api/1.0/menus/browse_link [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: null
        
        2015-08-26 22:26:52,891 http-bio-8650-exec-24 ERROR admin 1346x1210x1 1w8pq8h 10.60.3.43,10.60.3.43 /rest/api/2/filter/favourite [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: null
        
      6. Chrome console will get this error message:
        GET http://jira.johnchin.com/rest/api/1.0/menus/find_link?inAdminMode=true&_=1440600012553 500 (Internal Server Error)
        

      Finding

      • Viewing issue screen is possible.
      • Access Administration is possible.
      • Open a new tab for JIRA menu is possible instead of clicking it.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ckimloong John Chin
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: