java.io.IOException: Unable to delete D:\Programs\hudson\jobs\Anagram\workspace\.hg\hgrc

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-ci.org by Unknown author, 2 years ago
via jenkins-ci.org by Unknown author, 2 years ago
via Jenkins JIRA by njsf, 1 year ago
Unable to delete <FOLDER_NAME> - files in dir: [<WEB_REFERENCE_FILE>]
via Jenkins JIRA by dougbrinkmeier, 1 year ago
Unable to delete <FOLDER_NAME> - files in dir: [<WEB_REFERENCE_FILE>]
java.io.IOException: Unable to delete D:\Programs\hudson\jobs\Anagram\workspace\.hg\hgrc
at hudson.Util.deleteFile(Util.java:140)
at hudson.Util.deleteRecursive(Util.java:148)
at hudson.Util.deleteContentsRecursive(Util.java:119)
at hudson.Util.deleteRecursive(Util.java:147)
at hudson.Util.deleteContentsRecursive(Util.java:119)
at hudson.Util.deleteRecursive(Util.java:147)
at hudson.FilePath$5.invoke(FilePath.java:342)
at hudson.FilePath$5.invoke(FilePath.java:340)
at hudson.FilePath.act(FilePath.java:280)
at hudson.FilePath.deleteRecursive(FilePath.java:340)
at hudson.plugins.mercurial.MercurialSCM.clone(MercurialSCM.java:183)
at hudson.plugins.mercurial.MercurialSCM.checkout(MercurialSCM.java:125)
at hudson.model.AbstractProject.checkout(AbstractProject.java:518)
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:213)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:179)
at hudson.model.Run.run(Run.java:579)
at hudson.model.Build.run(Build.java:103)
at hudson.model.ResourceController.execute(ResourceController.java:66)
at hudson.model.Executor.run(Executor.java:62)

Users with the same issue

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.