Plugin Problems

54 views
Skip to first unread message

Matt Alleman

unread,
Mar 3, 2013, 5:47:21 PM3/3/13
to jenkins...@googlegroups.com
I'm having some trouble with loading some plugins into jenkins.  I'm following this guide: http://bhfsteve.blogspot.com/2012/04/automated-python-unit-testing-code_27.html .

After I install the Git Plugin and jenkins restarts, I get the following Exceptions in my log file:

Mar 03, 2013 3:40:04 PM jenkins.model.Jenkins$6 onAttained
INFO: Started all plugins
Mar 03, 2013 3:40:04 PM jenkins.model.Jenkins$6 onAttained
INFO: Augmented all extensions
Mar 03, 2013 3:40:04 PM hudson.init.InitializerFinder getDisplayNameOf
WARNING: Failed to load hudson.plugins.git.Messages for public static void hudson.plugins.git.GitTool.onLoaded()
java.lang.ClassNotFoundException: hudson.plugins.git.Messages
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    at hudson.init.InitializerFinder.getDisplayNameOf(InitializerFinder.java:90)
    at hudson.init.InitializerFinder$TaskImpl.getDisplayName(InitializerFinder.java:166)
    at jenkins.model.Jenkins$6.onTaskStarted(Jenkins.java:833)
    at org.jvnet.hudson.reactor.ReactorListener$Aggregator.onTaskStarted(ReactorListener.java:89)
    at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:208)
    at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
    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:722)

Mar 03, 2013 3:40:04 PM hudson.init.InitializerFinder getDisplayNameOf
WARNING: Failed to load hudson.plugins.git.Messages for public static void hudson.plugins.git.GitTool.onLoaded()
java.lang.ClassNotFoundException: hudson.plugins.git.Messages
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    at hudson.init.InitializerFinder.getDisplayNameOf(InitializerFinder.java:90)
    at hudson.init.InitializerFinder$TaskImpl.getDisplayName(InitializerFinder.java:166)
    at jenkins.model.Jenkins$5.runTask(Jenkins.java:789)
    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(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:722)

Mar 03, 2013 3:40:04 PM jenkins.model.Jenkins$6 onAttained
INFO: Loaded all jobs
Mar 03, 2013 3:40:04 PM hudson.init.InitializerFinder getDisplayNameOf
WARNING: Failed to load hudson.plugins.git.Messages for public static void hudson.plugins.git.GitTool.onLoaded()
java.lang.ClassNotFoundException: hudson.plugins.git.Messages
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    at hudson.init.InitializerFinder.getDisplayNameOf(InitializerFinder.java:90)
    at hudson.init.InitializerFinder$TaskImpl.getDisplayName(InitializerFinder.java:166)
    at jenkins.model.Jenkins$6.onTaskCompleted(Jenkins.java:837)
    at org.jvnet.hudson.reactor.ReactorListener$Aggregator.onTaskCompleted(ReactorListener.java:94)
    at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:211)
    at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
    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:722)

Nothing on the web interface indicates an error at all, and the git plugin is listed in my "installed plugins" section, but it won't allow me to install anymore plugins.  For example, if I try to install the cobertura plugin, jenkins restarts and cobertura is never installed.

I've looked on google and can't really come up with a solution

Mark Waite

unread,
Mar 3, 2013, 6:55:24 PM3/3/13
to jenkins...@googlegroups.com
The git plugin has been split into two parts, a git-client plugin and a git plugin.  You need both.  I can't tell for sure, but I have a suspicion that reference might be from the git-plugin to the git-client plugin.

Mark Waite


From: Matt Alleman <rmal...@gmail.com>
To: jenkins...@googlegroups.com
Sent: Sunday, March 3, 2013 3:47 PM
Subject: Plugin Problems

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 


Matt Alleman

unread,
Mar 3, 2013, 8:52:51 PM3/3/13
to jenkins...@googlegroups.com, Mark Waite
Jenkins Git Client and Jenkins Git Plugin are both installed and enabled.  Could it be a conflict with the version of Jenkins i'm running?  The web interface says there is a update available, but it hasn't hit the debian repos yet.  I guess I could just try and replace the WAR file, but I like to stick to the package manager as much as possible
Reply all
Reply to author
Forward
0 new messages