java.lang.InstantiationException: file:/usr/share/tomcat6/.jenkins/plugins/git/WEB-INF/classes/META-INF/annotations/hudson.Extension might need to be rebuilt: java.lang.ClassNotFoundException: hudson.plugins.git.GitSCM$DescriptorImpl

Jenkins JIRA | Markus KARG | 4 years ago
  1. 0

    Jenkins 1.501 was running stable / no problem is log. Then I added "JaCoCo" plugin from Update Center and restarted Jenkins. When booting, Jenkins then scared me to death with a stack trace: 13.02.2013 09:53:32 hudson.ExtensionFinder$Sezpoz scout WARNUNG: Failed to scout hudson.plugins.git.GitSCM$DescriptorImpl java.lang.InstantiationException: file:/usr/share/tomcat6/.jenkins/plugins/git/WEB-INF/classes/META-INF/annotations/hudson.Extension might need to be rebuilt: java.lang.ClassNotFoundException: hudson.plugins.git.GitSCM$DescriptorImpl at net.java.sezpoz.IndexItem.element(IndexItem.java:144) at hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:649) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:312) at hudson.ExtensionList.load(ExtensionList.java:295) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:248) at hudson.ExtensionList.iterator(ExtensionList.java:138) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:311) at hudson.ExtensionList.load(ExtensionList.java:295) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:248) at hudson.ExtensionList.get(ExtensionList.java:153) at hudson.PluginManager$PluginUpdateMonitor.getInstance(PluginManager.java:1066) at hudson.maven.PluginImpl.init(PluginImpl.java:54) 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:616) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:883) 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.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.ClassNotFoundException: hudson.plugins.git.GitSCM$DescriptorImpl at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:942) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at net.java.sezpoz.IndexItem.element(IndexItem.java:134) ... 24 more Obviously it has a problem with the GIT plugin now -- but I didn't touch that one, and it worked well before. Also, the GIT plugin seems to work fine, still. As all works well, maybe the only bug is that the WARNING is actually printed?

    Jenkins JIRA | 4 years ago | Markus KARG
    java.lang.InstantiationException: file:/usr/share/tomcat6/.jenkins/plugins/git/WEB-INF/classes/META-INF/annotations/hudson.Extension might need to be rebuilt: java.lang.ClassNotFoundException: hudson.plugins.git.GitSCM$DescriptorImpl
  2. 0

    Jenkins 1.501 was running stable / no problem is log. Then I added "JaCoCo" plugin from Update Center and restarted Jenkins. When booting, Jenkins then scared me to death with a stack trace: 13.02.2013 09:53:32 hudson.ExtensionFinder$Sezpoz scout WARNUNG: Failed to scout hudson.plugins.git.GitSCM$DescriptorImpl java.lang.InstantiationException: file:/usr/share/tomcat6/.jenkins/plugins/git/WEB-INF/classes/META-INF/annotations/hudson.Extension might need to be rebuilt: java.lang.ClassNotFoundException: hudson.plugins.git.GitSCM$DescriptorImpl at net.java.sezpoz.IndexItem.element(IndexItem.java:144) at hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:649) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:312) at hudson.ExtensionList.load(ExtensionList.java:295) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:248) at hudson.ExtensionList.iterator(ExtensionList.java:138) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:311) at hudson.ExtensionList.load(ExtensionList.java:295) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:248) at hudson.ExtensionList.get(ExtensionList.java:153) at hudson.PluginManager$PluginUpdateMonitor.getInstance(PluginManager.java:1066) at hudson.maven.PluginImpl.init(PluginImpl.java:54) 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:616) at hudson.init.InitializerFinder.invoke(InitializerFinder.java:120) at hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$7.runTask(Jenkins.java:883) 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.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Caused by: java.lang.ClassNotFoundException: hudson.plugins.git.GitSCM$DescriptorImpl at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:942) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at net.java.sezpoz.IndexItem.element(IndexItem.java:134) ... 24 more Obviously it has a problem with the GIT plugin now -- but I didn't touch that one, and it worked well before. Also, the GIT plugin seems to work fine, still. As all works well, maybe the only bug is that the WARNING is actually printed?

    Jenkins JIRA | 4 years ago | Markus KARG
    java.lang.InstantiationException: file:/usr/share/tomcat6/.jenkins/plugins/git/WEB-INF/classes/META-INF/annotations/hudson.Extension might need to be rebuilt: java.lang.ClassNotFoundException: hudson.plugins.git.GitSCM$DescriptorImpl
  3. 0

    Jenkins won't start: WARNING: Failed to load hudson.scm.Cvs

    Stack Overflow | 4 years ago | Shaun Abram
    java.lang.InstantiationException: file:/data/trg/tar5/jenkins/plugins/cvs/WEB-INF/classes/META-INF/annotations/hudson.Extension might need to be rebuilt: java.lang.ClassNotFoundException: hudson.scm.CvsRepositoryItem$CvsRepositoryItemDescriptor
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Clicking on Jenkins Job Config History badge gives 404

    Stack Overflow | 1 year ago | Pankaj
    java.lang.InstantiationException: /kohls/prop/kcm/jenkins-home/plugins/jobConfigHistory/WEB-INF/lib/jobConfigHistory.jar might need to be rebuilt: java.lang.ClassNotFoundException: hudson.plugins.jobConfigHistory.JobConfigHistoryActionFactory**
  6. 0

    [JENKINS-22363] Upgrade of copy-project-link from v1.1 to v1.2 fails - Jenkins JIRA

    jenkins-ci.org | 8 months ago
    java.lang.InstantiationException: /opt/jenkins/data/plugins/copy-project-link/WEB-INF/lib/classes.jar might need to be rebuilt: java.lang.ClassNotFoundException: hudson.plugins.copyProjectLink.CopyFolderActionFactory

  1. davidvanlaatum 10 times, last 6 months ago
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.ClassNotFoundException

    hudson.plugins.git.GitSCM$DescriptorImpl

    at hudson.PluginManager$UberClassLoader.findClass()
  2. Hudson
    PluginManager$UberClassLoader.findClass
    1. hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:942)
    1 frame
  3. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    2 frames
  4. SezPoz
    IndexItem.element
    1. net.java.sezpoz.IndexItem.element(IndexItem.java:134)
    1 frame
  5. Hudson
    PluginManager$PluginUpdateMonitor.getInstance
    1. hudson.ExtensionFinder$Sezpoz.scout(ExtensionFinder.java:649)
    2. hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:312)
    3. hudson.ExtensionList.load(ExtensionList.java:295)
    4. hudson.ExtensionList.ensureLoaded(ExtensionList.java:248)
    5. hudson.ExtensionList.iterator(ExtensionList.java:138)
    6. hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:311)
    7. hudson.ExtensionList.load(ExtensionList.java:295)
    8. hudson.ExtensionList.ensureLoaded(ExtensionList.java:248)
    9. hudson.ExtensionList.get(ExtensionList.java:153)
    10. hudson.PluginManager$PluginUpdateMonitor.getInstance(PluginManager.java:1066)
    10 frames
  6. Hudson Maven Embedder
    PluginImpl.init
    1. hudson.maven.PluginImpl.init(PluginImpl.java:54)
    1 frame
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:616)
    4 frames
  8. Hudson
    InitializerFinder$TaskImpl.run
    1. hudson.init.InitializerFinder.invoke(InitializerFinder.java:120)
    2. hudson.init.InitializerFinder$TaskImpl.run(InitializerFinder.java:184)
    2 frames
  9. init
    Reactor.runTask
    1. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
    1 frame
  10. jenkins.model
    Jenkins$7.runTask
    1. jenkins.model.Jenkins$7.runTask(Jenkins.java:883)
    1 frame
  11. init
    Reactor$Node.run
    1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
    2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
    2 frames
  12. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    3. java.lang.Thread.run(Thread.java:636)
    3 frames