Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-41241

Jenkins Failes to startup, Without updatating any plugin (WebAppMain.java:248)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • _unsorted
    • Post-launch

      Error

      hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException
      at hudson.WebAppMain$3.run(WebAppMain.java:248)
      Caused by: org.jvnet.hudson.reactor.ReactorException: java.lang.Error: java.lang.reflect.InvocationTargetException
      at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
      at jenkins.InitReactorRunner.run(InitReactorRunner.java:47)
      at jenkins.model.Jenkins.executeReactor(Jenkins.java:1062)
      at jenkins.model.Jenkins.<init>(Jenkins.java:905)
      at hudson.model.Hudson.<init>(Hudson.java:85)
      at hudson.model.Hudson.<init>(Hudson.java:81)
      at hudson.WebAppMain$3.run(WebAppMain.java:231)
      Caused by: java.lang.Error: java.lang.reflect.InvocationTargetException
      at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:110)
      at hudson.init.TaskMethodFinder$TaskImpl.run(TaskMethodFinder.java:175)
      at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
      at jenkins.model.Jenkins$7.runTask(Jenkins.java:1038)
      at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
      at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at hudson.init.TaskMethodFinder.invoke(TaskMethodFinder.java:104)
      ... 8 more
      Caused by: java.io.IOException: Tried to treat 'C:\Program Files (x86)\Jenkins\jobs\Sttarter Android Project\lastStable' as a directory, but could not get a listing
      at com.github.mjdetullio.jenkins.plugins.multibranch.TemplateDrivenMultiBranchProject.getConfigFiles(TemplateDrivenMultiBranchProject.java:717)
      at com.github.mjdetullio.jenkins.plugins.multibranch.TemplateDrivenMultiBranchProject.getConfigFiles(TemplateDrivenMultiBranchProject.java:732)
      at com.github.mjdetullio.jenkins.plugins.multibranch.TemplateDrivenMultiBranchProject.getConfigFiles(TemplateDrivenMultiBranchProject.java:732)
      at com.github.mjdetullio.jenkins.plugins.multibranch.TemplateDrivenMultiBranchProject.migrate(TemplateDrivenMultiBranchProject.java:758)
      ... 13 more

          [JENKINS-41241] Jenkins Failes to startup, Without updatating any plugin (WebAppMain.java:248)

          Veeresh r added a comment -

          Resolved the Issue by deleting all plugins in Jenkins Installation folder and restart the Jenkins,

          It will restart but again you have to install all the plugins for your jobs

          frustrating but there is no option

          for any doubts please comment

          thanks.

          Veeresh r added a comment - Resolved the Issue by deleting all plugins in Jenkins Installation folder and restart the Jenkins, It will restart but again you have to install all the plugins for your jobs frustrating but there is no option for any doubts please comment thanks.

          Veeresh r added a comment -

          The issue get resolves when you delete all the plugins from Jenkins Installation folder

          Follow these steps (Windows installation)

          1. Go to Jenkins installation folder in "C:\Program files\Jenkins\Plugins" copy all the files in some other drive for future reference.

          2. Stop Jenkins server : Go to Control Panel\All Control Panel Items\Administrative Tools\Services search for Jenkins and stop it

          3. Delete all the files in the "C:\Program files\Jenkins\Plugins"
          folder

          4. Restart the Jenkins your good to go but all the plugins will have to be reinstalled

          5. Refer the "Plugins " folder which you have copied in some other destination and install the plugins

          Veeresh r added a comment - The issue get resolves when you delete all the plugins from Jenkins Installation folder Follow these steps (Windows installation) 1. Go to Jenkins installation folder in "C:\Program files\Jenkins\Plugins" copy all the files in some other drive for future reference. 2. Stop Jenkins server : Go to Control Panel\All Control Panel Items\Administrative Tools\Services search for Jenkins and stop it 3. Delete all the files in the "C:\Program files\Jenkins\Plugins" folder 4. Restart the Jenkins your good to go but all the plugins will have to be reinstalled 5. Refer the "Plugins " folder which you have copied in some other destination and install the plugins

          vamsi krishna added a comment -

          Hi Veeresh,

           

          Thanks for the solution you really save my day,

          no need to remove all plugins folder remove Cloud Bees plugin from plugins folder and start jenkins.

          vamsi krishna added a comment - Hi Veeresh,   Thanks for the solution you really save my day, no need to remove all plugins folder remove Cloud Bees plugin from plugins folder and start jenkins.

          kyle ian added a comment -

          The above suggestion to remove the cloudbees plugin from the plugins folder results in Jenkins losing reference of the prior existing jobs / workspaces. Is there a better way to solve this?

          kyle ian added a comment - The above suggestion to remove the cloudbees plugin from the plugins folder results in Jenkins losing reference of the prior existing jobs / workspaces. Is there a better way to solve this?

          Elbert Wang added a comment - - edited

          I came across this problem and did as the first comment said, but even if I deleted all the files in plugin folder and then restart, jenkins still seems to fail. What shows is the same as the earlier attachment here above. PS: I deploy jenkins on a Linux machine.

          Elbert Wang added a comment - - edited I came across this problem and did as the first comment said, but even if I deleted all the files in plugin folder and then restart, jenkins still seems to fail. What shows is the same as the earlier attachment here above. PS: I deploy jenkins on a Linux machine.

            eluberto_wang Elbert Wang
            veeresh667 Veeresh r
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: