java.lang.NullPointerException

Jenkins JIRA | Bruno Ribeiro da Silva | 5 years ago
  1. 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
  2. 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
  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.sshd.SshServer.stop()
    2. Apache Mina SSHD :: Core
      SshServer.stop
      1. org.apache.sshd.SshServer.stop(SshServer.java:362)
      1 frame
    3. org.jenkinsci.main
      ItemListenerImpl.onBeforeShutdown
      1. org.jenkinsci.main.modules.sshd.SSHD.stop(SSHD.java:116)
      2. org.jenkinsci.main.modules.sshd.ItemListenerImpl.onBeforeShutdown(ItemListenerImpl.java:20)
      2 frames
    4. jenkins.model
      Jenkins.cleanUp
      1. jenkins.model.Jenkins.cleanUp(Jenkins.java:2449)
      1 frame
    5. Hudson
      WebAppMain$2.run
      1. hudson.WebAppMain$2.run(WebAppMain.java:242)
      1 frame