java.lang.IllegalStateException

The driver is not executable: /home/tomcat-jenkins/workspace/pitchIT/pitchIT-services/src/test/resources/phantomjs-linux

Samebug tips1

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

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web22571

  • The driver is not executable: /home/tomcat-jenkins/workspace/pitchIT/pitchIT-services/src/test/resources/phantomjs-linux
  • The driver is not executable: /var/lib/jenkins/jobs/Synapse Control Center/workspace/ControlCenterTests/./src/test/resources/driver/chromedriver.exe
  • via GitHub by arya6000
    , 1 year ago
    The driver is not executable: /root/phantomjs-2.0.0-linux-x86_64/bin/phantomjs
  • Stack trace

    • java.lang.IllegalStateException: The driver is not executable: /home/tomcat-jenkins/workspace/pitchIT/pitchIT-services/src/test/resources/phantomjs-linux at com.google.common.base.Preconditions.checkState(Preconditions.java:199) at org.openqa.selenium.remote.service.DriverService.checkExecutable(DriverService.java:121) at org.openqa.selenium.phantomjs.PhantomJSDriverService.findPhantomJS(PhantomJSDriverService.java:246) at org.openqa.selenium.phantomjs.PhantomJSDriverService.createDefaultService(PhantomJSDriverService.java:182) at org.openqa.selenium.phantomjs.PhantomJSDriver.<init>(PhantomJSDriver.java:99) at org.openqa.selenium.phantomjs.PhantomJSDriver.<init>(PhantomJSDriver.java:89) at com.astrazeneca.als.pitchIT.util.BDDUtilities.doInit(BDDUtilities.java:69) at com.astrazeneca.als.pitchIT.util.BDDUtilities.getDriver(BDDUtilities.java:33)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 2 years ago
    Unknown user
    Once, 2 years ago
    4 times, 1 month ago
    Once, 2 months ago
    84 more bugmates