java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Failed to delete a file in Windows using Java
    via Stack Overflow by dammina
    ,
    • java.lang.RuntimeException: java.nio.file.FileSystemException: C:\Workspaces\neo4j-custom\neo4j\community\io\target\test-data\org.neo4j.io.fs.FileSystemAbstractionInterruptionTest\9CE79004BCCB8DD617265E761C3C433F\a: Proces nemá přístup k souboru, neboť jej právě využívá jiný proces (The process can not access the file because it is being used by another process). at org.neo4j.test.rule.TestDirectory.complete(TestDirectory.java:208) at org.neo4j.test.rule.TestDirectory.access$200(TestDirectory.java:57) at org.neo4j.test.rule.TestDirectory$1.evaluate(TestDirectory.java:113) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Caused by: java.nio.file.FileSystemException: C:\Workspaces\neo4j-custom\neo4j\community\io\target\test-data\org.neo4j.io.fs.FileSystemAbstractionInterruptionTest\9CE79004BCCB8DD617265E761C3C433F\a: Proces nem� p��stup k souboru, nebo� jej pr�v� vyu��v� jin� proces. at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86) at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269) at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103) at java.nio.file.Files.delete(Files.java:1126) at org.neo4j.io.fs.FileUtils.deleteFileWithRetries(FileUtils.java:428) at org.neo4j.io.fs.FileUtils.access$000(FileUtils.java:60) at org.neo4j.io.fs.FileUtils$1.visitFile(FileUtils.java:81) at org.neo4j.io.fs.FileUtils$1.visitFile(FileUtils.java:77) at java.nio.file.Files.walkFileTree(Files.java:2670) at java.nio.file.Files.walkFileTree(Files.java:2742) at org.neo4j.io.fs.FileUtils.deletePathRecursively(FileUtils.java:76) at org.neo4j.io.fs.FileUtils.deleteRecursively(FileUtils.java:71) at org.neo4j.io.fs.DefaultFileSystemAbstraction.deleteRecursively(DefaultFileSystemAbstraction.java:132) at org.neo4j.test.rule.TestDirectory.complete(TestDirectory.java:199) ... 26 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    ivanszkypeter
    53 times, last one,
    osvzs
    4 times, last one,
    9 more bugmates