java.lang.NullPointerException

Jenkins JIRA | Bruno Ribeiro da Silva | 5 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

    Exception when running Jenkins on Windows

    Stack Overflow | 5 years ago | Andrey Botalov
    java.lang.NullPointerException
  2. 0

    Jenkins update (from Hudson) on Debian broke my installation

    Google Groups | 6 years ago | Fabio
    java.lang.NullPointerException
  3. 0

    Hudson can't parse config.xml if it contains entities

    Google Groups | 6 years ago | Parag Doke
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    After deploy the new version of jenkins, I got an error while jenkins was starting, looking at catalina.out I got this: INFO: Deploying web application archive jenkins.war Jenkins home directory: /usr/home/jenkins found at: System.getProperty("JENKINS_HOME") Feb 7, 2012 9:43:56 AM org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: list: Listing contexts for virtual host 'localhost' Feb 7, 2012 9:43:57 AM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization Feb 7, 2012 9:43:57 AM jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins Feb 7, 2012 9:43:57 AM jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Feb 7, 2012 9:44:02 AM jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins Feb 7, 2012 9:44:02 AM jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions Feb 7, 2012 9:44:02 AM jenkins.InitReactorRunner$1 onAttained INFO: Loaded all jobs Feb 7, 2012 9:44:02 AM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed SSHD.init java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.InitializerFinder.invoke(InitializerFinder.java:124) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:812) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) ... 8 more Caused by: java.lang.NullPointerException at org.apache.mina.core.service.SimpleIoProcessorPool.dispose(SimpleIoProcessorPool.java:289) at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:229) at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:123) at org.apache.mina.core.polling.AbstractPollingIoAcceptor.<init>(AbstractPollingIoAcceptor.java:125) at org.apache.mina.transport.socket.nio.NioSocketAcceptor.<init>(NioSocketAcceptor.java:78) at org.apache.sshd.SshServer.createAcceptor(SshServer.java:392) at org.apache.sshd.SshServer.start(SshServer.java:338) at org.jenkinsci.main.modules.sshd.SSHD.start(SSHD.java:102) at org.jenkinsci.main.modules.sshd.SSHD.init(SSHD.java:133) ... 13 more Feb 7, 2012 9:44:02 AM hudson.WebAppMain$2 run SEVERE: Failed to initialize Jenkins org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246) at jenkins.InitReactorRunner.run(InitReactorRunner.java:43) at jenkins.model.Jenkins.executeReactor(Jenkins.java:823) at jenkins.model.Jenkins.<init>(Jenkins.java:735) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.model.Hudson.<init>(Hudson.java:77) at hudson.WebAppMain$2.run(WebAppMain.java:217) Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.InitializerFinder.invoke(InitializerFinder.java:124) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:812) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) ... 8 more Caused by: java.lang.NullPointerException at org.apache.mina.core.service.SimpleIoProcessorPool.dispose(SimpleIoProcessorPool.java:289) at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:229) at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:123) at org.apache.mina.core.polling.AbstractPollingIoAcceptor.<init>(AbstractPollingIoAcceptor.java:125) at org.apache.mina.transport.socket.nio.NioSocketAcceptor.<init>(NioSocketAcceptor.java:78) at org.apache.sshd.SshServer.createAcceptor(SshServer.java:392) at org.apache.sshd.SshServer.start(SshServer.java:338) at org.jenkinsci.main.modules.sshd.SSHD.start(SSHD.java:102) at org.jenkinsci.main.modules.sshd.SSHD.init(SSHD.java:133) ... 13 more Feb 7, 2012 9:44:02 AM org.jenkinsci.main.modules.sshd.ItemListenerImpl onBeforeShutdown WARNING: Failed to shutdown SSHD java.lang.NullPointerException at org.apache.sshd.SshServer.stop(SshServer.java:362) at org.jenkinsci.main.modules.sshd.SSHD.stop(SSHD.java:116) at org.jenkinsci.main.modules.sshd.ItemListenerImpl.onBeforeShutdown(ItemListenerImpl.java:20) at jenkins.model.Jenkins.cleanUp(Jenkins.java:2449) at hudson.WebAppMain$2.run(WebAppMain.java:242) Feb 7, 2012 9:44:02 AM hudson.PluginWrapper stop INFO: Stopping ant Feb 7, 2012 9:44:02 AM hudson.PluginWrapper stop INFO: Stopping javadoc Feb 7, 2012 9:44:02 AM hudson.PluginWrapper stop INFO: Stopping git Feb 7, 2012 9:44:02 AM hudson.PluginWrapper stop INFO: Stopping xunit Feb 7, 2012 9:44:02 AM hudson.PluginWrapper stop INFO: Stopping translation Feb 7, 2012 9:44:02 AM hudson.PluginWrapper stop INFO: Stopping ssh-slaves Feb 7, 2012 9:44:02 AM hudson.PluginWrapper stop INFO: Stopping cvs Feb 7, 2012 9:44:02 AM hudson.PluginWrapper stop INFO: Stopping maven-plugin Feb 7, 2012 9:44:02 AM hudson.PluginWrapper stop INFO: Stopping subversion Exception in thread "pool-9-thread-2" java.lang.NullPointerException at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:191) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Now I can't get into my jenkins. Any help would be appreciated! Thanks!

    Jenkins JIRA | 5 years ago | Bruno Ribeiro da Silva
    java.lang.NullPointerException
  6. 0

    After deploy the new version of jenkins, I got an error while jenkins was starting, looking at catalina.out I got this: INFO: Deploying web application archive jenkins.war Jenkins home directory: /usr/home/jenkins found at: System.getProperty("JENKINS_HOME") Feb 7, 2012 9:43:56 AM org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: list: Listing contexts for virtual host 'localhost' Feb 7, 2012 9:43:57 AM jenkins.InitReactorRunner$1 onAttained INFO: Started initialization Feb 7, 2012 9:43:57 AM jenkins.InitReactorRunner$1 onAttained INFO: Listed all plugins Feb 7, 2012 9:43:57 AM jenkins.InitReactorRunner$1 onAttained INFO: Prepared all plugins SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. Feb 7, 2012 9:44:02 AM jenkins.InitReactorRunner$1 onAttained INFO: Started all plugins Feb 7, 2012 9:44:02 AM jenkins.InitReactorRunner$1 onAttained INFO: Augmented all extensions Feb 7, 2012 9:44:02 AM jenkins.InitReactorRunner$1 onAttained INFO: Loaded all jobs Feb 7, 2012 9:44:02 AM jenkins.InitReactorRunner$1 onTaskFailed SEVERE: Failed SSHD.init java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.InitializerFinder.invoke(InitializerFinder.java:124) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:812) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) ... 8 more Caused by: java.lang.NullPointerException at org.apache.mina.core.service.SimpleIoProcessorPool.dispose(SimpleIoProcessorPool.java:289) at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:229) at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:123) at org.apache.mina.core.polling.AbstractPollingIoAcceptor.<init>(AbstractPollingIoAcceptor.java:125) at org.apache.mina.transport.socket.nio.NioSocketAcceptor.<init>(NioSocketAcceptor.java:78) at org.apache.sshd.SshServer.createAcceptor(SshServer.java:392) at org.apache.sshd.SshServer.start(SshServer.java:338) at org.jenkinsci.main.modules.sshd.SSHD.start(SSHD.java:102) at org.jenkinsci.main.modules.sshd.SSHD.init(SSHD.java:133) ... 13 more Feb 7, 2012 9:44:02 AM hudson.WebAppMain$2 run SEVERE: Failed to initialize Jenkins org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:246) at jenkins.InitReactorRunner.run(InitReactorRunner.java:43) at jenkins.model.Jenkins.executeReactor(Jenkins.java:823) at jenkins.model.Jenkins.<init>(Jenkins.java:735) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.model.Hudson.<init>(Hudson.java:77) at hudson.WebAppMain$2.run(WebAppMain.java:217) Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException at hudson.init.InitializerFinder.invoke(InitializerFinder.java:124) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:812) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) ... 8 more Caused by: java.lang.NullPointerException at org.apache.mina.core.service.SimpleIoProcessorPool.dispose(SimpleIoProcessorPool.java:289) at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:229) at org.apache.mina.core.service.SimpleIoProcessorPool.<init>(SimpleIoProcessorPool.java:123) at org.apache.mina.core.polling.AbstractPollingIoAcceptor.<init>(AbstractPollingIoAcceptor.java:125) at org.apache.mina.transport.socket.nio.NioSocketAcceptor.<init>(NioSocketAcceptor.java:78) at org.apache.sshd.SshServer.createAcceptor(SshServer.java:392) at org.apache.sshd.SshServer.start(SshServer.java:338) at org.jenkinsci.main.modules.sshd.SSHD.start(SSHD.java:102) at org.jenkinsci.main.modules.sshd.SSHD.init(SSHD.java:133) ... 13 more Feb 7, 2012 9:44:02 AM org.jenkinsci.main.modules.sshd.ItemListenerImpl onBeforeShutdown WARNING: Failed to shutdown SSHD java.lang.NullPointerException at org.apache.sshd.SshServer.stop(SshServer.java:362) at org.jenkinsci.main.modules.sshd.SSHD.stop(SSHD.java:116) at org.jenkinsci.main.modules.sshd.ItemListenerImpl.onBeforeShutdown(ItemListenerImpl.java:20) at jenkins.model.Jenkins.cleanUp(Jenkins.java:2449) at hudson.WebAppMain$2.run(WebAppMain.java:242) Feb 7, 2012 9:44:02 AM hudson.PluginWrapper stop INFO: Stopping ant Feb 7, 2012 9:44:02 AM hudson.PluginWrapper stop INFO: Stopping javadoc Feb 7, 2012 9:44:02 AM hudson.PluginWrapper stop INFO: Stopping git Feb 7, 2012 9:44:02 AM hudson.PluginWrapper stop INFO: Stopping xunit Feb 7, 2012 9:44:02 AM hudson.PluginWrapper stop INFO: Stopping translation Feb 7, 2012 9:44:02 AM hudson.PluginWrapper stop INFO: Stopping ssh-slaves Feb 7, 2012 9:44:02 AM hudson.PluginWrapper stop INFO: Stopping cvs Feb 7, 2012 9:44:02 AM hudson.PluginWrapper stop INFO: Stopping maven-plugin Feb 7, 2012 9:44:02 AM hudson.PluginWrapper stop INFO: Stopping subversion Exception in thread "pool-9-thread-2" java.lang.NullPointerException at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:191) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Now I can't get into my jenkins. Any help would be appreciated! Thanks!

    Jenkins JIRA | 5 years ago | Bruno Ribeiro da Silva
    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 org.jvnet.hudson.reactor.Reactor$2.run()
    2. init
      Reactor$Node.run
      1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:191)
      2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
      2 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames