java.lang.NoSuchFieldError: INSTANCE

Stack Overflow | Laura G | 4 months ago
  1. 0

    Error when creating a PhantomJSDriver (java)

    Stack Overflow | 4 months ago | Laura G
    java.lang.NoSuchFieldError: INSTANCE
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Getting error with Appium automation

    Stack Overflow | 10 months ago | bhaskar kumar
    java.lang.NoSuchFieldError: INSTANCE

    13 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.lang.NoSuchFieldError

      INSTANCE

      at org.apache.http.conn.ssl.SSLConnectionSocketFactory.<clinit>()
    2. Apache HttpClient
      SSLConnectionSocketFactory.<clinit>
      1. org.apache.http.conn.ssl.SSLConnectionSocketFactory.<clinit>(SSLConnectionSocketFactory.java:144)
      1 frame
    3. Selenium
      HttpCommandExecutor.<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)
      6. org.openqa.selenium.remote.HttpCommandExecutor.getDefaultClientFactory(HttpCommandExecutor.java:96)
      7. org.openqa.selenium.remote.HttpCommandExecutor.<init>(HttpCommandExecutor.java:70)
      7 frames
    4. PhantomJSDriver
      PhantomJSDriver.<init>
      1. org.openqa.selenium.phantomjs.PhantomJSCommandExecutor.<init>(PhantomJSCommandExecutor.java:62)
      2. org.openqa.selenium.phantomjs.PhantomJSDriver.<init>(PhantomJSDriver.java:115)
      3. org.openqa.selenium.phantomjs.PhantomJSDriver.<init>(PhantomJSDriver.java:104)
      3 frames
    5. Unknown
      myJavaClass.set_up
      1. myJavaClass.set_up(myJavaClass.java:56)
      1 frame