hudson.AbortException: Cannot delete workspace: 0

Jenkins JIRA | vjuranek | 2 years ago
  1. 0

    When any include patter is specified, ws clenaup fails with {noformat} SEVERE: null java.lang.ArrayIndexOutOfBoundsException: 0 at java.lang.ProcessBuilder.start(ProcessBuilder.java:1012) at hudson.plugins.ws_cleanup.Cleanup.invoke(Cleanup.java:121) at hudson.FilePath.act(FilePath.java:784) at hudson.FilePath.act(FilePath.java:766) at hudson.plugins.ws_cleanup.WsCleanup.perform(WsCleanup.java:165) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650) at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171) at hudson.model.Run.run(Run.java:1448) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Jun 18, 2014 11:33:13 PM hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps WARNING: Publisher hudson.plugins.ws_cleanup.WsCleanup aborted due to exception hudson.AbortException: Cannot delete workspace: 0 at hudson.plugins.ws_cleanup.WsCleanup.perform(WsCleanup.java:180) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650) at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171) at hudson.model.Run.run(Run.java:1448) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) {noformat}

    Jenkins JIRA | 2 years ago | vjuranek
    hudson.AbortException: Cannot delete workspace: 0
  2. 0

    When any include patter is specified, ws clenaup fails with {noformat} SEVERE: null java.lang.ArrayIndexOutOfBoundsException: 0 at java.lang.ProcessBuilder.start(ProcessBuilder.java:1012) at hudson.plugins.ws_cleanup.Cleanup.invoke(Cleanup.java:121) at hudson.FilePath.act(FilePath.java:784) at hudson.FilePath.act(FilePath.java:766) at hudson.plugins.ws_cleanup.WsCleanup.perform(WsCleanup.java:165) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650) at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171) at hudson.model.Run.run(Run.java:1448) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Jun 18, 2014 11:33:13 PM hudson.model.AbstractBuild$AbstractRunner performAllBuildSteps WARNING: Publisher hudson.plugins.ws_cleanup.WsCleanup aborted due to exception hudson.AbortException: Cannot delete workspace: 0 at hudson.plugins.ws_cleanup.WsCleanup.perform(WsCleanup.java:180) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650) at hudson.model.Build$RunnerImpl.cleanUp(Build.java:171) at hudson.model.Run.run(Run.java:1448) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) {noformat}

    Jenkins JIRA | 2 years ago | vjuranek
    hudson.AbortException: Cannot delete workspace: 0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    [JIRA] [p4-plugin] (JENKINS-28213) Force syncing a workspace that does not exist on the filesystem causes a FileNotFoundException

    Google Groups | 2 years ago | rpo...@gmail.com (JIRA)
    org.jenkinsci.plugins.workflow.cps.steps.ParallelStepException: Parallel step product1 failed

    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. hudson.AbortException

      Cannot delete workspace: 0

      at hudson.plugins.ws_cleanup.WsCleanup.perform()
    2. hudson.plugins.ws_cleanup
      WsCleanup.perform
      1. hudson.plugins.ws_cleanup.WsCleanup.perform(WsCleanup.java:180)
      1 frame
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:697)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:672)
      4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:650)
      5. hudson.model.Build$RunnerImpl.cleanUp(Build.java:171)
      6. hudson.model.Run.run(Run.java:1448)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:238)
      9 frames