Troubleshooting common exceptions


This is a companion discussion topic for the original entry at https://docs.katalon.com/katalon-studio/docs/troubleshooting.html

Dear Katalon team, i have issue after while running the test case. here’s my error on my log :
=============== ROOT CAUSE =====================
Caused by: org.openqa.selenium.SessionNotCreatedException: session not created

For trouble shooting, please visit: https://docs.katalon.com/katalon-studio/docs/troubleshooting.html

04-27-2021 10:29:11 PM Test Cases/Desktop Web/Global Feature/SetBrowser

Elapsed time: 3.116s

Test Cases/Desktop Web/Global Feature/SetBrowser FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ‘’
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:26)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.openBrowser(OpenBrowserKeyword.groovy:81)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword.execute(OpenBrowserKeyword.groovy:67)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:73)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.openBrowser(WebUiBuiltInKeywords.groovy:63)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$openBrowser.call(Unknown Source)
at SetBrowser.run(SetBrowser:20)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:398)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:389)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:368)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:360)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:255)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1619537339578.run(TempTestCase1619537339578.groovy:25)
Caused by: org.openqa.selenium.SessionNotCreatedException: session not created
from disconnected: unable to connect to renderer
(Session info: chrome=90.0.4430.85)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘ITQA-HQs-MacBook-Pro.local’, ip: ‘fe80:0:0:0:48a:cd1:372f:c4b7%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.15.5’, java.version: ‘1.8.0_275’
Driver info: driver.version: CChromeDriver
remote stacktrace: 0 chromedriver 0x000000010c8b0cc9 chromedriver + 2718921
1 chromedriver 0x000000010cf6d143 chromedriver + 9781571
2 chromedriver 0x000000010c642218 chromedriver + 168472
3 chromedriver 0x000000010c62c9ed chromedriver + 80365
4 chromedriver 0x000000010c6436c3 chromedriver + 173763
5 chromedriver 0x000000010c69934f chromedriver + 525135
6 chromedriver 0x000000010c692ed3 chromedriver + 499411
7 chromedriver 0x000000010c669d9f chromedriver + 331167
8 chromedriver 0x000000010c66b03d chromedriver + 335933
9 chromedriver 0x000000010c87b5f9 chromedriver + 2500089
10 chromedriver 0x000000010c8898a5 chromedriver + 2558117
11 chromedriver 0x000000010c88a80f chromedriver + 2562063
12 chromedriver 0x000000010c85f741 chromedriver + 2385729
13 chromedriver 0x000000010c88ad1f chromedriver + 2563359
14 chromedriver 0x000000010c870c3c chromedriver + 2456636
15 chromedriver 0x000000010c8a4398 chromedriver + 2667416
16 chromedriver 0x000000010c8a455a chromedriver + 2667866
17 chromedriver 0x000000010c8b5d18 chromedriver + 2739480
18 libsystem_pthread.dylib 0x00007fff6dfce109 _pthread_start + 148
19 libsystem_pthread.dylib 0x00007fff6dfc9b8b thread_start + 15

at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:74)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at com.kms.katalon.selenium.driver.CChromeDriver.execute(CChromeDriver.java:19)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:181)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:147)
at com.kms.katalon.selenium.driver.CChromeDriver.<init>(CChromeDriver.java:13)
at com.kms.katalon.core.webui.driver.DriverFactory.createNewChromeDriver(DriverFactory.java:400)
at com.kms.katalon.core.webui.driver.DriverFactory.startNewBrowser(DriverFactory.java:358)
at com.kms.katalon.core.webui.driver.DriverFactory.openWebDriver(DriverFactory.java:245)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.doCall(OpenBrowserKeyword.groovy:74)
at com.kms.katalon.core.webui.keyword.builtin.OpenBrowserKeyword$_openBrowser_closure1.call(OpenBrowserKeyword.groovy)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:20)
... 17 more

Could you help me why is that? i’ve already update my chrome and chromedriver in katalon studio.
I am using macOS.
Thank you

You should open Chrome and let it update completely and click Tools/Web/Terminate Running WebDrivers in Katalon Studio then run the test again.


Could Anyone help me in this?

Test Cases/h5login FAILED.
Reason:
org.openqa.selenium.InvalidArgumentException: invalid argument: entry 0 of ‘firstMatch’ is invalid
from invalid argument: cannot parse capability: goog:chromeOptions
from invalid argument: cannot parse mobileEmulation
from invalid argument: ‘iphone x’ must be a valid device
from unknown error: must be a valid device
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘LAPTOP-LS0C8CVE’, ip: ‘192.168.43.91’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_282’
Driver info: driver.version: CChromeDriver
remote stacktrace: Backtrace:
Ordinal0 [0x00932A33+2501171]
Ordinal0 [0x008CD1C1+2085313]
Ordinal0 [0x007D1FA8+1056680]
Ordinal0 [0x007CCCC4+1035460]
Ordinal0 [0x007E9081+1151105]
Ordinal0 [0x007E8851+1149009]
Ordinal0 [0x007E9284+1151620]
Ordinal0 [0x007E6940+1141056]
Ordinal0 [0x007E9284+1151620]
Ordinal0 [0x007E35E2+1127906]
Ordinal0 [0x00818A33+1346099]
Ordinal0 [0x0081850F+1344783]
Ordinal0 [0x00819785+1349509]
Ordinal0 [0x0081960A+1349130]
Ordinal0 [0x0081551B+1332507]
Ordinal0 [0x007F1D74+1187188]
Ordinal0 [0x007F2BD9+1190873]
GetHandleVerifier [0x00AAEFE6+1504438]
GetHandleVerifier [0x00B5DDA5+2220661]
GetHandleVerifier [0x009B5589+481881]
GetHandleVerifier [0x009B4639+477961]
Ordinal0 [0x008D28BD+2107581]
Ordinal0 [0x008D6728+2123560]
Ordinal0 [0x008D6862+2123874]
Ordinal0 [0x008DFA81+2161281]
BaseThreadInitThunk [0x75486359+25]
RtlGetAppContainerNamedObjectPath [0x77BD87A4+228]
RtlGetAppContainerNamedObjectPath [0x77BD8774+180]

at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:74)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:136)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at com.kms.katalon.selenium.driver.CChromeDriver.execute(CChromeDriver.java:19)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:181)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:147)
at com.kms.katalon.selenium.driver.CChromeDriver.<init>(CChromeDriver.java:13)
at com.kms.katalon.core.webui.driver.DriverFactory.createNewChromeDriver(DriverFactory.java:424)
at h5.Browser.openBrowser(Browser.groovy:62)
at h5.Browser.invokeMethod(Browser.groovy)
at com.kms.katalon.core.main.CustomKeywordDelegatingMetaClass.invokeStaticMethod(CustomKeywordDelegatingMetaClass.java:50)
at h5login.run(h5login:22)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:430)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:421)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:400)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:392)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:273)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:142)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:133)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1629946454892.run(TempTestCase1629946454892.groovy:25)

Could you help me why is that? i’ve already update my chrome and chromedriver in katalon studio.

Hi, I am facing the same issue although i am using the latest version of google chrome. Can you please help me. Thank you

I’m facing the same issue. Kindly help.

I’m also facing the same issue in mobile testing tap action. Kindly help me.

I’m also facing the same issue