Skip to content

Instantly share code, notes, and snippets.

@coolvasanth
Last active April 7, 2020 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coolvasanth/71a66aa818ae2a62b2c31c919a7436d0 to your computer and use it in GitHub Desktop.
Save coolvasanth/71a66aa818ae2a62b2c31c919a7436d0 to your computer and use it in GitHub Desktop.
Appium issue "null response was thrown sending an HTTP"
[ADB] Running 'C:\Users\212779003\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop ge.mediamanager.ionicapp'
[AndroidDriver] Getting a list of available webviews
[ADB] Running 'C:\Users\212779003\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cat /proc/net/unix'
[AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on
[AndroidDriver] Found webviews: []
[AndroidDriver] Available contexts: ["NATIVE_APP"]
[W3C (8d1973c8)] Responding to client with driver.closeApp() result: null
[HTTP] <-- POST /wd/hub/session/8d1973c8-eaf0-4074-900d-35fffbddf691/appium/app/close 200 1323 ms - 14
[HTTP]
[HTTP] --> DELETE /wd/hub/session/8d1973c8-eaf0-4074-900d-35fffbddf691
[HTTP] {}
[W3C (8d1973c8)] Calling AppiumDriver.deleteSession() with args: ["8d1973c8-eaf0-4074-900d-35fffbddf691"]
[BaseDriver] Event 'quitSessionRequested' logged at 1586262991772 (18:06:31 GMT+0530 (India Standard Time))
[Appium] Removing session 8d1973c8-eaf0-4074-900d-35fffbddf691 from our master session list
[UiAutomator2] Deleting UiAutomator2 session
[AndroidDriver] Stopping chromedriver for context WEBVIEW_ge.mediamanager.ionicapp
[Chromedriver] Changed state to 'stopping'
[WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8000/wd/hub/session/9280f9aafe948216b089fa106a413969] with no body
[WD Proxy] Got response with status 200: {"sessionId":"9280f9aafe948216b089fa106a413969","status":0,"value":null}
[Chromedriver] Changed state to 'stopped'
[UiAutomator2] Deleting UiAutomator2 server session
[WD Proxy] Matched '/' to command name 'deleteSession'
[WD Proxy] Proxying [DELETE /] to [DELETE http://localhost:8200/wd/hub/session/95007656-5bc0-46a7-b33f-a6bcd63fe296] with no body
[WD Proxy] Got response with status 200: {"sessionId":"95007656-5bc0-46a7-b33f-a6bcd63fe296","value":null}
[ADB] Running 'C:\Users\212779003\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop ge.mediamanager.ionicapp'
[Instrumentation] .
[Logcat] Stopping logcat capture
[ADB] Removing forwarded port socket connection: 8200
[ADB] Running 'C:\Users\212779003\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward --remove tcp\:8200'
[UiAutomator2] Restoring hidden api policy to the device default configuration
[ADB] Running 'C:\Users\212779003\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell settings delete global hidden_api_policy_pre_p_apps'
[ADB] Running 'C:\Users\212779003\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell settings delete global hidden_api_policy_p_apps'
[ADB] Running 'C:\Users\212779003\AppData\Local\Android\sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell settings delete global hidden_api_policy'
[BaseDriver] Event 'quitSessionFinished' logged at 1586262994526 (18:06:34 GMT+0530 (India Standard Time))
[W3C (8d1973c8)] Received response: null
[W3C (8d1973c8)] But deleting session, so not returning
[W3C (8d1973c8)] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/8d1973c8-eaf0-4074-900d-35fffbddf691 200 2755 ms - 14
[HTTP]
[HTTP] --> DELETE /wd/hub/session/
[HTTP] {}
[HTTP] No route found. Setting content type to 'text/plain'
[HTTP] <-- DELETE /wd/hub/session/ 404 1 ms - 58
[HTTP]
[Instrumentation] Time: 126.388
[Instrumentation]
[Instrumentation] OK (1 test)
[Instrumentation] The process has exited with code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment