java.lang.IllegalArgumentException: File does not exist: ./android-all-5.0.0_r2-robolectric-1.jar

GitHub | raviagarwal7 | 5 months ago
  1. 0

    GitHub comment 2171#165431737

    GitHub | 12 months ago | chdryra
    java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in path at index 19: file:/C:/Users/User 1/.m2/repository/org/robolectric/android-all/4.1.2_r1-robolectric-0/android-all-4.1.2_r1-robolectric-0.jar
  2. 0

    IllegalArgumentException when paths contain spaces on Windows

    GitHub | 2 years ago | mpost
    java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in path at index 21: file:/C:/Users/Moritz Post/.m2/repository/org/robolectric/android-all/4.3_r2-robolectric-0/android-all-4.3_r2-robolectric-0.jar
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java.lang.IllegalArgumentException in Red Hat server

    Stack Overflow | 5 months ago | Dave_Dev
    java.lang.IllegalArgumentException: Specified library jar android-7.jar does not exist: /opt/glassfish4/glassfish/domains/domain1/lib/android-7.jar
  5. 0

    Copy: Skip symlink that points to its ancestor directory

    GitHub | 2 years ago | caiiiycuk
    java.lang.IllegalArgumentException: requirement failed: Source file '/home/caiiiycuk/scala/epicport/web/public/emscripten/caesaria/caesaria-emscripten/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src/android/src' does not exist.

    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.lang.IllegalArgumentException

      File does not exist: ./android-all-5.0.0_r2-robolectric-1.jar

      at org.robolectric.internal.dependency.LocalDependencyResolver.validateFile()
    2. Roboelectric
      RobolectricTestRunner.runChild
      1. org.robolectric.internal.dependency.LocalDependencyResolver.validateFile(LocalDependencyResolver.java:55)
      2. org.robolectric.internal.dependency.LocalDependencyResolver.getLocalArtifactUrl(LocalDependencyResolver.java:32)
      3. org.robolectric.internal.dependency.LocalDependencyResolver.getLocalArtifactUrls(LocalDependencyResolver.java:40)
      4. org.robolectric.internal.InstrumentingClassLoaderFactory.getSdkEnvironment(InstrumentingClassLoaderFactory.java:39)
      5. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:187)
      6. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:54)
      6 frames
    3. JUnit
      ParentRunner$2.evaluate
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      5 frames
    4. Roboelectric
      RobolectricTestRunner$1.evaluate
      1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:152)
      1 frame
    5. JUnit
      JUnitCore.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      2. org.junit.runners.Suite.runChild(Suite.java:128)
      3. org.junit.runners.Suite.runChild(Suite.java:27)
      4. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      5. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      6. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      7. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      8. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      9. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      10. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      11. org.junit.runner.JUnitCore.run(JUnitCore.java:115)
      11 frames
    6. com.facebook.buck
      JUnitMain.main
      1. com.facebook.buck.testrunner.JUnitRunner.run(JUnitRunner.java:135)
      2. com.facebook.buck.testrunner.BaseRunner.runAndExit(BaseRunner.java:219)
      3. com.facebook.buck.testrunner.JUnitMain.main(JUnitMain.java:47)
      3 frames
    7. 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
    8. com.facebook.buck
      FileClassPathRunner.main
      1. com.facebook.buck.jvm.java.runner.FileClassPathRunner.main(FileClassPathRunner.java:87)
      1 frame