java.lang.ClassNotFoundException: java.nio.file.Path

GitHub | kirillzh | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 862#252471735

    GitHub | 4 months ago | kirillzh
    java.lang.ClassNotFoundException: java.nio.file.Path

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Class not found using the boot class loader; no stack trace available I ----- end exception ----- I failed: Test mechanism I ----- begin exception ----- I java.lang.NullPointerException: Attempt to invoke virtual method 'void android.os.Bundle.putString(java.lang.String, java.lang.String)' on a null object reference

      at android.support.test.internal.runner.listener.InstrumentationResultPrinter.reportFailure()
    2. android.support.test
      InstrumentationResultPrinter.testFailure
      1. android.support.test.internal.runner.listener.InstrumentationResultPrinter.reportFailure(InstrumentationResultPrinter.java:177)
      2. android.support.test.internal.runner.listener.InstrumentationResultPrinter.testFailure(InstrumentationResultPrinter.java:167)
      2 frames
    3. JUnit
      JUnitCore.run
      1. org.junit.runner.notification.SynchronizedRunListener.testFailure(SynchronizedRunListener.java:63)
      2. org.junit.runner.notification.RunNotifier$4.notifyListener(RunNotifier.java:142)
      3. org.junit.runner.notification.RunNotifier$SafeNotifier.run(RunNotifier.java:72)
      4. org.junit.runner.notification.RunNotifier.fireTestFailures(RunNotifier.java:138)
      5. org.junit.runner.notification.RunNotifier.fireTestFailure(RunNotifier.java:132)
      6. org.junit.internal.runners.model.EachTestNotifier.addFailure(EachTestNotifier.java:23)
      7. org.junit.runners.ParentRunner.run(ParentRunner.java:369)
      8. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      9. org.junit.runner.JUnitCore.run(JUnitCore.java:115)
      9 frames
    4. android.support.test
      AndroidJUnitRunner.onStart
      1. android.support.test.internal.runner.TestExecutor.execute(TestExecutor.java:59)
      2. android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:262)
      2 frames
    5. Android Platform
      Instrumentation$InstrumentationThread.run
      1. android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1879)
      1 frame