java.lang.ExceptionInInitializerError

Stack Overflow | Revenge | 8 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.

Root Cause Analysis

  1. java.lang.RuntimeException

    Stub!

    at org.apache.commons.logging.LogFactory.getLog()
  2. Apache Commons Logging
    LogFactory.getLog
    1. org.apache.commons.logging.LogFactory.getLog(LogFactory.java:14)
    1 frame
  3. Apache HttpClient
    SSLSocketFactory.<clinit>
    1. org.apache.http.conn.ssl.AbstractVerifier.<init>(AbstractVerifier.java:60)
    2. org.apache.http.conn.ssl.AllowAllHostnameVerifier.<init>(AllowAllHostnameVerifier.java:43)
    3. org.apache.http.conn.ssl.AllowAllHostnameVerifier.<clinit>(AllowAllHostnameVerifier.java:45)
    4. org.apache.http.conn.ssl.SSLSocketFactory.<clinit>(SSLSocketFactory.java:151)
    4 frames
  4. Selenium
    RemoteWebDriver.<init>
    1. org.openqa.selenium.remote.HttpCommandExecutor.getClientConnectionManager(HttpCommandExecutor.java:94)
    2. org.openqa.selenium.remote.HttpCommandExecutor.<init>(HttpCommandExecutor.java:112)
    3. org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:89)
    3 frames
  5. com.moduletry.dev4
    ExampleUnitTest.setUp
    1. com.moduletry.dev4.appiumsimpletest1.ExampleUnitTest.setUp(ExampleUnitTest.java:50)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  7. TestNG
    RemoteTestNGStarter.main
    1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
    2. org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:510)
    3. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:211)
    4. org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
    5. org.testng.TestRunner.beforeRun(TestRunner.java:647)
    6. org.testng.TestRunner.run(TestRunner.java:615)
    7. org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
    8. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
    9. org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
    10. org.testng.SuiteRunner.run(SuiteRunner.java:259)
    11. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    12. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    13. org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
    14. org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
    15. org.testng.TestNG.run(TestNG.java:1018)
    16. org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72)
    17. org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:122)
    17 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  9. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame