hudson.util.IOException2: remote file operation failed: com/mycompany/myapp/beans/pitches/PitchDataBean.java at hudson.remoting.LocalChannel@15bbe8

Jenkins JIRA | Myron0815 | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    i have created a one-in-all ant target, which executes findbugs, checkstyle & pmd for the given $srcDir, $classesDir. Works as expected, and the Hudson Plugins do their job. Unfortunately, i just wanted to analyze a specific directory, so i set my $srcDir to $srcDir/com/mycompany/myapp/beans. ($classesDir respectively to $classesDir/com/mycompany/myapp/beans) Ant targets run as expected, analyzing only this folder, XML output looks fine :) Checkstyle & PMD Plugins work as expected, can click till the java sources :) Only the findbugs plugin complains about not finding the source file for displaying.... {quote} Copying the source file 'com/mycompany/myapp/beans/pitches/PitchDataBean.java' from the workspace to the build folder '/export/home/tomcat/.hudson/jobs/myapp_trunk/builds/2010-08-11_15-14-43/workspace-files/fda28c.tmp' on the Hudson master failed. Seems that the path is relative, however an absolute path is required when copying the sources. Is the file 'PitchDataBean.java' contained more than once in your workspace? Is the file 'com/mycompany/myapp/beans/pitches/PitchDataBean.java' a valid filename? If you are building on a slave: please check if the file is accessible under '$HUDSON_HOME/[job-name]/com/mycompany/myapp/beans/pitches/PitchDataBean.java' If you are building on the master: please check if the file is accessible under '$HUDSON_HOME/[job-name]/workspace/com/mycompany/myapp/beans/pitches/PitchDataBean.java' hudson.util.IOException2: remote file operation failed: com/mycompany/myapp/beans/pitches/PitchDataBean.java at hudson.remoting.LocalChannel@15bbe8 at hudson.FilePath.act(FilePath.java:749) at hudson.FilePath.act(FilePath.java:735) at hudson.FilePath.copyTo(FilePath.java:1360) at hudson.plugins.analysis.core.HealthAwarePublisher.copyFilesWithAnnotationsToBuildFolder(HealthAwarePublisher.java:264) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:226) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) at hudson.model.Build$RunnerImpl.post2(Build.java:158) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1280) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:127) Caused by: java.io.FileNotFoundException: com/mycompany/myapp/beans/pitches/PitchDataBean.java (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at hudson.FilePath$30.invoke(FilePath.java:1364) at hudson.FilePath$30.invoke(FilePath.java:1360) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1899) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at hudson.FilePath.act(FilePath.java:742) ... 14 more {quote}

    Jenkins JIRA | 7 years ago | Myron0815
    hudson.util.IOException2: remote file operation failed: com/mycompany/myapp/beans/pitches/PitchDataBean.java at hudson.remoting.LocalChannel@15bbe8
  2. 0

    i have created a one-in-all ant target, which executes findbugs, checkstyle & pmd for the given $srcDir, $classesDir. Works as expected, and the Hudson Plugins do their job. Unfortunately, i just wanted to analyze a specific directory, so i set my $srcDir to $srcDir/com/mycompany/myapp/beans. ($classesDir respectively to $classesDir/com/mycompany/myapp/beans) Ant targets run as expected, analyzing only this folder, XML output looks fine :) Checkstyle & PMD Plugins work as expected, can click till the java sources :) Only the findbugs plugin complains about not finding the source file for displaying.... {quote} Copying the source file 'com/mycompany/myapp/beans/pitches/PitchDataBean.java' from the workspace to the build folder '/export/home/tomcat/.hudson/jobs/myapp_trunk/builds/2010-08-11_15-14-43/workspace-files/fda28c.tmp' on the Hudson master failed. Seems that the path is relative, however an absolute path is required when copying the sources. Is the file 'PitchDataBean.java' contained more than once in your workspace? Is the file 'com/mycompany/myapp/beans/pitches/PitchDataBean.java' a valid filename? If you are building on a slave: please check if the file is accessible under '$HUDSON_HOME/[job-name]/com/mycompany/myapp/beans/pitches/PitchDataBean.java' If you are building on the master: please check if the file is accessible under '$HUDSON_HOME/[job-name]/workspace/com/mycompany/myapp/beans/pitches/PitchDataBean.java' hudson.util.IOException2: remote file operation failed: com/mycompany/myapp/beans/pitches/PitchDataBean.java at hudson.remoting.LocalChannel@15bbe8 at hudson.FilePath.act(FilePath.java:749) at hudson.FilePath.act(FilePath.java:735) at hudson.FilePath.copyTo(FilePath.java:1360) at hudson.plugins.analysis.core.HealthAwarePublisher.copyFilesWithAnnotationsToBuildFolder(HealthAwarePublisher.java:264) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:226) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) at hudson.model.Build$RunnerImpl.post2(Build.java:158) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1280) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:127) Caused by: java.io.FileNotFoundException: com/mycompany/myapp/beans/pitches/PitchDataBean.java (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at hudson.FilePath$30.invoke(FilePath.java:1364) at hudson.FilePath$30.invoke(FilePath.java:1360) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1899) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at hudson.FilePath.act(FilePath.java:742) ... 14 more {quote}

    Jenkins JIRA | 7 years ago | Myron0815
    hudson.util.IOException2: remote file operation failed: com/mycompany/myapp/beans/pitches/PitchDataBean.java at hudson.remoting.LocalChannel@15bbe8
  3. 0

    I get the following error when trying to view the source of a compiler warning: {noformat} 01 Copying the source file 'main.c' from the workspace to the build folder '/var/lib/jenkins/home/jobs/Job Clean Build/builds/2011-08-05_00-04-13/workspace-files/bf88816e.tmp' on the Hudson master failed. 02 Seems that the path is relative, however an absolute path is required when copying the sources. 03 Is the file 'main.c' contained more than once in your workspace? 04 Is the file 'main.c' a valid filename? 05 If you are building on a slave: please check if the file is accessible under '$HUDSON_HOME/[job-name]/main.c' 06 If you are building on the master: please check if the file is accessible under '$HUDSON_HOME/[job-name]/workspace/main.c' 07 hudson.util.IOException2: remote file operation failed: main.c at hudson.remoting.LocalChannel@1eac6995 08 at hudson.FilePath.act(FilePath.java:754) 09 at hudson.FilePath.act(FilePath.java:740) 10 at hudson.FilePath.copyTo(FilePath.java:1410) 11 at hudson.plugins.analysis.core.HealthAwarePublisher.copyFilesWithAnnotationsToBuildFolder(HealthAwarePublisher.java:354) 12 at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:316) 13 at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) 14 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) 15 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657) 16 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635) 17 at hudson.model.Build$RunnerImpl.post2(Build.java:161) 18 at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604) 19 at hudson.model.Run.run(Run.java:1400) 20 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 21 at hudson.model.ResourceController.execute(ResourceController.java:88) 22 at hudson.model.Executor.run(Executor.java:175) 23 Caused by: java.io.FileNotFoundException: main.c (No such file or directory) 24 at java.io.FileInputStream.open(Native Method) 25 at java.io.FileInputStream.<init>(FileInputStream.java:120) 26 at hudson.FilePath$30.invoke(FilePath.java:1414) 27 at hudson.FilePath$30.invoke(FilePath.java:1410) 28 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1980) 29 at hudson.remoting.LocalChannel.call(LocalChannel.java:45) 30 at hudson.FilePath.act(FilePath.java:747) 31 ... 14 more {noformat} This job uses a custom workspace dir so maybe the plugin doesn't support that?

    Jenkins JIRA | 6 years ago | David Hallas
    hudson.util.IOException2: remote file operation failed: main.c at hudson.remoting.LocalChannel@1eac6995
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    STDERR: java.io.IOException: Failed to copy git to /var/lib/jenkins/plugins/git.jpi

    Stack Overflow | 2 years ago | WolvesfCrib
    java.io.IOException: Failed to copy git to /var/lib/jenkins/plugins/git.jpi
  6. 0

    GitHub comment 59#50169464

    GitHub | 3 years ago | jcfrancisco
    java.io.IOException: Failed to copy /home/builduser/workspace/homepage/homepage/script=integration-group3/test/log/testium/proxy.log to /home/builduser/workspace/homepage/homepage/test/log/testium/proxy.log
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.io.FileNotFoundException

    com/mycompany/myapp/beans/pitches/PitchDataBean.java (No such file or directory)

    at java.io.FileInputStream.open()
  2. Java RT
    FileInputStream.<init>
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(FileInputStream.java:106)
    2 frames
  3. Hudson
    FilePath$FileCallableWrapper.call
    1. hudson.FilePath$30.invoke(FilePath.java:1364)
    2. hudson.FilePath$30.invoke(FilePath.java:1360)
    3. hudson.FilePath$FileCallableWrapper.call(FilePath.java:1899)
    3 frames
  4. Hudson :: Remoting Layer
    LocalChannel.call
    1. hudson.remoting.LocalChannel.call(LocalChannel.java:45)
    1 frame
  5. Hudson
    FilePath.copyTo
    1. hudson.FilePath.act(FilePath.java:742)
    2. hudson.FilePath.act(FilePath.java:735)
    3. hudson.FilePath.copyTo(FilePath.java:1360)
    3 frames
  6. Static Analysis Utilities
    HealthAwarePublisher.perform
    1. hudson.plugins.analysis.core.HealthAwarePublisher.copyFilesWithAnnotationsToBuildFolder(HealthAwarePublisher.java:264)
    2. hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:226)
    2 frames
  7. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
    2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
    3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
    4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
    5. hudson.model.Build$RunnerImpl.post2(Build.java:158)
    6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
    7. hudson.model.Run.run(Run.java:1280)
    8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    9. hudson.model.ResourceController.execute(ResourceController.java:88)
    10. hudson.model.Executor.run(Executor.java:127)
    10 frames