Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5491

Can't resolve absolute file name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • findbugs-plugin
    • None
    • Master and Slave are running on Linux (2.6.9-42.ELsmp)

      Findbugs XML file generated on the Slave (Linux box)

      There are two separate errors occur:
      1) During the build when Findbugs plugin parsing XML file
      2) After the build is complete, user checking for the Findbugs report and trying to open JAVA source file.

      This is output from log file of Linux Slave during the build:

      Feb 3, 2010 1:36:15 PM hudson.plugins.findbugs.parser.NativeFindBugsParser parse

      WARNING: Can't resolve absolute file name for file AlphabeticalOrder.java, dir list = [/hudson/artifacts/src, /hudson/workspace/aaa/buildResult/reports/findbugs/findbugs-report.xml/src/main/java, /hudson/workspace/aaa/buildResult/reports/findbugs/findbugs-report.xml/src/test/java, /hudson/workspace/aaa/buildResult/reports/findbugs/findbugs-report.xml/src]

      This is error output on HTML page when user click on the JAVA source file name:

      01 hudson.util.IOException2: remote file operation failed: com/unionbank/aaa/XXXX.java at hudson.remoting.Channel@85def8:ABE dev-1
      02 at hudson.FilePath.act(FilePath.java:690)
      03 at hudson.FilePath.act(FilePath.java:676)
      04 at hudson.FilePath.copyTo(FilePath.java:1301)
      05 at hudson.plugins.analysis.core.HealthAwarePublisher.copyFilesWithAnnotationsToBuildFolder(HealthAwarePublisher.java:185)
      06 at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:148)
      07 at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
      08 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582)
      09 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563)
      10 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550)
      11 at hudson.model.Build$RunnerImpl.post2(Build.java:152)
      12 at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      13 at hudson.model.Run.run(Run.java:1221)
      14 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      15 at hudson.model.ResourceController.execute(ResourceController.java:88)
      16 at hudson.model.Executor.run(Executor.java:122)
      17 Caused by: java.io.FileNotFoundException: com/aaa/XXXX.java (No such file or directory)
      18 at java.io.FileInputStream.open(Native Method)
      19 at java.io.FileInputStream.<init>(FileInputStream.java:106)
      20 at hudson.FilePath$30.invoke(FilePath.java:1305)
      21 at hudson.FilePath$30.invoke(FilePath.java:1301)
      22 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1962)
      23 at hudson.remoting.UserRequest.perform(UserRequest.java:104)
      24 at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      25 at hudson.remoting.Request$2.run(Request.java:270)
      26 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      27 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      28 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      29 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      30 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      31 at java.lang.Thread.run(Thread.java:619)
      32 Can't copy file from workspace to build folder: workspace=com/aaaa/XXXX.java, build folder=hudson/jobs/aaa/builds/2010-02-03_12-39-25/workspace-files/2214cfd.tmp

            drulli Ulli Hafner
            eagleigor eagleigor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: