java.nio.file.DirectoryNotEmptyException: /var/lib/jenkins/jobs/Admin/jobs/Prepare_Jenkins_Repo_All_Slaves/builds/lastSuccessfulBuild

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Jakub Gladykowski, 1 year 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 Jenkins JIRA by Amgad Hanafy, 1 year ago
/jenkins/jobs/builds/lastFailedBuild
via Jenkins JIRA by Amgad Hanafy, 1 year ago
/jenkins/jobs/builds/lastFailedBuild
via GitHub by damomurf
, 1 year ago
/var/lib/jenkins/logs/slaves/mesos-jenkins-46d44420a791422b99e624221fcffb3a-mesos-java8
via Google Groups by anand reddy akidi, 3 months ago
/var/kstreams-denormalizer/state/playerstats-beta-test3/6_58
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 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 jenkins.model.Jenkins$7.runTask(Jenkins.java:905)
at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
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)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.