[ 
https://issues.jenkins-ci.org/browse/JENKINS-12664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=162633#comment-162633
 ] 

ng at commented on JENKINS-12664:
---------------------------------

I have similar problem when i install a new plugin
Here how i solved the problem 
1. goto jenkins home
cd /var/lib/jenkins

2. move all the files into tmp directory
 mkdir tmp
mv plugins  *.xml *.key tmp

3. start jenkins


4. after that move  one by one xml from tmp  see which causing the problem

                
> Can't start jenkins after upgrade from 1.441 to 1.450
> -----------------------------------------------------
>
>                 Key: JENKINS-12664
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12664
>             Project: Jenkins
>          Issue Type: Bug
>          Components: ssh
>    Affects Versions: current
>         Environment: FreeBSD 8.2, jvm version 1.6.0_24-b07, tomcat 7.0.22
>            Reporter: Bruno Ribeiro da Silva
>            Priority: Critical
>
> 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!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to