java.io.IOException: Unable to delete file: D:\sData\gitbucket\data\repositories\axmsa\bdx-friday-hacks.git\objects\pack\pack-1b29fc8e9c84824f2c43152be8efbd1306e60d0e.pack

GitHub | McFoggy | 4 months ago
  1. 0

    GitHub comment 998#237777599

    GitHub | 4 months ago | McFoggy
    java.io.IOException: Unable to delete file: D:\sData\gitbucket\data\repositories\axmsa\bdx-friday-hacks.git\objects\pack\pack-1b29fc8e9c84824f2c43152be8efbd1306e60d0e.pack
  2. 0

    How do I rename a folder on my local machine using Java?

    Stack Overflow | 2 years ago | hunterInt
    java.io.IOException: Unable to delete file: C:\webapps\37\WEB-INF\lib\stax-api-1.0-2.jar
  3. 0

    Snapshot HTML code is not generated

    GitHub | 4 years ago | khanmurtuza
    java.io.IOException: Unable to delete file: C:\**\spoon\spoon-sample\tests\target\spoon-output\work\0A3C0E570B00B004\app_spoon-screenshots\com.example.spoon.ordering.tests.LoginActivityTest\testValidValues_StartsNewActivity\1360878675303_next_activity_shown.png
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error when delete repository

    GitHub | 2 years ago | losper
    java.io.IOException: Unable to delete file: d:\dev\repo\gitbucket\repositories\liuwenjun\spms.git\objects\pack\pack-60af82734d0e4161b7267c95d7b8f8b9d45fae0e.pack
  6. 0

    When building a job with a git branch specifier that ends with a wildcard (ie origin/feature/* or origin/feature**) jenkins never releases its hold on .git/object/pack/*.pack files. This causes the next build to not be able to wipe the workspace. This is not a problem if the branch specifier does not end with a wildcard. The *.pack file cannot be deleted until the javaw.exe process (JNLP connection to jenkins) is killed. The only way I have been able to get by is to not wipe the workspace before builds. This is the stack trace that this causes... {quote} Using strategy: Default Last Built Revision: Revision cfd6d3ea8c621905444d4e84b4718bf5d40cbe59 (origin/feature/jeff-test) Wiping out workspace first. hudson.util.IOException2: remote file operation failed: E:\jenkins\workspace\VoiceFirst-WebServices-feature at hudson.remoting.Channel@3007615c:VHS-Lab-YosWin0 at hudson.FilePath.act(FilePath.java:838) at hudson.FilePath.act(FilePath.java:824) at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:1044) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1200) at hudson.model.AbstractProject.checkout(AbstractProject.java:1248) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494) at hudson.model.Run.execute(Run.java:1484) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.IOException: Unable to delete E:\jenkins\workspace\VoiceFirst-WebServices-feature\.git\objects\pack\pack-7afe54f6a971bd2518f1713140acd04dee21882c.pack at hudson.Util.deleteFile(Util.java:237) at hudson.Util.deleteRecursive(Util.java:287) at hudson.Util.deleteContentsRecursive(Util.java:198) at hudson.Util.deleteRecursive(Util.java:278) at hudson.Util.deleteContentsRecursive(Util.java:198) at hudson.Util.deleteRecursive(Util.java:278) at hudson.Util.deleteContentsRecursive(Util.java:198) at hudson.Util.deleteRecursive(Util.java:278) at hudson.Util.deleteContentsRecursive(Util.java:198) at hudson.FilePath$12.invoke(FilePath.java:922) at hudson.FilePath$12.invoke(FilePath.java:920) at hudson.FilePath.act(FilePath.java:842) at hudson.FilePath.act(FilePath.java:824) at hudson.FilePath.deleteContents(FilePath.java:920) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1057) at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1044) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2180) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) 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 hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Thread.java:662) {quote}

    Jenkins JIRA | 4 years ago | Jeff Koenig
    hudson.util.IOException2: remote file operation failed: E:\jenkins\workspace\VoiceFirst-WebServices-feature at hudson.remoting.Channel@3007615c:VHS-Lab-YosWin0

    1 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.io.IOException

      Unable to delete file: D:\sData\gitbucket\data\repositories\axmsa\bdx-friday-hacks.git\objects\pack\pack-1b29fc8e9c84824f2c43152be8efbd1306e60d0e.pack

      at org.apache.commons.io.FileUtils.forceDelete()
    2. Commons IO
      FileUtils.moveDirectory
      1. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2279)
      2. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
      3. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
      4. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
      5. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
      6. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
      7. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2270)
      8. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1653)
      9. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1535)
      10. org.apache.commons.io.FileUtils.moveDirectory(FileUtils.java:2756)
      10 frames
    3. gitbucket.core.controller
      RepositorySettingsControllerBase$class.gitbucket$core$controller$RepositorySettingsControllerBase$class$$$anonfun$58$adapted
      1. gitbucket.core.controller.RepositorySettingsControllerBase$class.gitbucket$core$controller$RepositorySettingsControllerBase$class$$$anonfun$58(RepositorySettingsController.scala:330)
      2. gitbucket.core.controller.RepositorySettingsControllerBase$class.gitbucket$core$controller$RepositorySettingsControllerBase$class$$$anonfun$58$adapted(RepositorySettingsController.scala:329)
      2 frames