: Process refused to die after 10 seconds, and couldn't taskkill it: Couldn't detect pid with JAVA 17

29 views
Skip to first unread message

IamFresher India

unread,
Nov 14, 2023, 11:07:58 AM11/14/23
to Selenium Users
Session ID: 224cc3c779c3f8ef7c1d65581fbe0d23
        at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:658)
        at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:694)
        at org.openqa.selenium.remote.RemoteWebDriver.quit(RemoteWebDriver.java:533)
        at org.openqa.selenium.server.htmlrunner.HTMLLauncher.runHTMLSuite(HTMLLauncher.java:139)
        at org.openqa.selenium.server.htmlrunner.HTMLLauncher.mainInt(HTMLLauncher.java:245)
        at org.openqa.selenium.server.htmlrunner.HTMLLauncher.main(HTMLLauncher.java:273)
Caused by: java.lang.RuntimeException: Process refused to die after 10 seconds, and couldn't taskkill it: Couldn't detect pid
        at org.openqa.selenium.os.ProcessUtils.killWinProcess(ProcessUtils.java:133)
        at org.openqa.selenium.os.ProcessUtils.killProcess(ProcessUtils.java:81)
        at org.openqa.selenium.os.UnixProcess$SeleniumWatchDog.destroyHarder(UnixProcess.java:246)
        at org.openqa.selenium.os.UnixProcess$SeleniumWatchDog.access$200(UnixProcess.java:200)
        at org.openqa.selenium.os.UnixProcess.destroy(UnixProcess.java:126)
        at org.openqa.selenium.os.CommandLine.destroy(CommandLine.java:153)
        at org.openqa.selenium.remote.service.DriverService.stop(DriverService.java:221)
        at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:94)
        at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:637)
        ... 5 more
Caused by: java.lang.RuntimeException: Couldn't detect pid
        at org.openqa.selenium.os.ProcessUtils.getProcessId(ProcessUtils.java:195)
        at org.openqa.selenium.os.ProcessUtils.killWinProcess(ProcessUtils.java:128)
        ... 13 more
Reply all
Reply to author
Forward
0 new messages