java.io.IOException: Cannot delete file /opt/choicestream/apps/buildAgent/work/9f3179dbf35c6792        at jetbrains.buildServer.vcs.patches.PatcherImpl.deleteFile(PatcherImpl.java:150) at jetbrains.buildServer.vcs.patches.AbstractPatcher$1.delete(AbstractPatcher.java:53)        at jetbrains.buildServer.vcs.patches.LowLevelPatcher.applyPatch(LowLevelPatcher.java:93) at jetbrains.buildServer.vcs.patches.AbstractPatcher.applyPatch(AbstractPatcher.java:50)        at jetbrains.buildServer.agent.impl.patch.ApplyPatch.execute(ApplyPatch.java:20)

jetbrains.com | 4 months ago
  1. 0

    TeamCity Build Failing: Cannot delete file.... – TeamCity

    jetbrains.com | 4 months ago
    java.io.IOException: Cannot delete file /opt/choicestream/apps/buildAgent/work/9f3179dbf35c6792        at jetbrains.buildServer.vcs.patches.PatcherImpl.deleteFile(PatcherImpl.java:150) at jetbrains.buildServer.vcs.patches.AbstractPatcher$1.delete(AbstractPatcher.java:53)        at jetbrains.buildServer.vcs.patches.LowLevelPatcher.applyPatch(LowLevelPatcher.java:93) at jetbrains.buildServer.vcs.patches.AbstractPatcher.applyPatch(AbstractPatcher.java:50)        at jetbrains.buildServer.agent.impl.patch.ApplyPatch.execute(ApplyPatch.java:20)
  2. 0

    Improve behavior on inability to delete directory on clean patch and server-side checkout

    YouTrack | 8 years ago
    java.io.IOException: Cannot delete file C:\work\BuildAgent\work\8d37a57fce8c0f81
  3. 0

    Directory is not cleaned after enforce clean checkout and checkout on agent

    YouTrack | 8 years ago
    java.io.IOException: Cannot delete file C:\work\BuildAgent\work\8d37a57fce8c0f81
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JUnit in Ant build script attempting and failing to delete .svn directory

    Stack Overflow | 5 years ago | Leonard Thieu
    java.io.IOException: couldn't delete .svn [junit] at org.apache.lucene.store.FSDirectory.create(FSDirectory.java:166)
  6. 0

    Artifactory / Mailing Lists

    sourceforge.net | 4 months ago
    java.io.IOException: Unable to delete directory /auto/csmre-sjc-1/wdir/sjc-csm-lx-1/artifactory/repos/tmp/local-repo-118 1783213360/com/cisco/nm/vms/firewall/common/shared. =20 The last warning is due to a .nfs file which has not been removed. This by itself is not a problem although it leaves a little junk left over. =20 The string 158b0ff7-587a-46e7-8873-1a1fbcb293d9 is consistent every time. =20 Several different builds fail in this way, but they all have one folder in common which corresponds to firewall/common/shared. =20 Various searches have turned up only one similar corruption, but the suggested workaround (restart) did not work. =20 If you have any suggestions on how to proceed, it would be greatly appreciated. Repair seems far preferable to restoration of an old copy since other aspect of the database have continued to progress. I would also like to minimize downtime as well. =20 Thank you in advance! =20 -Joe=20 =20 P.S. Full text of the error messages from catalina.out follows: =20 2007-06-13 18:06:57,315 [ERROR] persistence.db.DatabasePersistenceManager - failed to read property state: 158b0ff7-587a-46e7-8873-1a1fbcb293d9/{ java.io.IOException: /15/8b/0ff7587a46e788731a1fbcb293d9/%7bhttp%3a%2f%2fwww.jcp.org%2fjcr%2f 1.0%7ddata.0.bin: the specified resource does not exist at org.apache.jackrabbit.core.value.BLOBFileValue.<init>(BLOBFileValue.java :231) at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java :220) at org.apache.jackrabbit.core.persistence.util.Serializer.deserialize(Seria lizer.java:291) at org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.loa d(DatabasePersistenceManager.java:383) at org.apache.jackrabbit.core.state.SharedItemStateManager.loadItemState(Sh aredItemStateManager.java:1103) at org.apache.jackrabbit.core.state.SharedItemStateManager.getNonVirtualIte mState(SharedItemStateManager.java:1028) at org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(Sha redItemStateManager.java:250) at org.apache.jackrabbit.core.state.LocalItemStateManager.getPropertyState( LocalItemStateManager.java:120) at org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(Loca lItemStateManager.java:152) at org.apache.jackrabbit.core.state.XAItemStateManager.getItemState(XAItemS tateManager.java:226) at org.apache.jackrabbit.core.state.SessionItemStateManager.getItemState(Se ssionItemStateManager.java:177) at org.apache.jackrabbit.core.ItemManager.createItemInstance(ItemManager.ja va:465) at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:323) at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:676) at org.apache.jackrabbit.core.NodeImpl.onRemove(NodeImpl.java:661) at org.apache.jackrabbit.core.NodeImpl.removeChildNode(NodeImpl.java:625) at org.apache.jackrabbit.core.ItemImpl.internalRemove(ItemImpl.java:865) at org.apache.jackrabbit.core.ItemImpl.remove(ItemImpl.java:1049) at org.artifactory.jcr.JcrHelper.importStream(JcrHelper.java:224)

    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

      Cannot delete file /opt/choicestream/apps/buildAgent/work/9f3179dbf35c6792        at jetbrains.buildServer.vcs.patches.PatcherImpl.deleteFile(PatcherImpl.java:150) at jetbrains.buildServer.vcs.patches.AbstractPatcher$1.delete(AbstractPatcher.java:53)        at jetbrains.buildServer.vcs.patches.LowLevelPatcher.applyPatch(LowLevelPatcher.java:93) at jetbrains.buildServer.vcs.patches.AbstractPatcher.applyPatch(AbstractPatcher.java:50)        at jetbrains.buildServer.agent.impl.patch.ApplyPatch.execute(ApplyPatch.java:20)

      at jetbrains.buildServer.agent.impl.patch.ProjectSourcesGetter.applyPatch()
    2. TeamCity Build Server
      ProjectSourcesGetter.applyPatch
      1. jetbrains.buildServer.agent.impl.patch.ProjectSourcesGetter.applyPatch(ProjectSourcesGetter.java:258)
      1 frame