The process started from chrome location C:\Program Files\Google\Chrome\Application\chrome.exe is no longer running, so ChromeDriver is assuming that Chrome has crashed.

82 views
Skip to first unread message

Roland Desbauford

unread,
May 23, 2024, 10:26:36 AMMay 23
to Selenium Users
Hi, 
I am having this error using Selenium in a remote Jenkins server. Chrome and crhomedriver versions are aligned and I am being a bit confused about it since I don't fine any explanation Googling it?

Does someone have any experience and tricks to fix this problem ?

 --no-sandbox, --disable-infobars, --disable-dev-shm-usage, --disable-browser-side-navi..., --disable-gpu], extensions: [], prefs: {plugins.always_open_pdf_externally: true, profile.default_content_settings.popups: 0}}, timeouts: {pageLoad: 900000, script: 900000}}]}]
Capabilities {browserName: chrome, goog:chromeOptions: {args: [--remote-allow-origins=*, start-maximized, enable-automation, --no-sandbox, --disable-infobars, --disable-dev-shm-usage, --disable-browser-side-navi..., --disable-gpu], extensions: [], prefs: {plugins.always_open_pdf_externally: true, profile.default_content_settings.popups: 0}}, timeouts: {pageLoad: 900000, script: 900000}}
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:658)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:638)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1352)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1195)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:353)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1389)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1309)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:656)
... 21 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.openqa.selenium.WebDriver]: Factory method 'setupDriver' threw exception; nested exception is org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: unknown error: Chrome failed to start: crashed.
  (unknown error: DevToolsActivePort file doesn't exist)
  (The process started from chrome location C:\Program Files\Google\Chrome\Application\chrome.exe is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'SWPCFRBZN733', ip: '100.85.159.212', os.name: 'Windows Server 2016', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.2'
Driver info: driver.version: unknown
remote stacktrace: Backtrace:
GetHandleVerifier [0x00E2A813+48355]
(No symbol) [0x00DBC4B1]
(No symbol) [0x00CC5358]
(No symbol) [0x00CE3621]
(No symbol) [0x00CE0579]
(No symbol) [0x00D10C55]
(No symbol) [0x00D1093C]
(No symbol) [0x00D0A536]
(No symbol) [0x00CE82DC]
(No symbol) [0x00CE93DD]
GetHandleVerifier [0x0108AABD+2539405]
GetHandleVerifier [0x010CA78F+2800735]
GetHandleVerifier [0x010C456C+2775612]
GetHandleVerifier [0x00EB51E0+616112]
(No symbol) [0x00DC5F8C]
(No symbol) [0x00DC2328]
(No symbol) [0x00DC240B]
(No symbol) [0x00DB4FF7]
BaseThreadInitThunk [0x74A162C4+36]
RtlSubscribeWnfStateChangeNotification [0x77281B69+1081]
RtlSubscribeWnfStateChangeNotification [0x77281B34+1028]

Krishnan Mahadevan

unread,
May 23, 2024, 11:45:20 PMMay 23
to seleniu...@googlegroups.com
Any specific reason behind you still using Selenium 3.x series (based on what I see in the below lines) ?


Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'SWPCFRBZN733', ip: '100.85.159.212', os.name: 'Windows Server 2016', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.2'
Driver info: driver.version: unknown

It looks like you are using Spring. Depending on your spring version, you might want to check what is the default version of selenium, that spring boot brings along with its dependencies.

For e.g., Springboot 3.3.0 brings in selenium 4.19.1 ( See here https://docs.spring.io/spring-boot/appendix/dependency-versions/coordinates.html

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribblings @ https://rationaleemotions.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/955575b6-83e7-41b5-9876-d435f5845860n%40googlegroups.com.

Message has been deleted
Message has been deleted

Roland Desbauford

unread,
Jun 5, 2024, 4:39:49 AM (11 days ago) Jun 5
to Selenium Users
Hello @Krishnan Mahadevan!

Don't you think this could be caused by a compatibility mismatch between chromedriver and chrome version?
Reply all
Reply to author
Forward
0 new messages