hudson.util.IOException2: remote file operation failed: c:\development\jenkins\workspace\project at hudson.remoting.Channel@5969334d:windows-server

Jenkins JIRA | Larry Shatzer | 6 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

    When set up to copy a file on a windows box I get the following with 0.12 {code} ERROR: Publisher org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: c:\development\jenkins\workspace\project at hudson.remoting.Channel@5969334d:windows-server at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher.processDeployment(ArtifactDeployerPublisher.java:133) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher._perform(ArtifactDeployerPublisher.java:79) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher.perform(ArtifactDeployerPublisher.java:63) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:616) at hudson.model.Run.run(Run.java:1429) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.io.IOException: Remote call on windows-server failed at hudson.remoting.Channel.call(Channel.java:690) at hudson.FilePath.act(FilePath.java:774) ... 14 more Caused by: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/artifactdeployer/service/LocalCopy$1CopyImpl at org.jenkinsci.plugins.artifactdeployer.service.LocalCopy.copyAndGetNumbers(LocalCopy.java:50) at org.jenkinsci.plugins.artifactdeployer.service.ArtifactDeployerCopy.invoke(ArtifactDeployerCopy.java:48) at org.jenkinsci.plugins.artifactdeployer.service.ArtifactDeployerCopy.invoke(ArtifactDeployerCopy.java:18) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) 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:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {code} I also had another stack trace in another job: {code} FATAL: remote file operation failed: c:\development\jenkins\workspace\job at hudson.remoting.Channel@5969334d:windows-server hudson.util.IOException2: remote file operation failed: c:\development\jenkins\workspace\job at hudson.remoting.Channel@5969334d:windows-server at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerBuilder.processDeployment(ArtifactDeployerBuilder.java:97) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerBuilder.perform(ArtifactDeployerBuilder.java:45) at hudson.plugins.release.ReleaseWrapper.executeBuildSteps(ReleaseWrapper.java:337) at hudson.plugins.release.ReleaseWrapper.access$300(ReleaseWrapper.java:83) at hudson.plugins.release.ReleaseWrapper$4.tearDown(ReleaseWrapper.java:284) at hudson.model.Build$RunnerImpl.doRun(Build.java:150) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:460) at hudson.model.Run.run(Run.java:1404) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.io.IOException: Remote call on windows-server failed at hudson.remoting.Channel.call(Channel.java:690) at hudson.FilePath.act(FilePath.java:774) ... 12 more Caused by: java.lang.NoClassDefFoundError: com/atlassian/ant/tasks/CopyWithPerms at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch2(RemoteClassLoader.java:408) at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source) 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:274) at hudson.remoting.Request$2.run(Request.java:287) 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:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ClassNotFoundException: com.atlassian.ant.tasks.CopyWithPerms at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 22 more {code}

    Jenkins JIRA | 6 years ago | Larry Shatzer
    hudson.util.IOException2: remote file operation failed: c:\development\jenkins\workspace\project at hudson.remoting.Channel@5969334d:windows-server
  2. 0

    When set up to copy a file on a windows box I get the following with 0.12 {code} ERROR: Publisher org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: c:\development\jenkins\workspace\project at hudson.remoting.Channel@5969334d:windows-server at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher.processDeployment(ArtifactDeployerPublisher.java:133) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher._perform(ArtifactDeployerPublisher.java:79) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerPublisher.perform(ArtifactDeployerPublisher.java:63) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:669) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:647) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:616) at hudson.model.Run.run(Run.java:1429) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.io.IOException: Remote call on windows-server failed at hudson.remoting.Channel.call(Channel.java:690) at hudson.FilePath.act(FilePath.java:774) ... 14 more Caused by: java.lang.NoClassDefFoundError: org/jenkinsci/plugins/artifactdeployer/service/LocalCopy$1CopyImpl at org.jenkinsci.plugins.artifactdeployer.service.LocalCopy.copyAndGetNumbers(LocalCopy.java:50) at org.jenkinsci.plugins.artifactdeployer.service.ArtifactDeployerCopy.invoke(ArtifactDeployerCopy.java:48) at org.jenkinsci.plugins.artifactdeployer.service.ArtifactDeployerCopy.invoke(ArtifactDeployerCopy.java:18) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) 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:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {code} I also had another stack trace in another job: {code} FATAL: remote file operation failed: c:\development\jenkins\workspace\job at hudson.remoting.Channel@5969334d:windows-server hudson.util.IOException2: remote file operation failed: c:\development\jenkins\workspace\job at hudson.remoting.Channel@5969334d:windows-server at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerBuilder.processDeployment(ArtifactDeployerBuilder.java:97) at org.jenkinsci.plugins.artifactdeployer.ArtifactDeployerBuilder.perform(ArtifactDeployerBuilder.java:45) at hudson.plugins.release.ReleaseWrapper.executeBuildSteps(ReleaseWrapper.java:337) at hudson.plugins.release.ReleaseWrapper.access$300(ReleaseWrapper.java:83) at hudson.plugins.release.ReleaseWrapper$4.tearDown(ReleaseWrapper.java:284) at hudson.model.Build$RunnerImpl.doRun(Build.java:150) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:460) at hudson.model.Run.run(Run.java:1404) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.io.IOException: Remote call on windows-server failed at hudson.remoting.Channel.call(Channel.java:690) at hudson.FilePath.act(FilePath.java:774) ... 12 more Caused by: java.lang.NoClassDefFoundError: com/atlassian/ant/tasks/CopyWithPerms at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch2(RemoteClassLoader.java:408) at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source) 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:274) at hudson.remoting.Request$2.run(Request.java:287) 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:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ClassNotFoundException: com.atlassian.ant.tasks.CopyWithPerms at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) ... 22 more {code}

    Jenkins JIRA | 6 years ago | Larry Shatzer
    hudson.util.IOException2: remote file operation failed: c:\development\jenkins\workspace\project at hudson.remoting.Channel@5969334d:windows-server
  3. 0

    Problem with Tomcat - unable to start webapp [Archive] - Java-Monitor Forum

    java-monitor.com | 2 years ago
    java.lang.NoClassDefFoundError: javax/faces/context/ExternalContext at org.apache.myfaces.trinidadinternal.webapp.Trinida dListenerImpl.contextDestroyed(TrinidadListenerImp l.java:39) at org.apache.catalina.core.StandardContext.listenerS top(StandardContext.java:3882) at org.apache.catalina.core.StandardContext.stop(Stan dardContext.java:4523) at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4387) at org.apache.catalina.manager.ManagerServlet.start(M anagerServlet.java:1247) at org.apache.catalina.manager.HTMLManagerServlet.sta rt(HTMLManagerServlet.java:604) at org.apache.catalina.manager.HTMLManagerServlet.doG et(HTMLManagerServlet.java:129) at javax.servlet.http.HttpServlet.service(HttpServlet .java:617) at javax.servlet.http.HttpServlet.service(HttpServlet .java:717) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBas e.invoke(AuthenticatorBase.java:525) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    issues in spring petclinic applicaiton

    Stack Overflow | 4 years ago | user2216702
    java.lang.NoClassDefFoundError: org/springframework/asm/ClassVisitor at org.springframework.beans.factory.support.Abstract AutowireCapableBean Factory.<init>(AbstractAutowireCapableBeanFactory. java:121) ~[spring-beans-3.1.4 .RELEASE.jar:3.1.4.RELEASE] at org.springframework.beans.factory.support.Abstract AutowireCapableBean Factory.<init>(AbstractAutowireCapableBeanFactory. java:168) ~[spring-beans-3.1.4 .RELEASE.jar:3.1.4.RELEASE] at org.springframework.beans.factory.support.DefaultL istableBeanFactory. <init>(DefaultListableBeanFactory.java:163) ~[spring-beans-3.1.4.RELEASE.jar:3.1 .4.RELEASE] at org.springframework.context.support.AbstractRefres hableApplicationCon text.createBeanFactory(AbstractRefreshableApplicat ionContext.java:194) ~[spring- context-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractRefres hableApplicationCon text.refreshBeanFactory(AbstractRefreshableApplica tionContext.java:127) ~[spring -context-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.obtain FreshBeanFactory(AbstractApplicationContext.java:5 37) ~[spring-context-3.2.2.REL EASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.refres h(AbstractApplicationContext.java:451) ~[spring-context-3.2.2.RELEASE.jar:3.2.2. RELEASE] at org.springframework.web.context.ContextLoader.conf igureAndRefreshWebA pplicationContext(ContextLoader.java:389) ~[spring-web-3.2.2.RELEASE.jar:3.2.2.R ELEASE] at org.springframework.web.context.ContextLoader.init WebApplicationConte xt(ContextLoader.java:294) ~[spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.web.context.ContextLoaderListe ner.contextInitiali zed(ContextLoaderListener.java:112) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.apache.catalina.core.StandardContext.listenerS tart(StandardContex t.java:4791) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.StandardContext.startInte rnal(StandardContex t.java:5285) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1559) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1549) [tomcat-embed-core-7.0.30.jar:7.0.30] at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303) [n a:1.6.0_20] at java.util.concurrent.FutureTask.run(FutureTask.jav a:138) [na:1.6.0_20 ] at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExec utor.java:886) [na:1.6.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor .java:908) [na:1.6.0_20]
  6. 0

    Grails : production server only : spring.ReloadAwareAutowireCapableBeanFactory

    Stack Overflow | 3 years ago | Snite
    java.lang.NoClassDefFoundError: org/springframework/orm/jpa/EntityManagerFactoryUtils

    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

      org/jenkinsci/plugins/artifactdeployer/service/LocalCopy$1CopyImpl

      at org.jenkinsci.plugins.artifactdeployer.service.LocalCopy.copyAndGetNumbers()
    2. org.jenkinsci.plugins
      ArtifactDeployerCopy.invoke
      1. org.jenkinsci.plugins.artifactdeployer.service.LocalCopy.copyAndGetNumbers(LocalCopy.java:50)
      2. org.jenkinsci.plugins.artifactdeployer.service.ArtifactDeployerCopy.invoke(ArtifactDeployerCopy.java:48)
      3. org.jenkinsci.plugins.artifactdeployer.service.ArtifactDeployerCopy.invoke(ArtifactDeployerCopy.java:18)
      3 frames
    3. Hudson
      FilePath$FileCallableWrapper.call
      1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2022)
      1 frame
    4. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:287)
      3 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:662)
      6 frames