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

Copy source file fails with maven build

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I have just updated to version 2.1 and enabled this plugin for my maven based build job and I get the many stacktraces, which look like this:

      [android-lint] Can't copy source file: source=res/layout/layout.xml, destination=b263fde3.tmp
      hudson.util.IOException2: Failed to copy res/layout/layout.xml to /var/lib/jenkins/jobs/ProjectJob/modules/<group-id>$<artifact-id>/builds/2013-04-12_08-38-52/workspace-files/b263fde3.tmp
      	at hudson.FilePath.copyTo(FilePath.java:1725)
      	at hudson.plugins.analysis.core.HealthAwareReporter.copyFilesWithAnnotationsToBuildFolder(HealthAwareReporter.java:463)
      	at hudson.plugins.analysis.core.HealthAwareReporter.postExecute(HealthAwareReporter.java:340)
      	at hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoEnded(Maven3Builder.java:453)
      	at hudson.maven.Maven3Builder$MavenExecutionListener.mojoSucceeded(Maven3Builder.java:435)
      	at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:87)
      	at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:228)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
      	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      	at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
      	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 org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
      	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
      	at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
      	at hudson.maven.Maven3Builder.call(Maven3Builder.java:100)
      	at hudson.maven.Maven3Builder.call(Maven3Builder.java:66)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      	at hudson.remoting.Request$2.run(Request.java:326)
      	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      	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)
      Caused by: java.io.FileNotFoundException: res/layout/layout.xml (No such file or directory)
      	at java.io.FileInputStream.open(Native Method)
      	at java.io.FileInputStream.<init>(FileInputStream.java:120)
      	at hudson.FilePath$33.invoke(FilePath.java:1751)
      	at hudson.FilePath$33.invoke(FilePath.java:1746)
      	at hudson.FilePath.act(FilePath.java:904)
      	at hudson.FilePath.act(FilePath.java:877)
      	at hudson.FilePath.copyTo(FilePath.java:1746)
      	at hudson.FilePath.copyTo(FilePath.java:1720)
      	... 34 more
      

      My Project folder structure is like this:
      / = parent-Module
      /module = android-module with lint-results

        Attachments

          Activity

          Hide
          jlimek Juliusz Limek added a comment -

          I have the same exception in version 2.1

          [android-lint] Can't copy source file: source=res/layout/location_status_view_ab.xml, destination=36adf20b.tmp
          hudson.util.IOException2: Failed to copy res/layout/location_status_view_ab.xml to C:\.jenkins\jobs\<job-name>\modules\<group-id>$<artifact-id>\builds\2013-04-22_16-56-05\workspace-files\36adf20b.tmp
          at hudson.FilePath.copyTo(FilePath.java:1573)
          at hudson.plugins.analysis.core.HealthAwareReporter.copyFilesWithAnnotationsToBuildFolder(HealthAwareReporter.java:463)
          at hudson.plugins.analysis.core.HealthAwareReporter.postExecute(HealthAwareReporter.java:340)
          at hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoEnded(Maven3Builder.java:421)
          at hudson.maven.Maven3Builder$MavenExecutionListener.mojoFailed(Maven3Builder.java:448)
          at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:90)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:232)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
          at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
          at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
          at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
          at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:601)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
          at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
          at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
          at hudson.maven.Maven3Builder.call(Maven3Builder.java:98)
          at hudson.maven.Maven3Builder.call(Maven3Builder.java:64)
          at hudson.remoting.UserRequest.perform(UserRequest.java:118)
          at hudson.remoting.UserRequest.perform(UserRequest.java:48)
          at hudson.remoting.Request$2.run(Request.java:326)
          at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
          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:722)
          Caused by: java.io.FileNotFoundException: res\layout\location_status_view_ab.xml (The system cannot find the path specified)
          at java.io.FileInputStream.open(Native Method)
          at java.io.FileInputStream.<init>(FileInputStream.java:138)
          at hudson.FilePath$33.invoke(FilePath.java:1599)
          at hudson.FilePath$33.invoke(FilePath.java:1594)
          at hudson.FilePath.act(FilePath.java:842)
          at hudson.FilePath.act(FilePath.java:824)
          at hudson.FilePath.copyTo(FilePath.java:1594)
          at hudson.FilePath.copyTo(FilePath.java:1568)
          ... 33 more

          Show
          jlimek Juliusz Limek added a comment - I have the same exception in version 2.1 [android-lint] Can't copy source file: source=res/layout/location_status_view_ab.xml, destination=36adf20b.tmp hudson.util.IOException2: Failed to copy res/layout/location_status_view_ab.xml to C:\.jenkins\jobs\<job-name>\modules\<group-id>$<artifact-id>\builds\2013-04-22_16-56-05\workspace-files\36adf20b.tmp at hudson.FilePath.copyTo(FilePath.java:1573) at hudson.plugins.analysis.core.HealthAwareReporter.copyFilesWithAnnotationsToBuildFolder(HealthAwareReporter.java:463) at hudson.plugins.analysis.core.HealthAwareReporter.postExecute(HealthAwareReporter.java:340) at hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoEnded(Maven3Builder.java:421) at hudson.maven.Maven3Builder$MavenExecutionListener.mojoFailed(Maven3Builder.java:448) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:90) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:232) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158) at hudson.maven.Maven3Builder.call(Maven3Builder.java:98) at hudson.maven.Maven3Builder.call(Maven3Builder.java:64) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 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:722) Caused by: java.io.FileNotFoundException: res\layout\location_status_view_ab.xml (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:138) at hudson.FilePath$33.invoke(FilePath.java:1599) at hudson.FilePath$33.invoke(FilePath.java:1594) at hudson.FilePath.act(FilePath.java:842) at hudson.FilePath.act(FilePath.java:824) at hudson.FilePath.copyTo(FilePath.java:1594) at hudson.FilePath.copyTo(FilePath.java:1568) ... 33 more
          Hide
          hameno Philip Schiffer added a comment -

          Any update to this? It's a really annoying bug

          Show
          hameno Philip Schiffer added a comment - Any update to this? It's a really annoying bug
          Hide
          orrc Christopher Orr added a comment -

          Can you possibly try running the Maven lint task with the `android.lint.fullpath` parameter set to `true`?

          Show
          orrc Christopher Orr added a comment - Can you possibly try running the Maven lint task with the `android.lint.fullpath` parameter set to `true`?
          Hide
          tobias123 Tobias Olsson added a comment -

          With fullpath it still tries to copy directories which of course fails.

          [INFO] Running command: /usr/local/android-sdk-linux/tools/lint
          [INFO] with parameters: [-Wall, --fullpath, --showall, --xml, /var/lib/jenkins/workspace/Coconut-gerrit/application/target/lint-results/lint-results.xml, --sources, /var/lib/jenkins/workspace/Coconut-gerrit/application/src/main/java, /var/lib/jenkins/workspace/Coconut-gerrit/application, --exitcode]
          [INFO] Lint analysis completed successfully.
          [android-lint] Finding all files that match the pattern **/lint-results.xml
          [android-lint] Parsing 1 files in /var/lib/jenkins/workspace/Coconut-gerrit/application/target
          [android-lint] Successfully parsed file /var/lib/jenkins/workspace/Coconut-gerrit/application/target/lint-results/lint-results.xml of module coconut-viewer with 13 warnings.
          [android-lint] Computing warning deltas based on reference build #168
          [android-lint] Can't copy source file: source=/var/lib/jenkins/workspace/Coconut-gerrit/application/res/drawable-xhdpi, destination=680e2f66.tmp
          hudson.util.IOException2: Failed to copy /var/lib/jenkins/workspace/Coconut-gerrit/application/res/drawable-xhdpi to /var/lib/jenkins/jobs/Coconut-gerrit/modules/foo$application/builds/2013-06-20_10-34-04/workspace-files/680e2f66.tmp

          Show
          tobias123 Tobias Olsson added a comment - With fullpath it still tries to copy directories which of course fails. [INFO] Running command: /usr/local/android-sdk-linux/tools/lint [INFO] with parameters: [-Wall, --fullpath, --showall, --xml, /var/lib/jenkins/workspace/Coconut-gerrit/application/target/lint-results/lint-results.xml, --sources, /var/lib/jenkins/workspace/Coconut-gerrit/application/src/main/java, /var/lib/jenkins/workspace/Coconut-gerrit/application, --exitcode] [INFO] Lint analysis completed successfully. [android-lint] Finding all files that match the pattern **/lint-results.xml [android-lint] Parsing 1 files in /var/lib/jenkins/workspace/Coconut-gerrit/application/target [android-lint] Successfully parsed file /var/lib/jenkins/workspace/Coconut-gerrit/application/target/lint-results/lint-results.xml of module coconut-viewer with 13 warnings. [android-lint] Computing warning deltas based on reference build #168 [android-lint] Can't copy source file: source=/var/lib/jenkins/workspace/Coconut-gerrit/application/res/drawable-xhdpi, destination=680e2f66.tmp hudson.util.IOException2: Failed to copy /var/lib/jenkins/workspace/Coconut-gerrit/application/res/drawable-xhdpi to /var/lib/jenkins/jobs/Coconut-gerrit/modules/foo$application/builds/2013-06-20_10-34-04/workspace-files/680e2f66.tmp
          Hide
          krischik Martin Krischik added a comment -

          Tried android.lint.fullpath — did not help. I guess for now I have to switch Publish “Android Lint results” off. To bad. Would have been useful.

          Show
          krischik Martin Krischik added a comment - Tried android.lint.fullpath — did not help. I guess for now I have to switch Publish “Android Lint results” off. To bad. Would have been useful.
          Hide
          frantam Franta Mejta added a comment -

          I have the same exception with findbugs:

          01:49:40 [FINDBUGS] Can't copy source file: source=java/text/SimpleDateFormat.java, destination=1ef9e5a4.tmp
          01:49:40 hudson.util.IOException2: Failed to copy java/text/SimpleDateFormat.java to /var/lib/jenkins/jobs/<job>/modules/<module>/builds/2013-08-15_00-23-29/workspace-files/1ef9e5a4.tmp
          01:49:40 	at hudson.FilePath.copyTo(FilePath.java:1755)
          01:49:40 	at hudson.plugins.analysis.core.HealthAwareReporter.copyFilesWithAnnotationsToBuildFolder(HealthAwareReporter.java:481)
          01:49:40 	at hudson.plugins.analysis.core.HealthAwareReporter.postExecute(HealthAwareReporter.java:331)
          01:49:40 	at hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoEnded(Maven3Builder.java:565)
          01:49:40 	at hudson.maven.Maven3Builder$MavenExecutionListener.mojoFailed(Maven3Builder.java:597)
          01:49:40 	at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:90)
          01:49:40 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:232)
          01:49:40 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
          01:49:40 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
          01:49:40 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
          01:49:40 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
          01:49:40 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
          01:49:40 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
          01:49:40 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
          01:49:40 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
          01:49:40 	at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117)
          01:49:40 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          01:49:40 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          01:49:40 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          01:49:40 	at java.lang.reflect.Method.invoke(Method.java:606)
          01:49:40 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
          01:49:40 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
          01:49:40 	at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:178)
          01:49:40 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          01:49:40 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          01:49:40 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          01:49:40 	at java.lang.reflect.Method.invoke(Method.java:606)
          01:49:40 	at hudson.maven.Maven3Builder.call(Maven3Builder.java:130)
          01:49:40 	at hudson.maven.Maven3Builder.call(Maven3Builder.java:67)
          01:49:40 	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
          01:49:40 	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
          01:49:40 	at hudson.remoting.Request$2.run(Request.java:326)
          01:49:40 	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
          01:49:40 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
          01:49:40 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
          01:49:40 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
          01:49:40 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
          01:49:40 	at java.lang.Thread.run(Thread.java:724)
          01:49:40 Caused by: java.io.FileNotFoundException: java/text/SimpleDateFormat.java (No such file or directory)
          01:49:40 	at java.io.FileInputStream.open(Native Method)
          01:49:40 	at java.io.FileInputStream.<init>(FileInputStream.java:138)
          01:49:40 	at hudson.FilePath$34.invoke(FilePath.java:1781)
          01:49:40 	at hudson.FilePath$34.invoke(FilePath.java:1776)
          01:49:40 	at hudson.FilePath.act(FilePath.java:909)
          01:49:40 	at hudson.FilePath.act(FilePath.java:882)
          01:49:40 	at hudson.FilePath.copyTo(FilePath.java:1776)
          01:49:40 	at hudson.FilePath.copyTo(FilePath.java:1750)
          01:49:40 	... 37 more
          
          Show
          frantam Franta Mejta added a comment - I have the same exception with findbugs: 01:49:40 [FINDBUGS] Can't copy source file: source=java/text/SimpleDateFormat.java, destination=1ef9e5a4.tmp 01:49:40 hudson.util.IOException2: Failed to copy java/text/SimpleDateFormat.java to / var /lib/jenkins/jobs/<job>/modules/<module>/builds/2013-08-15_00-23-29/workspace-files/1ef9e5a4.tmp 01:49:40 at hudson.FilePath.copyTo(FilePath.java:1755) 01:49:40 at hudson.plugins.analysis.core.HealthAwareReporter.copyFilesWithAnnotationsToBuildFolder(HealthAwareReporter.java:481) 01:49:40 at hudson.plugins.analysis.core.HealthAwareReporter.postExecute(HealthAwareReporter.java:331) 01:49:40 at hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoEnded(Maven3Builder.java:565) 01:49:40 at hudson.maven.Maven3Builder$MavenExecutionListener.mojoFailed(Maven3Builder.java:597) 01:49:40 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:90) 01:49:40 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:232) 01:49:40 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) 01:49:40 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) 01:49:40 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) 01:49:40 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) 01:49:40 at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) 01:49:40 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) 01:49:40 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) 01:49:40 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) 01:49:40 at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117) 01:49:40 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 01:49:40 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 01:49:40 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 01:49:40 at java.lang.reflect.Method.invoke(Method.java:606) 01:49:40 at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) 01:49:40 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) 01:49:40 at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:178) 01:49:40 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 01:49:40 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 01:49:40 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 01:49:40 at java.lang.reflect.Method.invoke(Method.java:606) 01:49:40 at hudson.maven.Maven3Builder.call(Maven3Builder.java:130) 01:49:40 at hudson.maven.Maven3Builder.call(Maven3Builder.java:67) 01:49:40 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 01:49:40 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 01:49:40 at hudson.remoting.Request$2.run(Request.java:326) 01:49:40 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 01:49:40 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 01:49:40 at java.util.concurrent.FutureTask.run(FutureTask.java:166) 01:49:40 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 01:49:40 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 01:49:40 at java.lang. Thread .run( Thread .java:724) 01:49:40 Caused by: java.io.FileNotFoundException: java/text/SimpleDateFormat.java (No such file or directory) 01:49:40 at java.io.FileInputStream.open(Native Method) 01:49:40 at java.io.FileInputStream.<init>(FileInputStream.java:138) 01:49:40 at hudson.FilePath$34.invoke(FilePath.java:1781) 01:49:40 at hudson.FilePath$34.invoke(FilePath.java:1776) 01:49:40 at hudson.FilePath.act(FilePath.java:909) 01:49:40 at hudson.FilePath.act(FilePath.java:882) 01:49:40 at hudson.FilePath.copyTo(FilePath.java:1776) 01:49:40 at hudson.FilePath.copyTo(FilePath.java:1750) 01:49:40 ... 37 more
          Hide
          orrc Christopher Orr added a comment -

          Franta: I believe you should ensure that your FindBugs output includes full paths, rather than relative paths. Not 100% sure. But if you still have the issue, you can file that as a separate bug against the "findbugs" component here in JIRA.

          Tobias: Ah, thanks for the hint about trying to copy directories. I wonder why this works for non-Maven builds, but not for Maven. I'll take a look.

          Show
          orrc Christopher Orr added a comment - Franta: I believe you should ensure that your FindBugs output includes full paths, rather than relative paths. Not 100% sure. But if you still have the issue, you can file that as a separate bug against the "findbugs" component here in JIRA. Tobias: Ah, thanks for the hint about trying to copy directories. I wonder why this works for non-Maven builds, but not for Maven. I'll take a look.

            People

            • Assignee:
              orrc Christopher Orr
              Reporter:
              hameno Philip Schiffer
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: