java.lang.NullPointerException

Google Groups | ketan...@yahoo.com (JIRA) | 3 months ago
  1. 0

    Jenkins Fails to Start

    Stack Overflow | 2 years ago | max
    java.lang.NullPointerException
  2. 0

    Jenkins is failing to start

    Stack Overflow | 7 months ago | senordev
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    [JIRA] (JENKINS-38261) 503 error Service not available after installin AnsiColor+Plugin

    Google Groups | 3 months ago | ketan...@yahoo.com (JIRA)
    java.lang.NullPointerException
  5. 0

    After installing Ansicolor-plugin and restarting Jenkins I get a 503 error and Jenkins will not start up. Here is the error log: Sep 15, 2016 12:28:33 PM hudson.model.UpdateCenter$UpdateCenterConfiguration download INFO: Downloading AnsiColor Sep 15, 2016 12:28:33 PM hudson.PluginManager dynamicLoad INFO: Attempting to dynamic load /data/jenkins/plugins/ansicolor.jpi Sep 15, 2016 12:28:33 PM hudson.plugins.ansicolor.PluginImpl start INFO: AnsiColor: eliminating boring output (https://github.com/dblock/jenkins-ansicolor-plugin) Sep 15, 2016 12:28:34 PM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization Sep 15, 2016 12:28:34 PM jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins Sep 15, 2016 12:28:34 PM jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins Sep 15, 2016 12:28:34 PM jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins Sep 15, 2016 12:28:34 PM jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions Sep 15, 2016 12:28:34 PM jenkins.InitReactorRunner$1 onAttained INFO: Loaded all jobs Sep 15, 2016 12:28:34 PM jenkins.InitReactorRunner$1 onAttained INFO: Completed initialization Sep 15, 2016 12:28:34 PM hudson.PluginManager dynamicLoad INFO: Plugin ansicolor dynamically installed Sep 15, 2016 12:28:34 PM hudson.model.UpdateCenter$DownloadJob run INFO: Installation successful: AnsiColor Sep 15, 2016 12:28:34 PM jenkins.model.Jenkins$24 run INFO: Restart in 10 seconds Sep 15, 2016 12:28:44 PM jenkins.model.Jenkins$24 run SEVERE: Restarting VM as requested by anonymous Running from: /usr/lib/jenkins/jenkins.war Sep 15, 2016 12:28:45 PM winstone.Logger logInternal INFO: Beginning extraction from war file Sep 15, 2016 12:28:45 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: jetty-8.y.z-SNAPSHOT Sep 15, 2016 12:28:48 PM org.eclipse.jetty.util.log.JavaUtilLog info INFO: NO JSP Support for /jenkins, did not find org.apache.jasper.servlet.JspServlet Jenkins home directory: /data/jenkins found at: System.getProperty("JENKINS_HOME") Sep 15, 2016 12:28:49 PM hudson.util.BootFailure publish SEVERE: Failed to initialize Jenkins hudson.util.AWTProblem: java.lang.NullPointerException at hudson.WebAppMain.contextInitialized(WebAppMain.java:182) at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782) at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424) at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.Server.doStart(Server.java:282) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at winstone.Launcher.<init>(Launcher.java:154) at winstone.Launcher.main(Launcher.java:354) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) at Main._main(Main.java:293) at Main.main(Main.java:98) Caused by: java.lang.NullPointerException at sun.font.FontManager.getDefaultPlatformFont(FontManager.java:3409) at sun.java2d.SunGraphicsEnvironment$2.run(SunGraphicsEnvironment.java:263) at java.security.AccessController.doPrivileged(Native Method) at sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:164) at sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java:254) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:534) at java.lang.Class.newInstance(Class.java:379) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82) at sun.font.FontManager.initSGEnv(FontManager.java:1121) at sun.font.FontManager.findFont2D(FontManager.java:1876) at java.awt.Font.getFont2D(Font.java:477) at java.awt.Font.getFamily(Font.java:1198) at java.awt.Font.getFamily_NoClientCode(Font.java:1172) at java.awt.Font.getFamily(Font.java:1164) at java.awt.Font.toString(Font.java:1661) at hudson.util.ChartUtil.<clinit>(ChartUtil.java:229) at hudson.WebAppMain.contextInitialized(WebAppMain.java:181) ... 19 more Sep 15, 2016 12:28:49 PM org.eclipse.jetty.util.log.JavaUtilLog warn WARNING: Failed startup of context w.{/jenkins,file:/var/cache/jenkins/war/},/var/cache/jenkins/war java.lang.NullPointerException at jenkins.util.groovy.GroovyHookScript.run(GroovyHookScript.java:63) at hudson.util.BootFailure.publish(BootFailure.java:43) at hudson.WebAppMain.contextInitialized(WebAppMain.java:244) at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782) at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424) at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95) at org.eclipse.jetty.server.Server.doStart(Server.java:282) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at winstone.Launcher.<init>(Launcher.java:154) at winstone.Launcher.main(Launcher.java:354) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) at Main._main(Main.java:293) at Main.main(Main.java:98)

    Jenkins JIRA | 3 months ago | Ketan Desai
    java.lang.NullPointerException

    1 unregistered visitors
    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.util.groovy.GroovyHookScript.run()
    2. jenkins.util.groovy
      GroovyHookScript.run
      1. jenkins.util.groovy.GroovyHookScript.run(GroovyHookScript.java:63)
      1 frame
    3. Hudson
      WebAppMain.contextInitialized
      1. hudson.util.BootFailure.publish(BootFailure.java:43)
      2. hudson.WebAppMain.contextInitialized(WebAppMain.java:244)
      2 frames
    4. Jetty
      AbstractLifeCycle.start
      1. org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:782)
      2. org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:424)
      3. org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:774)
      4. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:249)
      5. org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)
      6. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
      7. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
      8. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      9. org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
      10. org.eclipse.jetty.server.Server.doStart(Server.java:282)
      11. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
      11 frames