java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I try to set up GenyMotion for Jenkins and installed libgl1-mesa-dev package for GenyMotion. During installation this package I noticed that some packages were removed, for example, skype, teamviewer (it's very strange!) and maybe some jenkins files (it is my suggestion).After I installed this package and rebooted machine, I can not start Jenkins. Error log contains following messages: SEVERE: Failed Loading plugin gitlab-hook java.io.IOException: Unable to load ruby.RubyPlugin from gitlab-hook at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:355) at hudson.PluginManager$2$1$1.run(PluginManager.java:357) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:905) 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:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.ClassNotFoundException: ruby.RubyPlugin at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:346) ... 9 more Please help.
    via by Vadim Oleynik,
  • I try to set up GenyMotion for Jenkins and installed libgl1-mesa-dev package for GenyMotion. During installation this package I noticed that some packages were removed, for example, skype, teamviewer (it's very strange!) and maybe some jenkins files (it is my suggestion).After I installed this package and rebooted machine, I can not start Jenkins. Error log contains following messages: SEVERE: Failed Loading plugin gitlab-hook java.io.IOException: Unable to load ruby.RubyPlugin from gitlab-hook at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:355) at hudson.PluginManager$2$1$1.run(PluginManager.java:357) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:905) 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:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.ClassNotFoundException: ruby.RubyPlugin at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:346) ... 9 more Please help.
    via by Vadim Oleynik,
  • Jenkins CI server user discussion ()
    via by Unknown author,
  • I am experiencing a problem with ssh slave nodes in 1.585 Jenkins ver. 1.585 SSH Slaves plugin 1.8 Subversion Plugin 2.4.4 jdk-7u71 Jobs work fine on master node. Same error for all builds on all ssh slave nodes. I have verified that downgrading to ver. 1.584 fixes the problem below. Plugin versions remained the same. {code} Checking out svn+ssh://${SVN_SERVER}/var/svn/${SVN_PROJECT}/trunk at revision '2014-10-21T13:48:04.689 -0500' java.io.IOException: remote file operation failed: /home/jenkins-slave/workspace/${JOB} at hudson.remoting.Channel@25e4984c:${VMSLAVE} at hudson.FilePath.act(FilePath.java:914) at hudson.FilePath.act(FilePath.java:896) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:909) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:844) at hudson.model.AbstractProject.checkout(AbstractProject.java:1258) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528) at hudson.model.Run.execute(Run.java:1759) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.io.IOException: Remote call on ${VMSLAVE} failed at hudson.remoting.Channel.call(Channel.java:751) at hudson.FilePath.act(FilePath.java:907) ... 11 more Caused by: java.lang.NoClassDefFoundError: com/trilead/ssh2/RandomFactory at com.trilead.ssh2.Connection.getOrCreateSecureRND(Connection.java:1109) at com.trilead.ssh2.Connection.connect(Connection.java:759) at org.tmatesoft.svn.core.internal.io.svn.ssh.SshHost.openConnection(SshHost.java:225) at org.tmatesoft.svn.core.internal.io.svn.ssh.SshHost.openSession(SshHost.java:153) at org.tmatesoft.svn.core.internal.io.svn.ssh.SshSessionPool.openSession(SshSessionPool.java:85) at org.tmatesoft.svn.core.internal.io.svn.SVNSSHConnector.open(SVNSSHConnector.java:122) at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.open(SVNConnection.java:77) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.openConnection(SVNRepositoryImpl.java:1252) at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.getLatestRevision(SVNRepositoryImpl.java:168) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.getRevisionNumber(SvnNgRepositoryAccess.java:118) at org.tmatesoft.svn.core.internal.wc2.SvnRepositoryAccess.getLocations(SvnRepositoryAccess.java:148) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.createRepositoryFor(SvnNgRepositoryAccess.java:45) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.checkout(SvnNgAbstractUpdate.java:706) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:14) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:9) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20) at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20) at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1238) at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:777) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:99) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:161) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:169) at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:133) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:161) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:1003) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:984) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:960) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2476) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) 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:745) Caused by: java.lang.ClassNotFoundException: com.trilead.ssh2.RandomFactory at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch4(RemoteClassLoader.java:742) at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch3(RemoteClassLoader.java:784) at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:310) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) ... 4 more {code}
    via by Chris Reynolds,
  • Hi, We are trying to run sonar analysis report for our project. We are getting Classnot found exception. ERROR: Publisher hudson.plugins.sonar.SonarPublisher aborted due to exception java.lang.NoClassDefFoundError: hudson/maven/local_repo/PerJobLocalRepositoryLocator at hudson.plugins.sonar.SonarPublisher.executeSonar(SonarPublisher.java:354) at hudson.plugins.sonar.SonarPublisher.perform(SonarPublisher.java:309) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) at hudson.model.Run.execute(Run.java:1784) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.lang.ClassNotFoundException: hudson.maven.local_repo.PerJobLocalRepositoryLocator at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 11 more Please let me know what could be the cause of this issue.
    via by Karthikeyan Krishnasamy,
  • When trying to install the Sauce OnDemand plugin via 'Install without restart' as well as 'Download now and install after restart' I receive the following error: {code}java.io.IOException: Failed to dynamically deploy this plugin at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1317) at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1116) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Failed to install sauce-ondemand plugin at hudson.PluginManager.dynamicLoad(PluginManager.java:453) at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1313) ... 5 more Caused by: java.io.IOException: Failed to initialize at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:396) at hudson.PluginManager.dynamicLoad(PluginManager.java:444) ... 6 more Caused by: java.lang.NoClassDefFoundError: org/sonatype/guice/bean/locators/MutableBeanLocator at com.saucelabs.hudson.HudsonSauceManagerFactory.start(HudsonSauceManagerFactory.java:55) at hudson.plugins.sauce_ondemand.PluginImpl.start(PluginImpl.java:148) at hudson.ClassicPluginStrategy.startPlugin(ClassicPluginStrategy.java:404) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:393) ... 7 more Caused by: java.lang.ClassNotFoundException: org.sonatype.guice.bean.locators.MutableBeanLocator at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 11 more {code} I have also tried installing it manually via uploading the hpi at https://updates.jenkins-ci.org/download/plugins/sauce-ondemand/ which results in the same.
    via by Toby Broyles,
    • java.io.IOException: Unable to load ruby.RubyPlugin from gitlab-hook at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:355) at hudson.PluginManager$2$1$1.run(PluginManager.java:357) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:905) 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:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.ClassNotFoundException: ruby.RubyPlugin at jenkins.util.AntClassLoader.findClassInComponents(AntClassLoader.java:1375) at jenkins.util.AntClassLoader.findClass(AntClassLoader.java:1325) at jenkins.util.AntClassLoader.loadClass(AntClassLoader.java:1078) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at hudson.ClassicPluginStrategy.load(ClassicPluginStrategy.java:346) ... 9 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    22 more bugmates