java.lang.RuntimeException

Process refused to die after 10 seconds, and couldn' t taskkill it: Unable to find executable for: taskkill

Samebug tips1

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.


rafaelrafael

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

Solutions on the web673

  • via Unknown by Kaleem Uddin Mohammed Abdul,
  • via Unknown by Unknown author,
  • Stack trace

    • java.lang.RuntimeException: Process refused to die after 10 seconds, and couldn' t taskkill it: Unable to find executable for: taskkill at org.openqa.selenium.os.ProcessUtils.killWinProcess(ProcessUtils.java:142) 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) Caused by: java.lang.NullPointerException: Unable to find executable for: taskki ll 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) ... 24 more

    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 visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    85 more bugmates