java.lang.NullPointerException

Atlassian JIRA | Jeff Turner | 1 decade ago
  1. 0

    Various people have reported seeing a velocity error repeated in their logs: {noformat} 05/12/27 04:30:10 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initialized 2005-12-27 07:28:39,437 INFO [atlassian.jira.upgrade.ConsistencyCheckImpl] Starting JIRA Enterprise Edition, Version: 3.4.2-#108 2005-12-27 07:28:39,459 INFO [atlassian.jira.upgrade.ConsistencyCheckImpl] Configured to use database: oracle10g 2005-12-27 07:28:39,552 INFO [atlassian.jira.upgrade.ConsistencyCheckImpl] ***************************************************************************************************** JIRA 3.4.2 build: 108 (Enterprise Edition) started. You can now access JIRA through your web browser. ***************************************************************************************************** 2005-12-27 07:28:40,413 [webwork.dispatcher.ServletDispatcher] Unable to find 'webwork.multipart.saveDir' property setting. Defaulting to javax.servlet.context.tempdir 05/12/27 07:28:40 [Filter: profiling] Using parameter [jira_profile] 05/12/27 07:28:40 [Filter: profiling] defaulting to off [autostart=false] 05/12/27 07:28:40 [Filter: profiling] Turning filter off [jira_profile=off] 2005-12-27 09:37:32,004 WARN [atlassian.jira.plugin.JiraResourcedModuleDescriptor] Error occurred adding velicty params to template. All properties may not be available java.lang.NullPointerException 2005-12-27 09:37:32,117 WARN [atlassian.jira.plugin.JiraResourcedModuleDescriptor] Error occurred adding velicty params to template. All properties may not be available java.lang.NullPointerException 2005-12-27 11:13:00,572 WARN [atlassian.jira.plugin.JiraResourcedModuleDescriptor] Error occurred adding velicty params to template. All properties may not be available java.lang.NullPointerException 2005-12-27 11:13:40,204 WARN [atlassian.jira.plugin.JiraResourcedModuleDescriptor] Error occurred adding velicty params to template. All properties may not be available java.lang.NullPointerException ...... {noformat} and (using Tomcat 4.1.30): {noformat} 2005-12-29 11:22:43,804 WARN [atlassian.jira.plugin.JiraResourcedModuleDescriptor] Error occurred adding velicty params to template. All properties may not be available java.lang.NullPointerException at org.apache.coyote.tomcat4.CoyoteRequestFacade.getContextPath(CoyoteRequestFacade.java:268) at javax.servlet.http.HttpServletRequestWrapper.getContextPath(HttpServletRequestWrapper.java:139) at javax.servlet.http.HttpServletRequestWrapper.getContextPath(HttpServletRequestWrapper.java:139) at javax.servlet.http.HttpServletRequestWrapper.getContextPath(HttpServletRequestWrapper.java:139) at com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.getDefaultVelocityParams(JiraResourcedModuleDescriptor.java:181) at com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.createVelocityParams(JiraResourcedModuleDescriptor.java:155) at com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.getHtml(JiraResourcedModuleDescriptor.java:84) at com.atlassian.jira.plugin.renderer.JiraRendererModuleDescriptor.getCss(JiraRendererModuleDescriptor.java:63) at org.apache.jsp.global_css_jsp._jspService(global_css_jsp.java:86) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92) at javax.servlet.http.HttpServlet.service(HttpServlet.java:809) {noformat} and (using Resin 3.0.14): {noformat} 2006-01-06 14:16:18,146 WARN [atlassian.jira.plugin.JiraResourcedModuleDescriptor] Error occurred adding velicty params to template. All properties may not be available java.lang.NullPointerException at com.caucho.server.connection.AbstractHttpRequest.getContextPath()Ljava/lang/String;(AbstractHttpRequest.java:457) at javax.servlet.http.HttpServletRequestWrapper.getContextPath()Ljava/lang/String;(HttpServletRequestWrapper.java:108) at javax.servlet.http.HttpServletRequestWrapper.getContextPath()Ljava/lang/String;(HttpServletRequestWrapper.java:108) at javax.servlet.http.HttpServletRequestWrapper.getContextPath()Ljava/lang/String;(HttpServletRequestWrapper.java:108) at com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.getDefaultVelocityParams(Ljava/util/Map;Lcom/atlassian/jira/security/JiraAuthenticationContext;)Ljava/util/Map;(JiraResourcedModuleDescriptor.java:181) at com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.createVelocityParams(Ljava/util/Map;)Ljava/util/Map;(JiraResourcedModuleDescriptor.java:155) at com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.getHtml(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;(JiraResourcedModuleDescriptor.java:84) at com.atlassian.jira.plugin.renderer.JiraRendererModuleDescriptor.getCss()Ljava/lang/String;(JiraRendererModuleDescriptor.java:63) at _jsp._styles._global_0css__jsp._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(_global_0css__jsp.java:64) at com.caucho.jsp.JavaPage.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(Optimized Method) {noformat} This error does not appear to cause visible problems (it's a CSS stylesheet breaking). It seems to be quite hard to replicate, possibly involving plugin classloaders.

    Atlassian JIRA | 1 decade ago | Jeff Turner
    java.lang.NullPointerException
  2. 0

    Various people have reported seeing a velocity error repeated in their logs: {noformat} 05/12/27 04:30:10 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initialized 2005-12-27 07:28:39,437 INFO [atlassian.jira.upgrade.ConsistencyCheckImpl] Starting JIRA Enterprise Edition, Version: 3.4.2-#108 2005-12-27 07:28:39,459 INFO [atlassian.jira.upgrade.ConsistencyCheckImpl] Configured to use database: oracle10g 2005-12-27 07:28:39,552 INFO [atlassian.jira.upgrade.ConsistencyCheckImpl] ***************************************************************************************************** JIRA 3.4.2 build: 108 (Enterprise Edition) started. You can now access JIRA through your web browser. ***************************************************************************************************** 2005-12-27 07:28:40,413 [webwork.dispatcher.ServletDispatcher] Unable to find 'webwork.multipart.saveDir' property setting. Defaulting to javax.servlet.context.tempdir 05/12/27 07:28:40 [Filter: profiling] Using parameter [jira_profile] 05/12/27 07:28:40 [Filter: profiling] defaulting to off [autostart=false] 05/12/27 07:28:40 [Filter: profiling] Turning filter off [jira_profile=off] 2005-12-27 09:37:32,004 WARN [atlassian.jira.plugin.JiraResourcedModuleDescriptor] Error occurred adding velicty params to template. All properties may not be available java.lang.NullPointerException 2005-12-27 09:37:32,117 WARN [atlassian.jira.plugin.JiraResourcedModuleDescriptor] Error occurred adding velicty params to template. All properties may not be available java.lang.NullPointerException 2005-12-27 11:13:00,572 WARN [atlassian.jira.plugin.JiraResourcedModuleDescriptor] Error occurred adding velicty params to template. All properties may not be available java.lang.NullPointerException 2005-12-27 11:13:40,204 WARN [atlassian.jira.plugin.JiraResourcedModuleDescriptor] Error occurred adding velicty params to template. All properties may not be available java.lang.NullPointerException ...... {noformat} and (using Tomcat 4.1.30): {noformat} 2005-12-29 11:22:43,804 WARN [atlassian.jira.plugin.JiraResourcedModuleDescriptor] Error occurred adding velicty params to template. All properties may not be available java.lang.NullPointerException at org.apache.coyote.tomcat4.CoyoteRequestFacade.getContextPath(CoyoteRequestFacade.java:268) at javax.servlet.http.HttpServletRequestWrapper.getContextPath(HttpServletRequestWrapper.java:139) at javax.servlet.http.HttpServletRequestWrapper.getContextPath(HttpServletRequestWrapper.java:139) at javax.servlet.http.HttpServletRequestWrapper.getContextPath(HttpServletRequestWrapper.java:139) at com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.getDefaultVelocityParams(JiraResourcedModuleDescriptor.java:181) at com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.createVelocityParams(JiraResourcedModuleDescriptor.java:155) at com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.getHtml(JiraResourcedModuleDescriptor.java:84) at com.atlassian.jira.plugin.renderer.JiraRendererModuleDescriptor.getCss(JiraRendererModuleDescriptor.java:63) at org.apache.jsp.global_css_jsp._jspService(global_css_jsp.java:86) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92) at javax.servlet.http.HttpServlet.service(HttpServlet.java:809) {noformat} and (using Resin 3.0.14): {noformat} 2006-01-06 14:16:18,146 WARN [atlassian.jira.plugin.JiraResourcedModuleDescriptor] Error occurred adding velicty params to template. All properties may not be available java.lang.NullPointerException at com.caucho.server.connection.AbstractHttpRequest.getContextPath()Ljava/lang/String;(AbstractHttpRequest.java:457) at javax.servlet.http.HttpServletRequestWrapper.getContextPath()Ljava/lang/String;(HttpServletRequestWrapper.java:108) at javax.servlet.http.HttpServletRequestWrapper.getContextPath()Ljava/lang/String;(HttpServletRequestWrapper.java:108) at javax.servlet.http.HttpServletRequestWrapper.getContextPath()Ljava/lang/String;(HttpServletRequestWrapper.java:108) at com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.getDefaultVelocityParams(Ljava/util/Map;Lcom/atlassian/jira/security/JiraAuthenticationContext;)Ljava/util/Map;(JiraResourcedModuleDescriptor.java:181) at com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.createVelocityParams(Ljava/util/Map;)Ljava/util/Map;(JiraResourcedModuleDescriptor.java:155) at com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.getHtml(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;(JiraResourcedModuleDescriptor.java:84) at com.atlassian.jira.plugin.renderer.JiraRendererModuleDescriptor.getCss()Ljava/lang/String;(JiraRendererModuleDescriptor.java:63) at _jsp._styles._global_0css__jsp._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V(_global_0css__jsp.java:64) at com.caucho.jsp.JavaPage.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V(Optimized Method) {noformat} This error does not appear to cause visible problems (it's a CSS stylesheet breaking). It seems to be quite hard to replicate, possibly involving plugin classloaders.

    Atlassian JIRA | 1 decade ago | Jeff Turner
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.apache.coyote.tomcat4.CoyoteRequestFacade.getContextPath()
    2. org.apache.coyote
      CoyoteRequestFacade.getContextPath
      1. org.apache.coyote.tomcat4.CoyoteRequestFacade.getContextPath(CoyoteRequestFacade.java:268)
      1 frame
    3. JavaServlet
      HttpServletRequestWrapper.getContextPath
      1. javax.servlet.http.HttpServletRequestWrapper.getContextPath(HttpServletRequestWrapper.java:139)
      2. javax.servlet.http.HttpServletRequestWrapper.getContextPath(HttpServletRequestWrapper.java:139)
      3. javax.servlet.http.HttpServletRequestWrapper.getContextPath(HttpServletRequestWrapper.java:139)
      3 frames
    4. com.atlassian.jira
      JiraRendererModuleDescriptor.getCss
      1. com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.getDefaultVelocityParams(JiraResourcedModuleDescriptor.java:181)
      2. com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.createVelocityParams(JiraResourcedModuleDescriptor.java:155)
      3. com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.getHtml(JiraResourcedModuleDescriptor.java:84)
      4. com.atlassian.jira.plugin.renderer.JiraRendererModuleDescriptor.getCss(JiraRendererModuleDescriptor.java:63)
      4 frames
    5. org.apache.jsp
      global_css_jsp._jspService
      1. org.apache.jsp.global_css_jsp._jspService(global_css_jsp.java:86)
      1 frame
    6. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92)
      1 frame
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
      1 frame