java.lang.ExceptionInInitializerError

automated-testing.info | 3 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Robolectric and Dagger testing

    Stack Overflow | 4 years ago | Andrea Richiardi
    java.lang.RuntimeException: Stub!

    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.RuntimeException

      Stub!

      at org.apache.http.conn.ssl.AbstractVerifier.<init>()
    2. Apache HttpClient
      SSLConnectionSocketFactory.<clinit>
      1. org.apache.http.conn.ssl.AbstractVerifier.<init>(AbstractVerifier.java:5)
      2. org.apache.http.conn.ssl.AllowAllHostnameVerifier.<init>(AllowAllHostnameVerifier.java:5)
      3. org.apache.http.conn.ssl.SSLConnectionSocketFactory.<clinit>(SSLConnectionSocketFactory.java:124)
      3 frames
    3. Selenium
      ApacheHttpClient$Factory.<init>
      1. org.openqa.selenium.remote.internal.HttpClientFactory.getClientConnectionManager(HttpClientFactory.java:71)
      2. org.openqa.selenium.remote.internal.HttpClientFactory.<init>(HttpClientFactory.java:57)
      3. org.openqa.selenium.remote.internal.HttpClientFactory.<init>(HttpClientFactory.java:60)
      4. org.openqa.selenium.remote.internal.ApacheHttpClient$Factory.getDefaultHttpClientFactory(ApacheHttpClient.java:252)
      5. org.openqa.selenium.remote.internal.ApacheHttpClient$Factory.<init>(ApacheHttpClient.java:229)
      5 frames
    4. java-client
      AndroidDriver.<init>
      1. io.appium.java_client.remote.AppiumCommandExecutor.<init>(AppiumCommandExecutor.java:52)
      2. io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:170)
      3. io.appium.java_client.android.AndroidDriver.<init>(AndroidDriver.java:72)
      3 frames
    5. com.test
      TestProject.setUp
      1. com.test.TestProject.setUp(TestProject.java:51)
      1 frame
    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:498)
      4 frames
    7. TestNG
      RemoteTestNGStarter.main
      1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
      2. org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:525)
      3. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:202)
      4. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:130)
      5. org.testng.TestRunner.beforeRun(TestRunner.java:632)
      6. org.testng.TestRunner.run(TestRunner.java:600)
      7. org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
      8. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
      9. org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
      10. org.testng.SuiteRunner.run(SuiteRunner.java:240)
      11. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      12. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      13. org.testng.TestNG.runSuitesSequentially(TestNG.java:1158)
      14. org.testng.TestNG.runSuitesLocally(TestNG.java:1083)
      15. org.testng.TestNG.run(TestNG.java:999)
      16. org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:74)
      17. org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:121)
      17 frames
    8. 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:498)
      4 frames
    9. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      1 frame