hudson.util.HudsonFailedToLoad: java.lang.NullPointerException

Jenkins JIRA | Axel Behrens | 6 months ago
  1. 0

    After updating to 2.6 from 2.5 I'm getting the following NPE directly at startup: {noformat} hudson.util.HudsonFailedToLoad: java.lang.NullPointerException at hudson.WebAppMain$3.run(WebAppMain.java:244) Caused by: java.lang.NullPointerException at jenkins.install.InstallState.equals(InstallState.java:179) at jenkins.install.InstallUtil.proceedToNextStateFrom(InstallUtil.java:97) at jenkins.model.Jenkins.<init>(Jenkins.java:888) at hudson.model.Hudson.<init>(Hudson.java:85) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:227) {noformat} The stacktrace didn't suggest a particular plugin so I chose 'core' as component. Please correct if necessary. jenkins.err.log {noformat} Mai 30, 2016 7:23:10 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Logging initialized @470ms Mai 30, 2016 7:23:10 AM winstone.Logger logInternal INFO: Beginning extraction from war file Mai 30, 2016 7:23:14 AM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: Empty contextPath Mai 30, 2016 7:23:14 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: jetty-9.2.z-SNAPSHOT Mai 30, 2016 7:23:15 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet Mai 30, 2016 7:23:15 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started w.@1e3c1c7{/,file:/C:/Program%20Files%20(x86)/Jenkins/war/,AVAILABLE}{C:\Program Files (x86)\Jenkins\war} Mai 30, 2016 7:23:15 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started ServerConnector@19b0f9d{HTTP/1.1}{0.0.0.0:8080} Mai 30, 2016 7:23:15 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started @5203ms Mai 30, 2016 7:23:15 AM winstone.Logger logInternal INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled Mai 30, 2016 7:23:16 AM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization Mai 30, 2016 7:23:16 AM jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins Mai 30, 2016 7:23:18 AM jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins Mai 30, 2016 7:23:18 AM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error INFO: Failed to instantiate optional component org.jenkinsci.plugins.workflow.steps.scm.SubversionStep$DescriptorImpl; skipping Mai 30, 2016 7:23:19 AM jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins Mai 30, 2016 7:23:19 AM jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions Mai 30, 2016 7:23:19 AM jenkins.InitReactorRunner$1 onAttained INFO: Loaded all jobs Mai 30, 2016 7:23:19 AM hudson.model.AsyncPeriodicWork$1 run INFO: Started Download metadata Mai 30, 2016 7:23:19 AM hudson.model.AsyncPeriodicWork$1 run INFO: Finished Download metadata. 8 ms Mai 30, 2016 7:23:19 AM org.jenkinsci.main.modules.sshd.SSHD start INFO: Started SSHD at port 65097 Mai 30, 2016 7:23:19 AM jenkins.InitReactorRunner$1 onAttained INFO: Completed initialization Mai 30, 2016 7:23:19 AM hudson.util.BootFailure publish SEVERE: Failed to initialize Jenkins hudson.util.HudsonFailedToLoad: java.lang.NullPointerException at hudson.WebAppMain$3.run(WebAppMain.java:244) Caused by: java.lang.NullPointerException at jenkins.install.InstallState.equals(InstallState.java:179) at jenkins.install.InstallUtil.proceedToNextStateFrom(InstallUtil.java:97) at jenkins.model.Jenkins.<init>(Jenkins.java:888) at hudson.model.Hudson.<init>(Hudson.java:85) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:227) {noformat}

    Jenkins JIRA | 6 months ago | Axel Behrens
    hudson.util.HudsonFailedToLoad: java.lang.NullPointerException
  2. 0

    After updating to 2.6 from 2.5 I'm getting the following NPE directly at startup: {noformat} hudson.util.HudsonFailedToLoad: java.lang.NullPointerException at hudson.WebAppMain$3.run(WebAppMain.java:244) Caused by: java.lang.NullPointerException at jenkins.install.InstallState.equals(InstallState.java:179) at jenkins.install.InstallUtil.proceedToNextStateFrom(InstallUtil.java:97) at jenkins.model.Jenkins.<init>(Jenkins.java:888) at hudson.model.Hudson.<init>(Hudson.java:85) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:227) {noformat} The stacktrace didn't suggest a particular plugin so I chose 'core' as component. Please correct if necessary. jenkins.err.log {noformat} Mai 30, 2016 7:23:10 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Logging initialized @470ms Mai 30, 2016 7:23:10 AM winstone.Logger logInternal INFO: Beginning extraction from war file Mai 30, 2016 7:23:14 AM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: Empty contextPath Mai 30, 2016 7:23:14 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: jetty-9.2.z-SNAPSHOT Mai 30, 2016 7:23:15 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet Mai 30, 2016 7:23:15 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started w.@1e3c1c7{/,file:/C:/Program%20Files%20(x86)/Jenkins/war/,AVAILABLE}{C:\Program Files (x86)\Jenkins\war} Mai 30, 2016 7:23:15 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started ServerConnector@19b0f9d{HTTP/1.1}{0.0.0.0:8080} Mai 30, 2016 7:23:15 AM org.eclipse.jetty.util.log.JavaUtilLog info INFO: Started @5203ms Mai 30, 2016 7:23:15 AM winstone.Logger logInternal INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled Mai 30, 2016 7:23:16 AM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization Mai 30, 2016 7:23:16 AM jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins Mai 30, 2016 7:23:18 AM jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins Mai 30, 2016 7:23:18 AM hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error INFO: Failed to instantiate optional component org.jenkinsci.plugins.workflow.steps.scm.SubversionStep$DescriptorImpl; skipping Mai 30, 2016 7:23:19 AM jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins Mai 30, 2016 7:23:19 AM jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions Mai 30, 2016 7:23:19 AM jenkins.InitReactorRunner$1 onAttained INFO: Loaded all jobs Mai 30, 2016 7:23:19 AM hudson.model.AsyncPeriodicWork$1 run INFO: Started Download metadata Mai 30, 2016 7:23:19 AM hudson.model.AsyncPeriodicWork$1 run INFO: Finished Download metadata. 8 ms Mai 30, 2016 7:23:19 AM org.jenkinsci.main.modules.sshd.SSHD start INFO: Started SSHD at port 65097 Mai 30, 2016 7:23:19 AM jenkins.InitReactorRunner$1 onAttained INFO: Completed initialization Mai 30, 2016 7:23:19 AM hudson.util.BootFailure publish SEVERE: Failed to initialize Jenkins hudson.util.HudsonFailedToLoad: java.lang.NullPointerException at hudson.WebAppMain$3.run(WebAppMain.java:244) Caused by: java.lang.NullPointerException at jenkins.install.InstallState.equals(InstallState.java:179) at jenkins.install.InstallUtil.proceedToNextStateFrom(InstallUtil.java:97) at jenkins.model.Jenkins.<init>(Jenkins.java:888) at hudson.model.Hudson.<init>(Hudson.java:85) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:227) {noformat}

    Jenkins JIRA | 6 months ago | Axel Behrens
    hudson.util.HudsonFailedToLoad: 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 jenkins.install.InstallState.equals()
    2. jenkins.install
      InstallUtil.proceedToNextStateFrom
      1. jenkins.install.InstallState.equals(InstallState.java:179)
      2. jenkins.install.InstallUtil.proceedToNextStateFrom(InstallUtil.java:97)
      2 frames
    3. jenkins.model
      Jenkins.<init>
      1. jenkins.model.Jenkins.<init>(Jenkins.java:888)
      1 frame
    4. Hudson
      WebAppMain$3.run
      1. hudson.model.Hudson.<init>(Hudson.java:85)
      2. hudson.model.Hudson.<init>(Hudson.java:81)
      3. hudson.WebAppMain$3.run(WebAppMain.java:227)
      3 frames