java.lang.RuntimeException: java.io.IOException: Unable to delete file: C:\Users\Administrator\github\couchbase-lite-java\couchbaselitetest\test\cblite-test.cblite

GitHub | hideki | 2 years ago
  1. 0

    On Windows, CBL Java Unit Test fails

    GitHub | 2 years ago | hideki
    java.lang.RuntimeException: java.io.IOException: Unable to delete file: C:\Users\Administrator\github\couchbase-lite-java\couchbaselitetest\test\cblite-test.cblite
  2. 0

    T-SPARQL test fail

    GitHub | 2 years ago | skodape
    java.io.IOException: Unable to delete file: C:\Users\Petyr\AppData\Local\Temp\7708574074026886311\dataUnits\test_env_72636635\values.id
  3. 0

    Running tests on Windows intermittently throws IOException

    GitHub | 3 years ago | sospirited
    java.io.IOException: Unable to delete directory libs\javascript\br-libs\ct-core\tests\test-unit\js-test-driver\bundles.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JUnit 4 test case passes when debugged but fails when ran

    Stack Overflow | 5 years ago | hSherlock
    java.io.IOException: Unable to delete file: \apps\Codes\MP2\LandingStrips\inprocess\12345\testTarDir\myfile.txt
  6. 0

    Build not working in Windows

    GitHub | 2 years ago | hypery2k
    java.io.IOException: Unable to delete file: _test-js-multilevel\main2.test.js

    3 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: C:\Users\Administrator\github\couchbase-lite-java\couchbaselitetest\test\cblite-test.cblite

      at org.apache.commons.io.FileUtils.forceDelete()
    2. Commons IO
      FileUtils.deleteDirectory
      1. org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1643)
      2. org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1268)
      3. org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1200)
      3 frames
    3. com.couchbase.lite
      LiteTestCase.setUp
      1. com.couchbase.lite.LiteTestContext.<init>(LiteTestContext.java:18)
      2. com.couchbase.lite.LiteTestContext.<init>(LiteTestContext.java:38)
      3. com.couchbase.lite.LiteTestContext.<init>(LiteTestContext.java:34)
      4. com.couchbase.lite.LiteTestCase.startCBLite(LiteTestCase.java:92)
      5. com.couchbase.lite.LiteTestCase.setUp(LiteTestCase.java:74)
      5 frames
    4. JUnit
      JUnit38ClassRunner.run
      1. junit.framework.TestCase.runBare(TestCase.java:139)
      2. junit.framework.TestResult$1.protect(TestResult.java:122)
      3. junit.framework.TestResult.runProtected(TestResult.java:142)
      4. junit.framework.TestResult.run(TestResult.java:125)
      5. junit.framework.TestCase.run(TestCase.java:129)
      6. junit.framework.TestSuite.runTest(TestSuite.java:255)
      7. junit.framework.TestSuite.run(TestSuite.java:250)
      8. org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
      8 frames
    5. org.gradle.api
      SuiteTestClassProcessor.processTestClass
      1. org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:86)
      2. org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:49)
      3. org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:69)
      4. org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:48)
      4 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    7. Gradle Core
      ProxyDispatchAdapter$DispatchingInvocationHandler.invoke
      1. org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
      2. org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      3. org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)
      4. org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
      4 frames
    8. com.sun.proxy
      $Proxy2.processTestClass
      1. com.sun.proxy.$Proxy2.processTestClass(Unknown Source)
      1 frame
    9. org.gradle.api
      TestWorker.processTestClass
      1. org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:105)
      1 frame
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    11. Gradle Core
      ReflectionDispatch.dispatch
      1. org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
      2. org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
      2 frames
    12. org.gradle.messaging
      MessageHub$Handler.run
      1. org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360)
      1 frame
    13. Gradle Core
      DefaultExecutorFactory$StoppableExecutorImpl$1.run
      1. org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)
      1 frame
    14. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames