hudson.util.IOException2: remote file operation failed

Jenkins JIRA | R. Tyler Croy | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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)

    Jenkins JIRA | 8 years ago | R. Tyler Croy
    hudson.util.IOException2: remote file operation failed
  2. 0

    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)

    Jenkins JIRA | 8 years ago | R. Tyler Croy
    hudson.util.IOException2: remote file operation failed
  3. 0

    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)

    Jenkins JIRA | 8 years ago | tjenny
    java.io.IOException: Remote call failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Atmosphere for tomcat 6-0-41

    Google Groups | 3 years ago | Coderbrat
    java.lang.NoClassDefFoundError: javax/servlet/ServletContainerInitializer
  6. 0

    JBOSS Class loading linkage error Spring-beans

    Stack Overflow | 3 years ago | user2485135
    java.lang.NoClassDefFoundError: org/springframework/beans/factory/Aware
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.NoClassDefFoundError

    hudson/maven/MavenReporterDescriptor

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    ClassLoader.defineClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:637)
    3. java.lang.ClassLoader.defineClass(ClassLoader.java:482)
    3 frames
  3. Hudson :: Remoting Layer
    RemoteClassLoader.findClass
    1. hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:100)
    1 frame
  4. Java RT
    ClassLoader.loadClassInternal
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:323)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:268)
    3. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336)
    3 frames
  5. hudson.plugins.violations
    ViolationsCollector.invoke
    1. hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:98)
    2. hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:27)
    2 frames
  6. Hudson
    FilePath$FileCallableWrapper.call
    1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:1517)
    1 frame
  7. Hudson :: Remoting Layer
    Request$2.run
    1. hudson.remoting.UserRequest.perform(UserRequest.java:97)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:46)
    3. hudson.remoting.Request$2.run(Request.java:236)
    3 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:166)
    4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    6. java.lang.Thread.run(Thread.java:636)
    6 frames