-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Debian Wheezy
Jenkins 1.532.1
git-server plugin 1.3
git-userContent plugin 1.4-SNAPSHOT
The JENKINS-21163 fix has allowed the Jenkins server to start and run when the git-server plugin is installed. However, attempting to use the git-userContent plugin fails with a 404 error when opening http://localhost:8080/userContent.git . A class not found exception is reported in the Jenkins log, noting that a jar file may need to be rebuilt.
Feb 10, 2014 9:04:45 PM hudson.ExtensionFinder$Sezpoz _find WARNING: Failed to load org.jenkinsci.plugins.gitUserContent.GitUserContentRepositorySSHAccess java.lang.InstantiationException: /var/lib/jenkins/plugins/git-userContent/WEB-INF/lib/classes.jar might need to be rebuilt: java.lang.ClassNotFoundException: org.jenkinsci.plugins.gitUserContent.GitUserContentRepositorySSHAccess at net.java.sezpoz.IndexItem.element(IndexItem.java:144) at hudson.ExtensionFinder$Sezpoz._find(ExtensionFinder.java:628) at hudson.ExtensionFinder$Sezpoz.find(ExtensionFinder.java:617) at hudson.ExtensionFinder._find(ExtensionFinder.java:151) at hudson.ClassicPluginStrategy.findComponents(ClassicPluginStrategy.java:316) 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:309) at hudson.ExtensionList.load(ExtensionList.java:295) at hudson.ExtensionList.ensureLoaded(ExtensionList.java:248) at hudson.ExtensionList.iterator(ExtensionList.java:138) at jenkins.model.Jenkins.getDescriptorByType(Jenkins.java:1187) at hudson.plugins.git.GitSCM.onLoaded(GitSCM.java:1404) 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:606) 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:899) 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:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.ClassNotFoundException: org.jenkinsci.plugins.gitUserContent.GitUserContentRepositorySSHAccess at hudson.PluginManager$UberClassLoader.findClass(PluginManager.java:985) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at net.java.sezpoz.IndexItem.element(IndexItem.java:134) ... 26 more
I was using a snapshot build of the git-userContent plugin so that I could update its dependencies to match the git-server plugin dependencies.