java.nio.file.DirectoryNotEmptyException

/var/lib/jenkins/jobs/Admin/jobs/Prepare_Jenkins_Repo_All_Slaves/builds/lastSuccessfulBuild

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web40

  • via Jenkins JIRA by Jakub Gladykowski, 11 months ago
    /var/lib/jenkins/jobs/Admin/jobs/Prepare_Jenkins_Repo_All_Slaves/builds/lastSuccessfulBuild
  • via Jenkins JIRA by Jakub Gladykowski, 1 year ago
    /var/lib/jenkins/jobs/Admin/jobs/Prepare_Jenkins_Repo_All_Slaves/builds/lastSuccessfulBuild
  • via Google Groups by Anca Cimpoaca, 4 months ago
    C:\jenkins\home\jobs\CI FrontEnd\builds\lastSuccessfulBuild
  • Stack trace

    • java.nio.file.DirectoryNotEmptyException: /var/lib/jenkins/jobs/Admin/jobs/Prepare_Jenkins_Repo_All_Slaves/builds/lastSuccessfulBuild at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:242) at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103) at java.nio.file.Files.delete(Files.java:1126) at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at hudson.Util.deleteFile(Util.java:247) at hudson.util.AtomicFileWriter.commit(AtomicFileWriter.java:113) at jenkins.model.PeepholePermalink.writeSymlink(PeepholePermalink.java:200) at jenkins.model.PeepholePermalink.updateCache(PeepholePermalink.java:150) at jenkins.model.PeepholePermalink.resolve(PeepholePermalink.java:122) at hudson.model.Job.getLastSuccessfulBuild(Job.java:891) at jenkins.tasks.SimpleBuildStep$LastBuildActionFactory.createFor(SimpleBuildStep.java:111) at jenkins.tasks.SimpleBuildStep$LastBuildActionFactory.createFor(SimpleBuildStep.java:101) at hudson.model.Actionable.createFor(Actionable.java:107) at hudson.model.Actionable.getAllActions(Actionable.java:98) at hudson.model.Actionable.getActions(Actionable.java:119) at org.jenkinsci.plugins.testresultsanalyzer.TestResultsAnalyzerExtension.createFor(TestResultsAnalyzerExtension.java:19) at hudson.model.AbstractProject.createTransientActions(AbstractProject.java:769) at hudson.model.Project.createTransientActions(Project.java:241) at hudson.model.AbstractProject.updateTransientActions(AbstractProject.java:758) at hudson.model.AbstractProject.onLoad(AbstractProject.java:342) at hudson.model.Project.onLoad(Project.java:98) at hudson.model.Items.load(Items.java:327) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:109) at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:239) at hudson.model.Items.load(Items.java:327) at jenkins.model.Jenkins$17.run(Jenkins.java:2666) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:905) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    1 more bugmates