java.lang.IllegalStateException: The driver executable does not exist: /Users/kamal.kumar/Desktop/phantomjs-2.1.1-macosx/bin/phantomjs.exe

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Check if there is no nexus running. If not, delete sonatype-work/nexus/nexus.lock .

,

checkState() is Static convenience methods that help a method or constructor check whether it was invoked correctly (whether its preconditions have been met). This occurs when the precondition does not met.

Solutions on the web

via Stack Overflow by kamal
, 1 year ago
The driver executable does not exist: /Users/kamal.kumar/Desktop/phantomjs-2.1.1-macosx/bin/phantomjs.exe
via GitHub by lightbody
, 2 years ago
The driver executable does not exist: /Users/plightbody/opensource/browsermob-proxy/${phantomjs.binary}
via Stack Overflow by gopal
, 1 year ago
The driver executable does not exist: /Users/<user>/Documents/workspace/TestNG/C:/Program Files/phantomjs-2.0.0-windows/bin/phantomjs.exe
via GitHub by arya6000
, 2 years ago
The driver is not executable: /root/phantomjs-2.0.0-linux-x86_64/bin/phantomjs
via Stack Overflow by StopTheRain
, 5 months ago
The driver executable does not exist: /opt/buildAgent1/work/c4641c7cfd3331f7/web/drivers/phantomjslinux/phantomjs [14:41:41] [userLoginTest] java.lang.IllegalStateException: The driver executable does not exist: /opt/buildAgent1/work/c4641c7cfd3331f7/web/drivers/phantomjslinux/phantomjs
via Stack Overflow by Prabu Muniyappan
, 1 year ago
The driver is not executable: /home/tomcat-jenkins/workspace/pitchIT/pitchIT-services/src/test/resources/phantomjs-linux
java.lang.IllegalStateException: The driver executable does not exist: /Users/kamal.kumar/Desktop/phantomjs-2.1.1-macosx/bin/phantomjs.exe
at org.openqa.selenium.phantomjs.PhantomJSDriverService.findPhantomJS(PhantomJSDriverService.java:245)
at org.openqa.selenium.phantomjs.PhantomJSDriverService.createDefaultService(PhantomJSDriverService.java:181)
at undefined.TimeSheetAutomation.setUp(TimeSheetAutomation.java:80)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)

Users with the same issue

6 times, 1 week ago
30 times, 1 month ago
5 times, 1 month ago
Once, 2 months ago
790 times, 3 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.