java.lang.NullPointerException: Unable to find executable for: taskkill

tip

Take a look at this blog post on how to set up Grid2 https://goo.gl/rxzbE6. A user related (in the email group on the source) that using older selenium libs solves this exception.

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

  • Users list for the selenium web testing framework
    via by Unknown author,
  • Users list for the selenium web testing framework
    via by Unknown author,
  • Users list for the selenium web testing framework
    via by Unknown author,
  • Users list for the selenium web testing framework
    via by Unknown author,
  • Users list for the selenium web testing framework
    via by Unknown author,
  • Issues, Questions in Selenium Grid2.0 C#
    via by Kaleem Uddin Mohammed Abdul,
  • need help
    via by Saurabh Devle,
    • java.lang.NullPointerException: Unable to find executable for: taskkill at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:250) at org.openqa.selenium.os.UnixProcess.<init>(UnixProcess.java:62) at org.openqa.selenium.os.CommandLine.<init>(CommandLine.java:38) at org.openqa.selenium.os.WindowsUtils.killPID(WindowsUtils.java:172) at org.openqa.selenium.os.ProcessUtils.killWinProcess(ProcessUtils.java:138) at org.openqa.selenium.os.ProcessUtils.killProcess(ProcessUtils.java:81) at org.openqa.selenium.os.UnixProcess$SeleniumWatchDog.destroyHarder(UnixProcess.java:248) at org.openqa.selenium.os.UnixProcess$SeleniumWatchDog.access$2(UnixProcess.java:245) at org.openqa.selenium.os.UnixProcess.destroy(UnixProcess.java:124) at org.openqa.selenium.os.CommandLine.destroy(CommandLine.java:153) at org.openqa.selenium.firefox.FirefoxBinary.quit(FirefoxBinary.java:259) at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.quit(NewProfileExtensionConnection.java:202) at org.openqa.selenium.firefox.FirefoxDriver$LazyCommandExecutor.quit(FirefoxDriver.java:376) at org.openqa.selenium.firefox.FirefoxDriver.stopClient(FirefoxDriver.java:322) at org.openqa.selenium.remote.RemoteWebDriver.quit(RemoteWebDriver.java:477) 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 org.openqa.selenium.support.events.EventFiringWebDriver$2.invoke(EventFiringWebDriver.java:102) at com.sun.proxy.$Proxy1.quit(Unknown Source) at org.openqa.selenium.support.events.EventFiringWebDriver.quit(EventFiringWebDriver.java:199) at org.openqa.selenium.remote.server.handler.DeleteSession.call(DeleteSession.java:50) at org.openqa.selenium.remote.server.handler.DeleteSession.call(DeleteSession.java:1) at java.util.concurrent.FutureTask.run(Unknown Source) at org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:176) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    83 more bugmates