WinAppDriver:It is impossible to create a new session because 'createSession' which takes HttpClient, InputStream and long was not found or it is not accessible

[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“EA32EB79-26EF-4A8C-A07E-46BB9372AD77”,“status”:0,“value”:{“app”:“D:\\Jenkins\\SmartSubEnterprise\\SSE\\SmartSUB_UI\\SSEUiClient\\SSE.UI.Client.exe”,“platformName”:“Windows”}}”
[JSONWP Proxy] Replacing sessionId EA32EB79-26EF-4A8C-A07E-46BB9372AD77 with c5e44205-7044-43bd-92ec-85cba827127f
[HTTP] <-- GET /wd/hub/session/c5e44205-7044-43bd-92ec-85cba827127f 200 67 ms - 188
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {“desiredCapabilities”:{“app”:“D:\SSE_Builds_From_BuildServer\Build_06-22-2018 04_28_19_CMS\SmartSUB_UI\SSEUiClient\SSE.UI.Client.exe”,“platformName”:“Windows”,“deviceName”:“WindowsPC”},“capabilities”:{“alwaysMatch”:{“appium:app”:“D:\SSE_Builds_From_BuildServer\Build_06-22-2018 04_28_19_CMS\SmartSUB_UI\SSEUiClient\SSE.UI.Client.exe”,“appium:deviceName”:“WindowsPC”,“platformName”:“windows”},“firstMatch”:[{}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{“app”:“D:\SSE_Builds_From_BuildServer\Build_06-22-2018 04_28_19_CMS\SmartSUB_UI\SSEUiClient\SSE.UI.Client.exe”,“platformName”:“Windows”,“deviceName”:“WindowsPC”},null,{“alwaysMatch”:{“appium:app”:“D:\SSE_Builds_From_BuildServer\Build_06-22-2018 04_28_19_CMS\SmartSUB_UI\SSEUiClient\SSE.UI.Client.exe”,“appium:deviceName”:“WindowsPC”,“platformName”:“windows”},“firstMatch”:[{}]}]
[debug] [BaseDriver] Event ‘newSessionRequested’ logged at 1532945475579 (15:41:15 GMT+0530 (India Standard Time))
[Appium] Creating new WindowsDriver (v1.2.0) session
[Appium] Capabilities:
[Appium] platformName: windows
[Appium] app: D:\SSE_Builds_From_BuildServer\Build_06-22-2018 04_28_19_CMS\SmartSUB_UI\SSEUiClient\SSE.UI.Client.exe
[Appium] deviceName: WindowsPC
[debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {“app”:“D:\SSE_Builds_From…
[BaseDriver] The following capabilities were provided, but are not recognized by appium: app.
[BaseDriver] Session created with session id: b24c2018-67ce-461e-9056-9bd42d82c2d2
[WinAppDriver] You must use WinAppDriver version 1.0
[WinAppDriver] Verifying WinAppDriver version 1.0 is installed via comparing the checksum.
[debug] [WinAppDriver] WinAppDriver changed state to ‘starting’
[WinAppDriver] Killing any old WinAppDrivers on same port, running: FOR /F “usebackq tokens=5” %a in (netstat -nao ^| findstr /R /C:"4724 ") do (FOR /F “usebackq” %b in (TASKLIST /FI "PID eq %a" ^| findstr /I winappdriver.exe) do (IF NOT %b==”" TASKKILL /F /PID %a))
[WinAppDriver] No old WinAppDrivers seemed to exist
[WinAppDriver] Spawning winappdriver with: 4724/wd/hub
[WinAppDriver] [STDOUT] Windows Application Driver listening for requests at: http://127.0.0.1:4724/wd/hub
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://127.0.0.1:4724/wd/hub/status] with no body
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] Address ‘http://127.0.0.1:4724/wd/hub’ is already in use
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] Failed to initialize: 0x80004005
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================
[WinAppDriver] [STDOUT] GET /wd/hub/status HTTP/1.1
[WinAppDriver] [STDOUT] Accept: /
[WinAppDriver] [STDOUT] Connection: keep-alive
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[WinAppDriver] [STDOUT] User-Agent: appium
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[WinAppDriver] [STDOUT] Content-Length: 139
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“build”:{“revision”:“17001”,“time”:“Tue Oct 17 18:04:03 2017”,“version”:“1.0.1710”},“os”:{“arch”:“amd64”,“name”:“windows”,“version”:“10”}}
[WinAppDriver] WinAppDriver exited unexpectedly with code 2147500037, signal null
[debug] [WinAppDriver] WinAppDriver changed state to ‘stopped’
[debug] [JSONWP Proxy] Got response with status 200: “{“build”:{“revision”:“17001”,“time”:“Tue Oct 17 18:04:03 2017”,“version”:“1.0.1710”},“os”:{“arch”:“amd64”,“name”:“windows”,“version”:“10”}}”
[WinAppDriver] Status call returned 200. we’re online and ready to run tests
[debug] [WinAppDriver] WinAppDriver changed state to ‘online’
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:4724/wd/hub/session] with body: {“desiredCapabilities”:{“app”:“D:\SSE_Builds_From_BuildServer\Build_06-22-2018 04_28_19_CMS\SmartSUB_UI\SSEUiClient\SSE.UI.Client.exe”,“platformName”:“Windows”,“deviceName”:“WindowsPC”}}
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================
[WinAppDriver] [STDOUT] POST /wd/hub/session HTTP/1.1
[WinAppDriver] [STDOUT] Accept: /
[WinAppDriver] [STDOUT] Connection: keep-alive
[WinAppDriver] [STDOUT] Content-Length: 191
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[WinAppDriver] [STDOUT] User-Agent: appium
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] HTTP/1.1 500 Internal Error
[WinAppDriver] [STDOUT] Content-Length: 101
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“status”:13,“value”:{“error”:“unknown error”,“message”:“The system cannot find the file specified”}}
[debug] [WinAppDriver] Deleting WinAppDriver session
[debug] [BaseDriver] Event ‘newSessionStarted’ logged at 1532945475992 (15:41:15 GMT+0530 (India Standard Time))
[W3C] Encountered internal error running command: {“w3cStatus”:500,“w3c”:{“error”:“unknown error”,“message”:“The system cannot find the file specified”}} ProxyRequestError: Could not proxy command to remote server. Original error: 500 - {“status”:13,“value”:{“error”:“unknown error”,“message”:“The system cannot find the file specified”}}
[W3C] at JWProxy.proxy$ (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:152:13)
[W3C] at tryCatch (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
[W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
[W3C] at GeneratorFunctionPrototype.invoke (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[W3C] at
[debug] [W3C] Matched W3C error code ‘unknown error’ to UnknownError
[HTTP] <-- POST /wd/hub/session 500 439 ms - 2076
[HTTP]
[BaseDriver] Shutting down because we waited 60 seconds for a command
[debug] [WinAppDriver] Deleting WinAppDriver session
[debug] [WinAppDriver] Deleting WinAppDriver server session
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:4724/wd/hub/session/44863F73-41F9-44B8-81A5-CB9087DB438A] with no body
[Appium] Closing session, cause was ‘New Command Timeout of 60 seconds expired. Try customizing the timeout using the ‘newCommandTimeout’ desired capability’
[Appium] Removing session 95b67d8a-5fbb-4ff8-a8ac-d4d108f3f00c from our master session list
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] ==========================================
[WinAppDriver] [STDOUT] DELETE /wd/hub/session/44863F73-41F9-44B8-81A5-CB9087DB438A HTTP/1.1
[WinAppDriver] [STDOUT] Accept: /
[WinAppDriver] [STDOUT] Connection: keep-alive
[WinAppDriver] [STDOUT] Content-Length: 0
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT] Host: 127.0.0.1:4724
[WinAppDriver] [STDOUT] User-Agent: appium
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] HTTP/1.1 200 OK
[WinAppDriver] [STDOUT] Content-Length: 63
[WinAppDriver] [STDOUT] Content-Type: application/json
[WinAppDriver] [STDOUT]
[WinAppDriver] [STDOUT] {“sessionId”:“44863F73-41F9-44B8-81A5-CB9087DB438A”,“status”:0}
[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“44863F73-41F9-44B8-81A5-CB9087DB438A”,“status”:0}”
[WinAppDriver] Did not get confirmation WinAppDriver deleteSession worked; Error was: Error: Did not get a valid response object. Object was: {“sessionId”:“44863F73-41F9-44B8-81A5-CB9087DB438A”,“status”:0}
[debug] [WinAppDriver] WinAppDriver changed state to ‘stopping’
[debug] [WinAppDriver] WinAppDriver changed state to ‘stopped’
[BaseDriver] Shutting down because we waited 60 seconds for a command
[debug] [WinAppDriver] Deleting WinAppDriver session
[debug] [WinAppDriver] Deleting WinAppDriver server session
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:4724/wd/hub/session/EA32EB79-26EF-4A8C-A07E-46BB9372AD77] with no body
[Appium] Closing session, cause was ‘New Command Timeout of 60 seconds expired. Try customizing the timeout using the ‘newCommandTimeout’ desired capability’
[Appium] Removing session c5e44205-7044-43bd-92ec-85cba827127f from our master session list
[WinAppDriver] Did not get confirmation WinAppDriver deleteSession worked; Error was: ProxyRequestError: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:4724
[debug] [WinAppDriver] WinAppDriver changed state to ‘stopping’
[WinAppDriver] Error: Can’t stop process; it’s not currently running (cmd: ‘C:\Program Files (x86)\Windows Application Driver\WinAppDriver.exe’)
[WinAppDriver] at SubProcess.stop$ (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\teen_process\lib\subprocess.js:179:13)
[WinAppDriver] at tryCatch (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[WinAppDriver] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
[WinAppDriver] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
[WinAppDriver] at invoke (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[WinAppDriver] at enqueueResult (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:185:17)
[WinAppDriver] at new Promise ()
[WinAppDriver] at new F (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\core-js\library\modules$.export.js:30:36)
[WinAppDriver] at AsyncIterator.enqueue (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:184:12)
[WinAppDriver] at AsyncIterator.prototype.(anonymous function) [as next] (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
[WinAppDriver] at Object.runtime.async (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:209:12)
[WinAppDriver] at SubProcess.stop (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\teen_process\build\lib\subprocess.js:258:34)
[WinAppDriver] at WinAppDriver.stop$ (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-windows-driver\lib\winappdriver.js:143:25)
[WinAppDriver] at tryCatch (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[WinAppDriver] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
[WinAppDriver] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
[WinAppDriver] at invoke (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[WinAppDriver] at enqueueResult (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:185:17)
[WinAppDriver] at new Promise ()
[WinAppDriver] at new F (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\core-js\library\modules$.export.js:30:36)
[WinAppDriver] at AsyncIterator.enqueue (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:184:12)
[WinAppDriver] at AsyncIterator.prototype.(anonymous function) [as next] (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
[WinAppDriver] at Object.runtime.async (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:209:12)
[WinAppDriver] at WinAppDriver.stop (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-windows-driver\build\lib\winappdriver.js:343:34)
[WinAppDriver] at WindowsDriver.deleteSession$ (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\appium-windows-driver\lib\driver.js:63:31)
[WinAppDriver] at tryCatch (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
[WinAppDriver] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
[WinAppDriver] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
[WinAppDriver] at GeneratorFunctionPrototype.invoke (C:\Users\USSETest01\AppData\Local\Programs\appium-desktop\resources\app\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
[WinAppDriver] at