java.io.IOException: Unable to delete 'C:\Users\Justin\.jenkins\tools\hudson.model.JDK'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.

Stack Overflow | Tony Stark | 3 months ago
  1. 0

    having trouble during initial build for project "gameoflife" when following "jenkins the definitive guide" by john ferguson

    Stack Overflow | 3 months ago | Tony Stark
    java.io.IOException: Unable to delete 'C:\Users\Justin\.jenkins\tools\hudson.model.JDK'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.
  2. 0

    copy_resources fails to delete directory

    GitHub | 2 years ago | mread
    java.nio.file.DirectoryNotEmptyException: /xxx/buck-out/bin/test/com/facebook/buck/java/__java_test_java_tmp__/junit8251078377745712488/buck-out/bin/java/com/example/lib__resources__classes/data
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 7935#131764994

    GitHub | 1 year ago | wildfly-ci
    java.nio.file.DirectoryNotEmptyException: /opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/basic/target/jbossas/standalone/data/content/24

    2 unregistered visitors
    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.nio.file.DirectoryNotEmptyException

      C:\Users\Justin\.jenkins\tools\hudson.model.JDK

      at sun.nio.fs.WindowsFileSystemProvider.implDelete()
    2. Java RT
      Files.deleteIfExists
      1. sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
      2. sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(Unknown Source)
      3. java.nio.file.Files.deleteIfExists(Unknown Source)
      3 frames
    3. Hudson
      Executor.run
      1. hudson.Util.tryOnceDeleteFile(Util.java:296)
      2. hudson.Util.deleteFile(Util.java:252)
      3. hudson.FilePath.deleteRecursive(FilePath.java:1231)
      4. hudson.FilePath.access$1000(FilePath.java:195)
      5. hudson.FilePath$14.invoke(FilePath.java:1201)
      6. hudson.FilePath$14.invoke(FilePath.java:1198)
      7. hudson.FilePath.act(FilePath.java:1018)
      8. hudson.FilePath.act(FilePath.java:996)
      9. hudson.FilePath.deleteRecursive(FilePath.java:1198)
      10. hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:133)
      11. hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68)
      12. hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:109)
      13. hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206)
      14. hudson.model.JDK.forNode(JDK.java:144)
      15. hudson.model.AbstractProject.getEnvironment(AbstractProject.java:357)
      16. hudson.model.Run.getEnvironment(Run.java:2232)
      17. hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:922)
      18. hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:146)
      19. hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
      20. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      21. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      22. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
      23. hudson.model.Build$BuildExecution.post2(Build.java:185)
      24. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
      25. hudson.model.Run.execute(Run.java:1766)
      26. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      27. hudson.model.ResourceController.execute(ResourceController.java:98)
      28. hudson.model.Executor.run(Executor.java:410)
      28 frames