selenium 3.5.3 chrome driver is throwing java.lang.IllegalAccessError exception from server machine

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

selenium 3.5.3 chrome driver is throwing java.lang.IllegalAccessError exception from server machine

ayan paul
selenium 3.5.3 chrome driver is throwing java.lang.IllegalAccessError exception from windows server machine but working perfectly from local, the environment and everything is same in local and server, please help. I have check all access related permission, tried with static path of chrome driver as well. tried with guava jar 23/21/19/14.0.1, but nothing solved this issue. please provide some solution
config.ActionKeywords.openBrowser(ActionKeywords.java:90) - contains

i am using keyword driven framwork, below is the error message

Exception in thread "main" java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at executionEngine.DriverScript.execute_Actions(DriverScript.java:143)
    at executionEngine.DriverScript.execute_TestCase(DriverScript.java:73)
    at executionEngine.DriverScript.main(DriverScript.java:49)
Caused by: java.lang.IllegalAccessError: tried to access method com.google.common.util.concurrent.SimpleTimeLimiter.<init>(Ljava/util/concurrent/ExecutorService;)V from class org.openqa.selenium.net.UrlChecker
    at org.openqa.selenium.net.UrlChecker.<init>(UrlChecker.java:67)
    at org.openqa.selenium.remote.service.DriverService.waitUntilAvailable(DriverService.java:190)
    at org.openqa.selenium.remote.service.DriverService.start(DriverService.java:181)
    at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:78)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:637)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:250)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:236)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:137)
    at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:184)
    at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:171)
    at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:124)
    at config.ActionKeywords.openBrowser(ActionKeywords.java:90)
    ... 7 more

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/223d19e4-1272-4e6d-8428-5ae62a27df91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: selenium 3.5.3 chrome driver is throwing java.lang.IllegalAccessError exception from server machine

ayan paul
any update on this?

On Tuesday, 7 November 2017 15:04:16 UTC+5:30, ayan paul wrote:
selenium 3.5.3 chrome driver is throwing java.lang.IllegalAccessError exception from windows server machine but working perfectly from local, the environment and everything is same in local and server, please help. I have check all access related permission, tried with static path of chrome driver as well. tried with guava jar 23/21/19/14.0.1, but nothing solved this issue. please provide some solution
config.ActionKeywords.openBrowser(ActionKeywords.java:90) - contains

i am using keyword driven framwork, below is the error message

Exception in thread "main" java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at executionEngine.DriverScript.execute_Actions(DriverScript.java:143)
    at executionEngine.DriverScript.execute_TestCase(DriverScript.java:73)
    at executionEngine.DriverScript.main(DriverScript.java:49)
Caused by: java.lang.IllegalAccessError: tried to access method com.google.common.util.concurrent.SimpleTimeLimiter.<init>(Ljava/util/concurrent/ExecutorService;)V from class org.openqa.selenium.net.UrlChecker
    at org.openqa.selenium.net.UrlChecker.<init>(UrlChecker.java:67)
    at org.openqa.selenium.remote.service.DriverService.waitUntilAvailable(DriverService.java:190)
    at org.openqa.selenium.remote.service.DriverService.start(DriverService.java:181)
    at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:78)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:637)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:250)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:236)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:137)
    at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:184)
    at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:171)
    at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:124)
    at config.ActionKeywords.openBrowser(ActionKeywords.java:90)
    ... 7 more

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/06c8997d-5a67-4263-935a-cc63dc2efe87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: selenium 3.5.3 chrome driver is throwing java.lang.IllegalAccessError exception from server machine

Zachary Folwick
In reply to this post by ayan paul
would love an update.... this is precisely my issue.

On Tuesday, November 7, 2017 at 1:34:16 AM UTC-8, ayan paul wrote:
selenium 3.5.3 chrome driver is throwing java.lang.IllegalAccessError exception from windows server machine but working perfectly from local, the environment and everything is same in local and server, please help. I have check all access related permission, tried with static path of chrome driver as well. tried with guava jar 23/21/19/14.0.1, but nothing solved this issue. please provide some solution
config.ActionKeywords.openBrowser(ActionKeywords.java:90) - contains

i am using keyword driven framwork, below is the error message

Exception in thread "main" java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at executionEngine.DriverScript.execute_Actions(DriverScript.java:143)
    at executionEngine.DriverScript.execute_TestCase(DriverScript.java:73)
    at executionEngine.DriverScript.main(DriverScript.java:49)
Caused by: java.lang.IllegalAccessError: tried to access method com.google.common.util.concurrent.SimpleTimeLimiter.<init>(Ljava/util/concurrent/ExecutorService;)V from class org.openqa.selenium.net.UrlChecker
    at org.openqa.selenium.net.UrlChecker.<init>(UrlChecker.java:67)
    at org.openqa.selenium.remote.service.DriverService.waitUntilAvailable(DriverService.java:190)
    at org.openqa.selenium.remote.service.DriverService.start(DriverService.java:181)
    at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:78)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:637)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:250)
    at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:236)
    at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:137)
    at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:184)
    at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:171)
    at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:124)
    at config.ActionKeywords.openBrowser(ActionKeywords.java:90)
    ... 7 more

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/0ded7122-a34d-4bac-bed4-9b9d89852778%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.