java.lang.IllegalAccessError: tried to access field com.google.gson.JsonNull.INSTANCE from class org.openqa.selenium.remote.BeanToJsonConverter

Stack Overflow | KingArasan | 4 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Selenium 3.0 Chrome driver throwing exception for driver.switch

    Stack Overflow | 4 months ago | KingArasan
    java.lang.IllegalAccessError: tried to access field com.google.gson.JsonNull.INSTANCE from class org.openqa.selenium.remote.BeanToJsonConverter
  2. 0

    Selenium 3.0 Chrome driver throwing exception

    Google Groups | 4 months ago | King Arsan
    java.lang.IllegalAccessError: tried to access field com.google.gson.JsonNull.INSTANCE from class org.openqa.selenium.remote.BeanToJsonConverter

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      tried to access field com.google.gson.JsonNull.INSTANCE from class org.openqa.selenium.remote.BeanToJsonConverter

      at org.openqa.selenium.remote.BeanToJsonConverter.convertObject()
    2. Selenium
      RemoteWebDriver$RemoteTargetLocator.defaultContent
      1. org.openqa.selenium.remote.BeanToJsonConverter.convertObject(BeanToJsonConverter.java:95)
      2. org.openqa.selenium.remote.BeanToJsonConverter.convertObject(BeanToJsonConverter.java:143)
      3. org.openqa.selenium.remote.BeanToJsonConverter.convertObject(BeanToJsonConverter.java:86)
      4. org.openqa.selenium.remote.BeanToJsonConverter.convert(BeanToJsonConverter.java:66)
      5. org.openqa.selenium.remote.http.AbstractHttpCommandCodec.encode(AbstractHttpCommandCodec.java:289)
      6. org.openqa.selenium.remote.http.AbstractHttpCommandCodec.encode(AbstractHttpCommandCodec.java:147)
      7. org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:157)
      8. org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
      9. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
      10. org.openqa.selenium.remote.RemoteWebDriver$RemoteTargetLocator.defaultContent(RemoteWebDriver.java:967)
      10 frames