java.lang.NullPointerException

Atlassian JIRA | Chin Kim Loong | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    *Steps to reproduce the problem*: # Setup a Apache reverse proxy by referring the [guideline|https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apache]. # Add the following parameter in the proxy configuration (such as {{httpd.conf, httpd-vhosts.conf or jira.conf}}): {code} RequestHeader add Origin "Intranet" {code} # Save it and restart apache. # Login JIRA as an admin user. # 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: {code} 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) {code} {code} 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 {code} {code} 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 {code} {code} 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 {code} # Chrome console will get this error message: {code} GET http://jira.johnchin.com/rest/api/1.0/menus/find_link?inAdminMode=true&_=1440600012553 500 (Internal Server Error) {code} *Finding* * Viewing issue screen is possible. * Access Administration is possible. * Open a new tab for JIRA menu is possible instead of clicking it.

    Atlassian JIRA | 2 years ago | John Chin Kim Loong [Atlassian]
    java.lang.NullPointerException
  2. 0

    *Steps to reproduce the problem*: # Setup a Apache reverse proxy by referring the [guideline|https://confluence.atlassian.com/display/JIRA/Integrating+JIRA+with+Apache]. # Add the following parameter in the proxy configuration (such as {{httpd.conf, httpd-vhosts.conf or jira.conf}}): {code} RequestHeader add Origin "Intranet" {code} # Save it and restart apache. # Login JIRA as an admin user. # 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: {code} 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) {code} {code} 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 {code} {code} 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 {code} {code} 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 {code} # Chrome console will get this error message: {code} GET http://jira.johnchin.com/rest/api/1.0/menus/find_link?inAdminMode=true&_=1440600012553 500 (Internal Server Error) {code} *Finding* * Viewing issue screen is possible. * Access Administration is possible. * Open a new tab for JIRA menu is possible instead of clicking it.

    Atlassian JIRA | 2 years ago | Chin Kim Loong
    java.lang.NullPointerException

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.healthcheck.core.security.HealthCheckCorsDefaults.allowsOrigin()
    2. com.atlassian.healthcheck
      HealthCheckCorsDefaults.allowsOrigin
      1. com.atlassian.healthcheck.core.security.HealthCheckCorsDefaults.allowsOrigin(HealthCheckCorsDefaults.java:27)
      1 frame