java.lang.NullPointerException

Atlassian JIRA | Rey Chooi [Atlassian] | 3 months ago
  1. 0

    h3. Summary After a fresh installation of JIRA during the first few seconds of startup, if the base URL is requested with endpoint "/secure/SetupMode!default.jspa", JIRA breaks with below error and ends in a page showing JIRA Internal Error. {code} 2016-09-09 21:47:45,116 JIRA-Bootstrap INFO [c.a.plugin.manager.DefaultPluginManager] Plugin system earlyStartup begun 2016-09-09 21:47:45,524 http-nio-8081-exec-2 ERROR [o.a.c.c.C.[.[localhost].[/jira7try].[action]] Servlet.service() for servlet [action] in context with path [/jira7try] threw exception [Servlet execution threw an exception] with root cause java.lang.NoClassDefFoundError: Could not initialize class webwork.dispatcher.GenericDispatcher at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.prepareDispatcher(JiraWebworkActionDispatcher.java:199) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:136) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) ... 46 filtered at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:76) ... 1 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:74) ... 27 filtered at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30) ... 26 filtered at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25) ... 27 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) 2016-09-09 21:47:45,524 http-nio-8081-exec-1 ERROR [o.a.c.c.C.[.[localhost].[/jira7try].[action]] Servlet.service() for servlet [action] in context with path [/jira7try] threw exception [Servlet execution threw an exception] with root cause java.lang.NoClassDefFoundError: Could not initialize class webwork.dispatcher.GenericDispatcher at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.prepareDispatcher(JiraWebworkActionDispatcher.java:199) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:136) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) ... 46 filtered at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:76) ... 1 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:74) ... 27 filtered at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30) ... 26 filtered at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25) ... 27 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) 2016-09-09 21:47:45,524 http-nio-8081-exec-4 ERROR [o.a.c.c.C.[.[localhost].[/jira7try].[action]] Servlet.service() for servlet [action] in context with path [/jira7try] threw exception [Servlet execution threw an exception] with root cause java.lang.NullPointerException at com.atlassian.jira.config.webwork.DelegatingConfiguration.getImpl(DelegatingConfiguration.java:26) at webwork.config.Configuration.get(Configuration.java:44) at webwork.config.Configuration.getString(Configuration.java:54) at webwork.dispatcher.GenericDispatcher.<clinit>(GenericDispatcher.java:43) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.prepareDispatcher(JiraWebworkActionDispatcher.java:199) ... 1 filtered at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) ... 48 filtered at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:76) ... 1 filtered at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:74) ... 27 filtered at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30) ... 26 filtered at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25) ... 27 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) 2016-09-09 21:47:45,733 http-nio-8081-exec-2 INFO - [c.a.j.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /home/rey/jira/jira7try/jirahome/dbconfig.xml 2016-09-09 21:47:45,735 http-nio-8081-exec-4 INFO - [c.a.j.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /home/rey/jira/jira7try/jirahome/dbconfig.xml 2016-09-09 21:47:45,740 http-nio-8081-exec-1 INFO - [c.a.j.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /home/rey/jira/jira7try/jirahome/dbconfig.xml 2016-09-09 21:47:45,750 http-nio-8081-exec-4 INFO - [c.a.j.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /home/rey/jira/jira7try/jirahome/dbconfig.xml 2016-09-09 21:47:45,770 http-nio-8081-exec-2 INFO - [c.a.j.config.database.SystemDatabaseConfigurationLoader] Reading database configuration from /home/rey/jira/jira7try/jirahome/dbconfig.xml 2016-09-09 21:47:45,776 http-nio-8081-exec-4 ERROR - [500ErrorPage.f948c1af-6e5c-4dc3-9ab6-5c3c77563506] Cannot render the 500 page java.lang.NullPointerException {code} h3. Steps to Reproduce # Install any JIRA. # Start JIRA and request URL using {{//localhost:PORT/secure/SetupMode!default.jspa}} several times right after startup. h3. Expected Results JIRA should start up normally and load up the page for Setup Wizard. h3. Actual Results JIRA throws an internal server error. !screenshot-1.png|thumbnail! h3.Workaround Omit the use of endpoint "/secure/SetupMode!default.jspa" when requesting the URL.

    Atlassian JIRA | 3 months ago | Rey Chooi [Atlassian]
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  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

    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 com.atlassian.jira.config.webwork.DelegatingConfiguration.getImpl()
    2. com.atlassian.jira
      DelegatingConfiguration.getImpl
      1. com.atlassian.jira.config.webwork.DelegatingConfiguration.getImpl(DelegatingConfiguration.java:26)
      1 frame
    3. webwork.config
      Configuration.getString
      1. webwork.config.Configuration.get(Configuration.java:44)
      2. webwork.config.Configuration.getString(Configuration.java:54)
      2 frames
    4. webwork.dispatcher
      GenericDispatcher.<clinit>
      1. webwork.dispatcher.GenericDispatcher.<clinit>(GenericDispatcher.java:43)
      1 frame
    5. com.atlassian.jira
      JiraWebworkActionDispatcher.prepareDispatcher
      1. com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.prepareDispatcher(JiraWebworkActionDispatcher.java:199)
      1 frame