hudson.util.IOException2

tip

Look if your classpath is correct, and check if the versions of your libraries match the version you described in your pom.xml

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Using SSH slaves, I cannot use the Violations plugin nor the JUnit test result feature, both fail with ambiguous file system operation failures. Violations: ====================================================== FATAL: remote file operation failed hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:548) at hudson.plugins.violations.ViolationsPublisher.perform (ViolationsPublisher.java:77) at hudson.tasks.BuildStepCompatibilityLayer.perform (BuildStepCompatibilityLayer.java:56) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep (AbstractBuild.java:372) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep (AbstractBuild.java:360) at hudson.model.Build$RunnerImpl.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractRunner.post (AbstractBuild.java:345) at hudson.model.Run.run(Run.java:943) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Caused by: java.io.IOException: Remote call failed at hudson.remoting.Channel.call(Channel.java:490) at hudson.FilePath.act(FilePath.java:545) ... 10 more Caused by: java.lang.NoClassDefFoundError: hudson/maven/MavenReporterDescriptor at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:637) at java.lang.ClassLoader.defineClass(ClassLoader.java:482) at hudson.remoting.RemoteClassLoader.findClass (RemoteClassLoader.java:100) at java.lang.ClassLoader.loadClass(ClassLoader.java:323) at java.lang.ClassLoader.loadClass(ClassLoader.java:268) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336) at hudson.plugins.violations.ViolationsCollector.invoke (ViolationsCollector.java:98) at hudson.plugins.violations.ViolationsCollector.invoke (ViolationsCollector.java:27) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1517) at hudson.remoting.UserRequest.perform(UserRequest.java:97) at hudson.remoting.UserRequest.perform(UserRequest.java:46) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) 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.maven.MavenReporterDescriptor at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch (RemoteClassLoader.java:264) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform (RemoteInvocationHandler.java:263) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask (ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619)
    via by R. Tyler Croy,
  • Using SSH slaves, I cannot use the Violations plugin nor the JUnit test result feature, both fail with ambiguous file system operation failures. Violations: ====================================================== FATAL: remote file operation failed hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:548) at hudson.plugins.violations.ViolationsPublisher.perform (ViolationsPublisher.java:77) at hudson.tasks.BuildStepCompatibilityLayer.perform (BuildStepCompatibilityLayer.java:56) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep (AbstractBuild.java:372) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep (AbstractBuild.java:360) at hudson.model.Build$RunnerImpl.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractRunner.post (AbstractBuild.java:345) at hudson.model.Run.run(Run.java:943) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Caused by: java.io.IOException: Remote call failed at hudson.remoting.Channel.call(Channel.java:490) at hudson.FilePath.act(FilePath.java:545) ... 10 more Caused by: java.lang.NoClassDefFoundError: hudson/maven/MavenReporterDescriptor at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:637) at java.lang.ClassLoader.defineClass(ClassLoader.java:482) at hudson.remoting.RemoteClassLoader.findClass (RemoteClassLoader.java:100) at java.lang.ClassLoader.loadClass(ClassLoader.java:323) at java.lang.ClassLoader.loadClass(ClassLoader.java:268) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336) at hudson.plugins.violations.ViolationsCollector.invoke (ViolationsCollector.java:98) at hudson.plugins.violations.ViolationsCollector.invoke (ViolationsCollector.java:27) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1517) at hudson.remoting.UserRequest.perform(UserRequest.java:97) at hudson.remoting.UserRequest.perform(UserRequest.java:46) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) 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.maven.MavenReporterDescriptor at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch (RemoteClassLoader.java:264) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform (RemoteInvocationHandler.java:263) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask (ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619)
    via by R. Tyler Croy,
  • the error appears with Hudson version 1.297 and 1.296; Master-Slave configuration, freestyle projects. downgrading to 1.295 works fine. doing a build on the master succeeds; doing the same build on the slave fails at the end with the following exceptions in the build log: java.io.IOException: Remote call failed at hudson.remoting.Channel.call(Channel.java:490) at hudson.FilePath.act(FilePath.java:577) at hudson.plugins.helpers.BuildProxy.doPerform(BuildProxy.java:71) at hudson.plugins.helpers.AbstractPublisherImpl.perform(AbstractPublisherImpl.java:30) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:371) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:359) at hudson.model.Build$RunnerImpl.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:344) at hudson.model.Run.run(Run.java:919) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Caused by: java.lang.NoClassDefFoundError: hudson/maven/MavenBuildProxy$BuildCallable at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.lang.ClassLoader.defineClass(ClassLoader.java:465) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:100) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at hudson.remoting.ObjectInputStreamEx.resolveClass(ObjectInputStreamEx.java:50) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at hudson.remoting.UserRequest.perform(UserRequest.java:84) at hudson.remoting.UserRequest.perform(UserRequest.java:46) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) FATAL: Unexpected exception java.lang.RuntimeException: Unexpected exception at hudson.plugins.helpers.BuildProxy.unwrapException(BuildProxy.java:118) at hudson.plugins.helpers.BuildProxy.doPerform(BuildProxy.java:80) at hudson.plugins.helpers.AbstractPublisherImpl.perform(AbstractPublisherImpl.java:30) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:371) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:359) at hudson.model.Build$RunnerImpl.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:344) at hudson.model.Run.run(Run.java:919) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Caused by: java.io.IOException: Remote call failed at hudson.remoting.Channel.call(Channel.java:490) at hudson.FilePath.act(FilePath.java:577) at hudson.plugins.helpers.BuildProxy.doPerform(BuildProxy.java:71) ... 9 more Caused by: java.lang.NoClassDefFoundError: hudson/maven/MavenBuildProxy$BuildCallable at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.lang.ClassLoader.defineClass(ClassLoader.java:465) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:100) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at hudson.remoting.ObjectInputStreamEx.resolveClass(ObjectInputStreamEx.java:50) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at hudson.remoting.UserRequest.perform(UserRequest.java:84) at hudson.remoting.UserRequest.perform(UserRequest.java:46) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595)
    via by tjenny,
  • Atmosphere for tomcat 6-0-41
    via by Coderbrat,
  • GLASSFISH 3 DOMAIN SERVICE ERROR
    via Stack Overflow by DES
    ,
    • hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:548) at hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:77) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:56) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:372) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:360) at hudson.model.Build$RunnerImpl.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:345) at hudson.model.Run.run(Run.java:943) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Caused by: java.io.IOException: Remote call failed at hudson.remoting.Channel.call(Channel.java:490) at hudson.FilePath.act(FilePath.java:545) ... 10 more Caused by: java.lang.NoClassDefFoundError: hudson/maven/MavenReporterDescriptor at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:637) at java.lang.ClassLoader.defineClass(ClassLoader.java:482) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:100) at java.lang.ClassLoader.loadClass(ClassLoader.java:323) at java.lang.ClassLoader.loadClass(ClassLoader.java:268) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:98) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:27) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1517) at hudson.remoting.UserRequest.perform(UserRequest.java:97) at hudson.remoting.UserRequest.perform(UserRequest.java:46) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) 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)

    Users with the same issue

    GhostsGhosts
    12 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    davidvanlaatumdavidvanlaatum
    1 times, last one,
    DannyDBagDannyDBag
    12 times, last one,
    139 more bugmates