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?
--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]