Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Error "Failed to Dump Window Hierarchy","status":13" while i am using appium inspector on windows + Android #4151

Closed
sanjaykumar5115 opened this issue Nov 24, 2014 · 23 comments
Labels
Android related to Android-native driver(s) Bug a problem that needs fixing DriverIssue nonspecific driver issue P2

Comments

@sanjaykumar5115
Copy link

Hi all,
I am Getting Error "Failed to Dump Window Hierarchy","status":13" while i am using appium inspector on windows + Android
Complete log cat are as


iQEHaloControlHA.apk","address":"127.0.0.1","logNoColors":true,"androidDeviceReadyTimeout":"300","deviceName":"Ngdcs s5","platformName":"Android","platformVersion":"18","automationName":"Appium"}

info: Console LogLevel: debug
info: �[37m-->�[39m �[37mPOST�[39m �[37m/wd/hub/session�[39m �[90m{"desiredCapabilities":{"deviceName":"Ngdcs s5","app":"E:\APPium\iQEHaloControlHA.apk","deviceReadyTimeout":"300","platformName":"Android"}}�[39m
info: [debug] No appActivity desired capability or server param. Parsing from apk.
info: [debug] No appPackage desired capability or server param. Parsing from apk.
info: [debug] Using local app from desired caps: E:\APPium\iQEHaloControlHA.apk
info: [debug] Creating new appium session c3d8f381-0598-4dca-89ee-9b5fe735c515
info: Starting android appium
info: [debug] Using fast reset? true
info: [debug] Preparing device for session
info: [debug] Checking whether app is actually present
info: [debug] Checking whether adb is present
info: [debug] Using adb from C:\AndroidSdk\sdk\platform-tools\adb.exe
info: Retrieving device
info: [debug] Trying to find a connected android device
info: [debug] Getting connected devices...
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" devices
info: [debug] 1 device(s) connected
info: Found device 4d00b2c14b294157
info: [debug] Setting device id to 4d00b2c14b294157
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 300)
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 wait-for-device
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "echo 'ready'"
info: [debug] Starting logcat capture
info: [debug] Parsing package and activity from app manifest
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from C:\AndroidSdk\sdk\build-tools\android-4.3\aapt.exe
info: [debug] packageAndLaunchActivityFromManifest: "C:\AndroidSdk\sdk\build-tools\android-4.3\aapt.exe" dump badging "E:\APPium\iQEHaloControlHA.apk"
info: [debug] badging package: com.hybrid.ngdcs.android
info: [debug] badging act: com.hybrid.ngdcs.android.iQEHaloControlHA
info: [debug] Parsed package and activity are: com.hybrid.ngdcs.android/com.hybrid.ngdcs.android.iQEHaloControlHA
info: [debug] Getting device API level
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 19
info: Device API level is: 19
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "getprop persist.sys.language"
info: [debug] Current device language: en
info: [debug] java -jar "E:\APPium\appium-dotnet-driver-master\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "E:\APPium\iQEHaloControlHA.apk" "C:\Windows\Temp\com.hybrid.ngdcs.android" en
info: [debug] No strings.xml for language 'en', getting default strings.xml
info: [debug] java -jar "E:\APPium\appium-dotnet-driver-master\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "E:\APPium\iQEHaloControlHA.apk" "C:\Windows\Temp\com.hybrid.ngdcs.android"
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 push "C:\Windows\Temp\com.hybrid.ngdcs.android\strings.json" /data/local/tmp
info: [debug] Checking whether aapt is present
info: [debug] Using aapt from C:\AndroidSdk\sdk\build-tools\android-4.3\aapt.exe
info: [debug] processFromManifest: "C:\AndroidSdk\sdk\build-tools\android-4.3\aapt.exe" dump xmltree "E:\APPium\iQEHaloControlHA.apk" AndroidManifest.xml
info: [debug] Set app process to: com.hybrid.ngdcs.android
info: [debug] Not uninstalling app since server not started with --full-reset
info: [debug] Checking app cert for E:\APPium\iQEHaloControlHA.apk: java -jar "E:\APPium\appium-dotnet-driver-master\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar" "E:\APPium\iQEHaloControlHA.apk"
info: [debug] App already signed.
info: [debug] Zip-aligning E:\APPium\iQEHaloControlHA.apk
info: [debug] Checking whether zipalign is present
info: [debug] Using zipalign from C:\AndroidSdk\sdk\build-tools\19.1.0\zipalign.exe
info: [debug] zipAlignApk: "C:\AndroidSdk\sdk\build-tools\19.1.0\zipalign.exe" -f 4 "E:\APPium\iQEHaloControlHA.apk" "C:\Users\sanjaykr\AppData\Local\Temp\appium1141024-6036-17drgf0.tmp"
info: [debug] MD5 for app is d6e0de5e1f7ebb0b1379dbfd52682be4
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "ls /data/local/tmp/d6e0de5e1f7ebb0b1379dbfd52682be4.apk"
info: [debug] Getting install status for com.hybrid.ngdcs.android
info: [debug] Getting device API level
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 19
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "pm list packages -3 com.hybrid.ngdcs.android"
info: [debug] App is installed
info: App is already installed, resetting app
info: [debug] Running fast reset (stop and clear)
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "am force-stop com.hybrid.ngdcs.android"
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "pm clear com.hybrid.ngdcs.android"
info: [debug] Forwarding system:4724 to device:4724
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 forward tcp:4724 tcp:4724
info: [debug] Pushing appium bootstrap to device...
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 push "E:\APPium\appium-dotnet-driver-master\Appium\node_modules\appium\build\android_bootstrap\AppiumBootstrap.jar" /data/local/tmp/
info: [debug] Pushing settings apk to device...
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 install "E:\APPium\appium-dotnet-driver-master\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk"
info: [debug] Pushing unlock helper app to device...
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 install "E:\APPium\appium-dotnet-driver-master\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk"
info: Starting App
info: [debug] Attempting to kill all 'uiautomator' processes
info: [debug] Getting all processes with 'uiautomator'
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "ps 'uiautomator'"
info: [debug] No matching processes found
info: [debug] Running bootstrap
info: [debug] spawning: C:\AndroidSdk\sdk\platform-tools\adb.exe -s 4d00b2c14b294157 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap
info: [debug] �[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1�[39m
info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
info: [debug] [BOOTSTRAP] [debug] Loading json...
info: [debug] Waking up device if it's not alive
info: [debug] Pushing command to appium work queue: ["wake",{}]
info: [debug] [BOOTSTRAP] [debug] json loading complete.
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
info: [debug] [BOOTSTRAP] [debug] Client connected
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"wake","params":{}}
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "dumpsys window"
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: wake
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
info: [debug] Writing dumpsys output to E:\APPium\appium-dotnet-driver-master\Appium\node_modules\appium.dumpsys.log
info: [debug] Screen already unlocked, continuing.
info: [debug] Pushing command to appium work queue: ["getDataDir",{}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"getDataDir","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
info: [debug] dataDir set to: /data/local/tmp
info: [debug] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"/data/local/tmp","status":0}
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"compressedLayoutHierarchy","params":{"compressLayout":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":false,"status":0}
info: [debug] Getting device API level
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "getprop ro.build.version.sdk"
info: [debug] Device is at API Level 19
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.hybrid.ngdcs.android/com.hybrid.ngdcs.android.iQEHaloControlHA"
info: [debug] Waiting for pkg "com.hybrid.ngdcs.android" and activity "com.hybrid.ngdcs.android.iQEHaloControlHA" to be focused
info: [debug] Getting focused package and activity
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "dumpsys window windows"
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to the default of 60 secs
info: [debug] Appium session started with sessionId c3d8f381-0598-4dca-89ee-9b5fe735c515
info: �[37m<-- POST /wd/hub/session �[39m�[36m303�[39m�[90m 10097.208 ms - 9�[39m �[90m�[39m
info: �[37m-->�[39m �[37mGET�[39m �[37m/wd/hub/session/c3d8f381-0598-4dca-89ee-9b5fe735c515�[39m �[90m{}�[39m
info: [debug] Responding to client with success: {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"4.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"deviceName":"Ngdcs s5","app":"E:\APPium\iQEHaloControlHA.apk","deviceReadyTimeout":"300","platformName":"Android"},"deviceName":"Ngdcs s5","app":"E:\APPium\iQEHaloControlHA.apk","deviceReadyTimeout":"300","platformName":"Android"},"sessionId":"c3d8f381-0598-4dca-89ee-9b5fe735c515"}
info: �[37m<-- GET /wd/hub/session/c3d8f381-0598-4dca-89ee-9b5fe735c515 �[39m�[32m200�[39m�[90m 2.913 ms - 561�[39m �[90m{"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"4.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"deviceName":"Ngdcs s5","app":"E:\APPium\iQEHaloControlHA.apk","deviceReadyTimeout":"300","platformName":"Android"},"deviceName":"Ngdcs s5","app":"E:\APPium\iQEHaloControlHA.apk","deviceReadyTimeout":"300","platformName":"Android"},"sessionId":"c3d8f381-0598-4dca-89ee-9b5fe735c515"}�[39m
info: �[37m-->�[39m �[37mGET�[39m �[37m/wd/hub/session/c3d8f381-0598-4dca-89ee-9b5fe735c515/source�[39m �[90m{}�[39m
info: [debug] Pushing command to appium work queue: ["source",{}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"source","params":{}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: source
info: [debug] �[90m[UIAUTOMATOR STDOUT] java.io.FileNotFoundException: /data/local/tmp/local/tmp/dump.xml: open failed: ENOENT (No such file or directory)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at libcore.io.IoBridge.open(IoBridge.java:409)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at java.io.FileInputStream.(FileInputStream.java:78)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at java.io.FileReader.(FileReader.java:42)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.utils.XMLHierarchy.getRawXMLHierarchy(XMLHierarchy.java:88)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.utils.XMLHierarchy.getFormattedXMLDoc(XMLHierarchy.java:96)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.handler.Source.execute(Source.java:25)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.AndroidCommandExecutor.execute(AndroidCommandExecutor.java:64)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.SocketServer.runCommand(SocketServer.java:167)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.SocketServer.handleClientData(SocketServer.java:88)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.SocketServer.listenForever(SocketServer.java:132)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.Bootstrap.testRunServer(Bootstrap.java:16)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] java.lang.reflect.Method.invokeNative(Native Method)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at java.lang.reflect.Method.invoke(Method.java:515)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at junit.framework.TestCase.runTest(TestCase.java:168)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at junit.framework.TestCase.runBare(TestCase.java:134)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at junit.framework.TestResult$1.protect(TestResult.java:115)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at junit.framework.TestResult.runProtected(TestResult.java:133)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at junit.framework.TestResult.run(TestResult.java:118)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at junit.framework.TestCase.run(TestCase.java:124)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at com.android.uiautomator.testrunner.UiAutomatorTestRunner.start(UiAutomatorTestRunner.java:160)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at com.android.uiautomator.testrunner.UiAutomatorTestRunner.run(UiAutomatorTestRunner.java:96)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at com.android.commands.uiautomator.RunTestCommand.run(RunTestCommand.java:91)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at com.android.commands.uiautomator.Launcher.main(Launcher.java:83)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:301)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at dalvik.system.NativeStart.main(Native Method)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at libcore.io.Posix.open(Native Method)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] at libcore.io.IoBridge.open(IoBridge.java:393)�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] ... 25�[39m
info: [debug] �[90m[UIAUTOMATOR STDOUT] more�[39m
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"Failed to Dump Window Hierarchy","status":13}
info: [debug] Responding to client with error: {"status":13,"value":{"message":"An unknown server-side error occurred while processing the command.","origValue":"Failed to Dump Window Hierarchy"},"sessionId":"c3d8f381-0598-4dca-89ee-9b5fe735c515"}
info: �[37m<-- GET /wd/hub/session/c3d8f381-0598-4dca-89ee-9b5fe735c515/source �[39m�[31m500�[39m�[90m 23.727 ms - 200�[39m �[90m�[39m
info: �[37m-->�[39m �[37mGET�[39m �[37m/wd/hub/session/c3d8f381-0598-4dca-89ee-9b5fe735c515/screenshot�[39m �[90m{}�[39m
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "/system/bin/rm /data/local/tmp/screenshot.png; /system/bin/screencap -p /data/local/tmp/screenshot.png "
info: [debug] executing: "C:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 pull /data/local/tmp/screenshot.png "C:\Users\sanjaykr\AppData\Local\Temp\appium1141024-6036-wad1jt.png"
info: [debug] Responding to client with success: {"status":0,"value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAeACAYAAAArYecKAAAABHNCSVQICAgIfAhkiAAAIABJREFUeJzs3Xd4VWW+9//PTiUNEkKCBEhCh9AhFGkCIhIVROIAF5KRoiQzPjM8ch5ksDwz54AwHs7ljFPOQ5xhxhFELAERFVQQIiCCCRBKQpESYihJIJSQXn5/5LfXyU4jfWeF9+u6vMxua90Jyd5rfdZ9f7+WwMDAEgEAAAAAAJiYg70HAAAAAAAAUF8EHAAAAAAAwPQIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgAMAAAAAAJgeAQcAAAAAADA9Ag4AAAAAAGB6TvYeAAAAAFBX7u7u8vb2VqtWreTm5iZ3d3dJkouLi1xdXSVJeXl5ys/PlyRlZ2crJydHubm5unnzprKzs+02dgBAw2qxAUf37t2VkpKivLw8ew8FAAAADcTZ2Vn+/v7y9fVVmzZt5OzsfM/XuLq6GmGHl5eXzWMFBQW6deuWrl+/rrS0NBUUFDTKuAEAjc8SGBhYYu9BNDRnZ2ctXrxYFy9e1Mcff2zv4QAAAKAeLBaL2rdvr/bt28vX17dR93X9+nVdvXpVaWlpKilpcYfJuE8MHjxYPj4+NX5+Zmamjhw50ogjAppGi5zBERoaqj59+igwMFCxsbFKT0+395DQjDk4OOiBBx5Q165dFRwcLG9vb3l6ekqS7ty5oxs3bujixYs6f/48BzsAADQhJycnBQQEKDAwUC4uLk2yT19fX/n6+qpHjx66dOmSLl++rMLCwibZt5nMnj1bmzZtsvcwAMBGiws4PD09NW7cOLm5ucnV1VVhYWF6//33TT/dcOPGjY2+j7S0NP3zn/9UQkJCo+/Lnjw8PNSxY0d169ZNISEh6tatm7y9ve/5upKSEt24cUM//vijEhMTde7cOV2+fFm5ublNMGoAAO4fFotFnTt3VnBwsJyc7HO46uLiou7duys4...","sessionId":"c3d8f381-0598-4dca-89ee-9b5fe735c515"}
info: �[37m<-- GET /wd/hub/session/c3d8f381-0598-4dca-89ee-9b5fe735c515/screenshot �[39m�[32m200�[39m�[90m 901.275 ms - 38854�[39m �[90m{"status":0,"value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAeACAYAAAArYecKAAAABHNCSVQICAgIfAhkiAAAIABJREFUeJzs3Xd4VWW+9//PTiUNEkKCBEhCh9AhFGkCIhIVROIAF5KRoiQzPjM8ch5ksDwz54AwHs7ljFPOQ5xhxhFELAERFVQQIiCCCRBKQpESYihJIJSQXn5/5LfXyU4jfWeF9+u6vMxua90Jyd5rfdZ9f7+WwMDAEgEAAAAAAJiYg70HAAAAAAAAUF8EHAAAAAAAwPQIOAAAAAAAgOkRcAAAAAAAANMj4AAAAAAAAKZHwAEAAAAAAEyPgAMAAAAAAJgeAQcAAAAAADA9Ag4AAAAAAGB6TvYeAAAAAFBX7u7u8vb2VqtWreTm5iZ3d3dJkouLi1xdXSVJeXl5ys/PlyRlZ2crJydHubm5unnzprKzs+02dgBAw2qxAUf37t2VkpKivLw8ew8FAAAADcTZ2Vn+/v7y9fVVmzZt5OzsfM/XuLq6GmGHl5eXzWMFBQW6deuWrl+/rrS0NBUUFDTKuAEAjc8SGBhYYu9BNDRnZ2ctXrxYFy9e1Mcff2zv4QAAAKAeLBaL2rdvr/bt28vX17dR93X9+nVdvXpVaWlpKilpcYfJuE8MHjxYPj4+NX5+Zmamjhw50ogjAppGi5zBERoaqj59+igwMFCxsbFKT0+395DQjDk4OOiBBx5Q165dFRwcLG9vb3l6ekqS7ty5oxs3bujixYs6f/48BzsAADQhJycnBQQEKDAwUC4uLk2yT19fX/n6+qpHjx66dOmSLl++rMLCwibZt5nMnj1bmzZtsvcwAMBGiws4PD09NW7cOLm5ucnV1VVhYWF6//33TT/dcOPGjY2+j7S0NP3zn/9UQkJCo+/Lnjw8PNSxY0d169ZNISEh6tatm7y9ve/5upKSEt24cUM//vijEhMTde7cOV2+fFm5ublNMGoAAO4fFotFnTt3VnBwsJyc7HO46uLiou7duys4...","sessionId":"c3d8f381-0598-4dca-89ee-9b5fe735c515"}�[39m
info: [debug] Didn't get a new command in 60 secs, shutting down...

@triager triager added the Needs Triage bugs which are not yet confirmed label Nov 24, 2014
@imurchie
Copy link
Contributor

What version of Appium are you using? And is this on startup of the inspector? Does it happen with the emulator?

@sanjaykumar5115
Copy link
Author

Thanks imuchie,

Please find the below log for this error.


2014-11-25 09:06:42:658 - info: Welcome to Appium v1.2.4 (REV 7158442)
2014-11-25 09:06:42:660 - info: Appium REST http interface listener started on 127.0.0.1:4723
2014-11-25 09:06:42:663 - info: [debug] Non-default server args: {"app":"E:\iQEHaloControlHA.apk","address":"127.0.0.1","log":"e:\AppiumSamsungS5LogNotIdentifyingElements","logNoColors":true,"deviceName":"Android","platformName":"Android","platformVersion":"19","automationName":"Appium"}
2014-11-25 09:06:42:663 - info: Console LogLevel: debug
2014-11-25 09:06:42:664 - info: File LogLevel: debug
2014-11-25 09:06:45:666 - info: �[37m-->�[39m �[37mPOST�[39m �[37m/wd/hub/session�[39m �[90m{"desiredCapabilities":{"deviceName":"Android","app":"E:\iQEHaloControlHA.apk","platformName":"Android"}}�[39m
2014-11-25 09:06:45:670 - info: [debug] No appActivity desired capability or server param. Parsing from apk.
2014-11-25 09:06:45:670 - info: [debug] No appPackage desired capability or server param. Parsing from apk.
2014-11-25 09:06:45:670 - info: [debug] Using local app from desired caps: E:\iQEHaloControlHA.apk
2014-11-25 09:06:45:671 - info: [debug] Creating new appium session e9a16822-6fdf-4678-a1db-3bb7be6e1e90
2014-11-25 09:06:45:672 - info: Starting android appium
2014-11-25 09:06:45:672 - info: [debug] Using fast reset? true
2014-11-25 09:06:45:674 - info: [debug] Preparing device for session
2014-11-25 09:06:45:674 - info: [debug] Checking whether app is actually present
2014-11-25 09:06:45:675 - info: [debug] Checking whether adb is present
2014-11-25 09:06:45:677 - info: [debug] Using adb from E:\AndroidSdk\sdk\platform-tools\adb.exe
2014-11-25 09:06:45:677 - info: Retrieving device
2014-11-25 09:06:45:678 - info: [debug] Trying to find a connected android device
2014-11-25 09:06:45:678 - info: [debug] Getting connected devices...
2014-11-25 09:06:45:678 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" devices
2014-11-25 09:06:45:727 - info: [debug] 1 device(s) connected
2014-11-25 09:06:45:727 - info: Found device 4d00b2c14b294157
2014-11-25 09:06:45:728 - info: [debug] Setting device id to 4d00b2c14b294157
2014-11-25 09:06:45:728 - info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
2014-11-25 09:06:45:729 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 wait-for-device
2014-11-25 09:06:45:777 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "echo 'ready'"
2014-11-25 09:06:45:838 - info: [debug] Starting logcat capture
2014-11-25 09:06:45:889 - info: [debug] Parsing package and activity from app manifest
2014-11-25 09:06:45:890 - info: [debug] Checking whether aapt is present
2014-11-25 09:06:45:892 - info: [debug] Using aapt from E:\AndroidSdk\sdk\build-tools\android-4.3\aapt.exe
2014-11-25 09:06:45:892 - info: [debug] packageAndLaunchActivityFromManifest: "E:\AndroidSdk\sdk\build-tools\android-4.3\aapt.exe" dump badging "E:\iQEHaloControlHA.apk"
2014-11-25 09:06:45:937 - info: [debug] badging package: com.hybrid.ngdcs.android
2014-11-25 09:06:45:938 - info: [debug] badging act: com.hybrid.ngdcs.android.iQEHaloControlHA
2014-11-25 09:06:45:938 - info: [debug] Parsed package and activity are: com.hybrid.ngdcs.android/com.hybrid.ngdcs.android.iQEHaloControlHA
2014-11-25 09:06:45:938 - info: [debug] Getting device API level
2014-11-25 09:06:45:938 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "getprop ro.build.version.sdk"
2014-11-25 09:06:46:017 - info: [debug] Device is at API Level 19
2014-11-25 09:06:46:017 - info: Device API level is: 19
2014-11-25 09:06:46:018 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "getprop persist.sys.language"
2014-11-25 09:06:46:101 - info: [debug] Current device language: en
2014-11-25 09:06:46:101 - info: [debug] java -jar "C:\Users\stutij\Desktop\Appium\AppiumForWindows-1.2.4.1\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "E:\iQEHaloControlHA.apk" "C:\Windows\Temp\com.hybrid.ngdcs.android" en
2014-11-25 09:06:46:462 - info: [debug] No strings.xml for language 'en', getting default strings.xml
2014-11-25 09:06:46:462 - info: [debug] java -jar "C:\Users\stutij\Desktop\Appium\AppiumForWindows-1.2.4.1\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "E:\iQEHaloControlHA.apk" "C:\Windows\Temp\com.hybrid.ngdcs.android"
2014-11-25 09:06:46:822 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 push "C:\Windows\Temp\com.hybrid.ngdcs.android\strings.json" /data/local/tmp
2014-11-25 09:06:46:872 - info: [debug] Checking whether aapt is present
2014-11-25 09:06:46:873 - info: [debug] Using aapt from E:\AndroidSdk\sdk\build-tools\android-4.3\aapt.exe
2014-11-25 09:06:46:874 - info: [debug] processFromManifest: "E:\AndroidSdk\sdk\build-tools\android-4.3\aapt.exe" dump xmltree "E:\iQEHaloControlHA.apk" AndroidManifest.xml
2014-11-25 09:06:46:909 - info: [debug] Set app process to: com.hybrid.ngdcs.android
2014-11-25 09:06:46:909 - info: [debug] Not uninstalling app since server not started with --full-reset
2014-11-25 09:06:46:910 - info: [debug] Checking app cert for E:\iQEHaloControlHA.apk: java -jar "C:\Users\stutij\Desktop\Appium\AppiumForWindows-1.2.4.1\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar" "E:\iQEHaloControlHA.apk"
2014-11-25 09:06:47:248 - info: [debug] App already signed.
2014-11-25 09:06:47:249 - info: [debug] Zip-aligning E:\iQEHaloControlHA.apk
2014-11-25 09:06:47:249 - info: [debug] Checking whether zipalign is present
2014-11-25 09:06:47:251 - info: [debug] Using zipalign from E:\AndroidSdk\sdk\build-tools\19.1.0\zipalign.exe
2014-11-25 09:06:47:252 - info: [debug] zipAlignApk: "E:\AndroidSdk\sdk\build-tools\19.1.0\zipalign.exe" -f 4 "E:\iQEHaloControlHA.apk" "C:\Users\stutij\AppData\Local\Temp\appium1141025-3792-10f9vwu.tmp"
2014-11-25 09:06:47:354 - info: [debug] MD5 for app is 3de979ad3532f7fe615707f0a1d2d418
2014-11-25 09:06:47:355 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "ls /data/local/tmp/3de979ad3532f7fe615707f0a1d2d418.apk"
2014-11-25 09:06:47:421 - info: [debug] Getting install status for com.hybrid.ngdcs.android
2014-11-25 09:06:47:421 - info: [debug] Getting device API level
2014-11-25 09:06:47:422 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "getprop ro.build.version.sdk"
2014-11-25 09:06:47:495 - info: [debug] Device is at API Level 19
2014-11-25 09:06:47:496 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "pm list packages -3 com.hybrid.ngdcs.android"
2014-11-25 09:06:48:577 - info: [debug] App is installed
2014-11-25 09:06:48:577 - info: Installing App
2014-11-25 09:06:48:578 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "mkdir -p /data/local/tmp/"
2014-11-25 09:06:48:655 - info: [debug] Removing any old apks
2014-11-25 09:06:48:656 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "ls /data/local/tmp/*.apk"
2014-11-25 09:06:48:753 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell rm "/data/local/tmp/d6e0de5e1f7ebb0b1379dbfd52682be4.apk"
2014-11-25 09:06:48:829 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 push "E:\iQEHaloControlHA.apk" /data/local/tmp/3de979ad3532f7fe615707f0a1d2d418.apk
2014-11-25 09:06:49:582 - info: [debug] Uninstalling com.hybrid.ngdcs.android
2014-11-25 09:06:49:582 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "am force-stop com.hybrid.ngdcs.android"
2014-11-25 09:06:50:515 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 uninstall com.hybrid.ngdcs.android
2014-11-25 09:06:52:195 - info: [debug] App was uninstalled
2014-11-25 09:06:52:195 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "pm install -r /data/local/tmp/3de979ad3532f7fe615707f0a1d2d418.apk"
2014-11-25 09:06:55:027 - info: [debug] Forwarding system:4724 to device:4724
2014-11-25 09:06:55:027 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 forward tcp:4724 tcp:4724
2014-11-25 09:06:55:074 - info: [debug] Pushing appium bootstrap to device...
2014-11-25 09:06:55:075 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 push "C:\Users\stutij\Desktop\Appium\AppiumForWindows-1.2.4.1\Appium\node_modules\appium\build\android_bootstrap\AppiumBootstrap.jar" /data/local/tmp/
2014-11-25 09:06:55:141 - info: [debug] Pushing settings apk to device...
2014-11-25 09:06:55:141 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 install "C:\Users\stutij\Desktop\Appium\AppiumForWindows-1.2.4.1\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk"
2014-11-25 09:06:56:399 - info: [debug] Pushing unlock helper app to device...
2014-11-25 09:06:56:399 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 install "C:\Users\stutij\Desktop\Appium\AppiumForWindows-1.2.4.1\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk"
2014-11-25 09:06:57:695 - info: Starting App
2014-11-25 09:06:57:695 - info: [debug] Attempting to kill all 'uiautomator' processes
2014-11-25 09:06:57:696 - info: [debug] Getting all processes with 'uiautomator'
2014-11-25 09:06:57:696 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "ps 'uiautomator'"
2014-11-25 09:06:57:825 - info: [debug] No matching processes found
2014-11-25 09:06:57:826 - info: [debug] Running bootstrap
2014-11-25 09:06:57:826 - info: [debug] spawning: E:\AndroidSdk\sdk\platform-tools\adb.exe -s 4d00b2c14b294157 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap
2014-11-25 09:06:58:555 - info: [debug] �[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1�[39m
2014-11-25 09:06:58:555 - info: [debug] �[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=�[39m
2014-11-25 09:06:58:555 - info: [debug] �[90m[UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:�[39m
2014-11-25 09:06:58:556 - info: [debug] �[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner�[39m
2014-11-25 09:06:58:556 - info: [debug] �[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer�[39m
2014-11-25 09:06:58:556 - info: [debug] �[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap�[39m
2014-11-25 09:06:58:556 - info: [debug] �[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1�[39m
2014-11-25 09:06:58:556 - info: [debug] �[90m[UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1�[39m
2014-11-25 09:06:58:577 - info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
2014-11-25 09:06:58:577 - info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
2014-11-25 09:06:58:578 - info: [debug] Waking up device if it's not alive
2014-11-25 09:06:58:578 - info: [debug] Pushing command to appium work queue: ["wake",{}]
2014-11-25 09:06:58:580 - info: [debug] [BOOTSTRAP] [debug] Loading json...
2014-11-25 09:06:58:589 - info: [debug] [BOOTSTRAP] [debug] json loading complete.
2014-11-25 09:06:58:590 - info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
2014-11-25 09:06:58:590 - info: [debug] [BOOTSTRAP] [debug] Client connected
2014-11-25 09:06:58:592 - info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"wake","params":{}}
2014-11-25 09:06:58:592 - info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
2014-11-25 09:06:58:592 - info: [debug] [BOOTSTRAP] [debug] Got command action: wake
2014-11-25 09:06:58:593 - info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
2014-11-25 09:06:58:595 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "dumpsys window"
2014-11-25 09:06:58:685 - info: [debug] Writing dumpsys output to C:\Users\stutij\Desktop\Appium\AppiumForWindows-1.2.4.1\Appium\node_modules\appium.dumpsys.log
2014-11-25 09:06:58:686 - info: [debug] Screen already unlocked, continuing.
2014-11-25 09:06:58:686 - info: [debug] Pushing command to appium work queue: ["getDataDir",{}]
2014-11-25 09:06:58:688 - info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"getDataDir","params":{}}
2014-11-25 09:06:58:689 - info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
2014-11-25 09:06:58:689 - info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
2014-11-25 09:06:58:690 - info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"/data/local/tmp","status":0}
2014-11-25 09:06:58:690 - info: [debug] dataDir set to: /data/local/tmp
2014-11-25 09:06:58:691 - info: [debug] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}]
2014-11-25 09:06:58:693 - info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"compressedLayoutHierarchy","params":{"compressLayout":false}}
2014-11-25 09:06:58:695 - info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
2014-11-25 09:06:58:695 - info: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy
2014-11-25 09:06:58:696 - info: [debug] Getting device API level
2014-11-25 09:06:58:696 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "getprop ro.build.version.sdk"
2014-11-25 09:06:58:709 - info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":false,"status":0}
2014-11-25 09:06:58:777 - info: [debug] Device is at API Level 19
2014-11-25 09:06:58:778 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.hybrid.ngdcs.android/com.hybrid.ngdcs.android.iQEHaloControlHA"
2014-11-25 09:07:00:026 - info: [debug] Waiting for pkg "com.hybrid.ngdcs.android" and activity "com.hybrid.ngdcs.android.iQEHaloControlHA" to be focused
2014-11-25 09:07:00:027 - info: [debug] Getting focused package and activity
2014-11-25 09:07:00:027 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "dumpsys window windows"
2014-11-25 09:07:00:120 - info: [debug] Device launched! Ready for commands
2014-11-25 09:07:00:121 - info: [debug] Setting command timeout to the default of 60 secs
2014-11-25 09:07:00:122 - info: [debug] Appium session started with sessionId e9a16822-6fdf-4678-a1db-3bb7be6e1e90
2014-11-25 09:07:00:126 - info: �[37m<-- POST /wd/hub/session �[39m�[36m303�[39m�[90m 14459.805 ms - 9�[39m �[90m�[39m
2014-11-25 09:07:00:128 - info: �[37m-->�[39m �[37mGET�[39m �[37m/wd/hub/session/e9a16822-6fdf-4678-a1db-3bb7be6e1e90�[39m �[90m{}�[39m
2014-11-25 09:07:00:129 - info: [debug] Responding to client with success: {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"4.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"deviceName":"Android","app":"E:\iQEHaloControlHA.apk","platformName":"Android"},"deviceName":"Android","app":"E:\iQEHaloControlHA.apk","platformName":"Android"},"sessionId":"e9a16822-6fdf-4678-a1db-3bb7be6e1e90"}
2014-11-25 09:07:00:131 - info: �[37m<-- GET /wd/hub/session/e9a16822-6fdf-4678-a1db-3bb7be6e1e90 �[39m�[32m200�[39m�[90m 2.724 ms - 489�[39m �[90m{"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"4.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"deviceName":"Android","app":"E:\iQEHaloControlHA.apk","platformName":"Android"},"deviceName":"Android","app":"E:\iQEHaloControlHA.apk","platformName":"Android"},"sessionId":"e9a16822-6fdf-4678-a1db-3bb7be6e1e90"}�[39m
2014-11-25 09:07:00:133 - info: �[37m-->�[39m �[37mGET�[39m �[37m/wd/hub/session/e9a16822-6fdf-4678-a1db-3bb7be6e1e90/source�[39m �[90m{}�[39m
2014-11-25 09:07:00:134 - info: [debug] Pushing command to appium work queue: ["source",{}]
2014-11-25 09:07:00:140 - info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"source","params":{}}
2014-11-25 09:07:00:140 - info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
2014-11-25 09:07:00:140 - info: [debug] [BOOTSTRAP] [debug] Got command action: source
2014-11-25 09:07:00:142 - info: [debug] �[90m[UIAUTOMATOR STDOUT] java.io.FileNotFoundException: /data/local/tmp/local/tmp/dump.xml: open failed: ENOENT (No such file or directory)�[39m
2014-11-25 09:07:00:166 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at libcore.io.IoBridge.open(IoBridge.java:409)�[39m
2014-11-25 09:07:00:166 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at java.io.FileInputStream.(FileInputStream.java:78)�[39m
2014-11-25 09:07:00:166 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at java.io.FileReader.(FileReader.java:42)�[39m
2014-11-25 09:07:00:166 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.utils.XMLHierarchy.getRawXMLHierarchy(XMLHierarchy.java:88)�[39m
2014-11-25 09:07:00:166 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.utils.XMLHierarchy.getFormattedXMLDoc(XMLHierarchy.java:96)�[39m
2014-11-25 09:07:00:166 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.handler.Source.execute(Source.java:25)�[39m
2014-11-25 09:07:00:166 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.AndroidCommandExecutor.execute(AndroidCommandExecutor.java:64)�[39m
2014-11-25 09:07:00:167 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.SocketServer.runCommand(SocketServer.java:167)�[39m
2014-11-25 09:07:00:167 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.SocketServer.handleClientData(SocketServer.java:88)�[39m
2014-11-25 09:07:00:167 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.SocketServer.listenForever(SocketServer.java:132)�[39m
2014-11-25 09:07:00:167 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at io.appium.android.bootstrap.Bootstrap.testRunServer(Bootstrap.java:16)�[39m
2014-11-25 09:07:00:167 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at java.lang.reflect.Method.invokeNative(Native Method)�[39m
2014-11-25 09:07:00:167 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at�[39m
2014-11-25 09:07:00:168 - info: [debug] �[90m[UIAUTOMATOR STDOUT] java.lang.reflect.Method.invoke(Method.java:515)�[39m
2014-11-25 09:07:00:168 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at junit.framework.TestCase.runTest(TestCase.java:168)�[39m
2014-11-25 09:07:00:168 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at junit.framework.TestCase.runBare(TestCase.java:134)�[39m
2014-11-25 09:07:00:169 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at junit.framework.TestResult$1.protect(TestResult.java:115)�[39m
2014-11-25 09:07:00:169 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at junit.framework.TestResult.runProtected(TestResult.java:133)�[39m
2014-11-25 09:07:00:169 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at junit.framework.TestResult.run(TestResult.java:118)�[39m
2014-11-25 09:07:00:169 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at junit.framework.TestCase.run(TestCase.java:124)�[39m
2014-11-25 09:07:00:169 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at com.android.uiautomator.testrunner.UiAutomatorTestRunner.start(UiAutomatorTestRunner.java:160)�[39m
2014-11-25 09:07:00:169 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at com.android.uiautomator.testrunner.UiAutomatorTestRunner.run(UiAutomatorTestRunner.java:96)�[39m
2014-11-25 09:07:00:169 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at com.android.commands.uiautomator.RunTestCommand.run(RunTestCommand.java:91)�[39m
2014-11-25 09:07:00:169 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at com.android.commands.uiautomator.Launcher.main(Launcher.java:83)�[39m
2014-11-25 09:07:00:170 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)�[39m
2014-11-25 09:07:00:170 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:301)�[39m
2014-11-25 09:07:00:171 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at dalvik.system.NativeStart.main(Native Method)�[39m
2014-11-25 09:07:00:172 - info: [debug] �[90m[UIAUTOMATOR STDOUT] Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)�[39m
2014-11-25 09:07:00:172 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at libcore.io.Posix.open(Native Method)�[39m
2014-11-25 09:07:00:172 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)�[39m
2014-11-25 09:07:00:172 - info: [debug] �[90m[UIAUTOMATOR STDOUT] at libcore.io.IoBridge.open(IoBridge.java:393)�[39m
2014-11-25 09:07:00:172 - info: [debug] �[90m[UIAUTOMATOR STDOUT] ... 25 more�[39m
2014-11-25 09:07:00:173 - info: [debug] Responding to client with error: {"status":13,"value":{"message":"An unknown server-side error occurred while processing the command.","origValue":"Failed to Dump Window Hierarchy"},"sessionId":"e9a16822-6fdf-4678-a1db-3bb7be6e1e90"}
2014-11-25 09:07:00:174 - info: �[37m<-- GET /wd/hub/session/e9a16822-6fdf-4678-a1db-3bb7be6e1e90/source �[39m�[31m500�[39m�[90m 41.035 ms - 200�[39m �[90m�[39m
2014-11-25 09:07:00:174 - info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"Failed to Dump Window Hierarchy","status":13}
2014-11-25 09:07:00:474 - info: �[37m-->�[39m �[37mGET�[39m �[37m/wd/hub/session/e9a16822-6fdf-4678-a1db-3bb7be6e1e90/screenshot�[39m �[90m{}�[39m
2014-11-25 09:07:00:476 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "/system/bin/rm /data/local/tmp/screenshot.png; /system/bin/screencap -p /data/local/tmp/screenshot.png "
2014-11-25 09:07:01:220 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 pull /data/local/tmp/screenshot.png "C:\Users\stutij\AppData\Local\Temp\appium1141025-3792-1k1ymna.png"
2014-11-25 09:07:01:277 - info: [debug] Responding to client with success: {"status":0,"value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAeACAYAAAArYecKAAAABHNCSVQICAgIfAhkiAAAIABJREFUeJzs3XlYU3faP/53CPuibIGCShBRMShu1F3cF2zdoHWrWK1WbJ22U5/Htlb77TWj1c50xi7TRTu1tVJ30bovdQF3LVikiOKGiCgCggqENcnvD345D4cECEsgwffrunqVhOTkgAHOeZ/7c98SHx8fDYiIiIiIiIiIzJhFc+8AEREREREREVFDMeAgIiIiIiIiIrPHgIOIiIiIiIiIzB4DDiIiIiIiIiIyeww4iIiIiIiIiMjsMeAgIiIiIiIiIrPHgIOIiIiIiIiIzB4DDiIiIiIiIiIyeww4iIiIiIiIiMjsMeAgIiIiIiIiIrPXYgMOf39/2NjYNPduEBEREREREVETsGzuHTAGKysrTJo0CXfu3MGOHTuae3eIiIiIiIiaTM+ePeHi4mLw4/Py8vDHH38YcY+ImkaLDDiCg4PRpUsX+Pj4IDY2FtnZ2c29S0Rmy8LCAs899xz8/Pzg6+sLZ2dnODo6AgDy8/ORm5uLO3fu4Pbt28jKyoJGo2nmPSYiIiJjmzZtGrZs2dLcu0FEJNLiAg5HR0eEhITAzs4ONjY2CA0NxebNm1FWVtbcu0ZGtGnTJqO/RlZWFn766SdcvnzZ6K/VnBwcHNCmTRt06NABCoUCHTp0gLOzc63P02g0yM3Nxc2bN5GcnIxbt27h/v37KC4uboK9JiIioqYybdo0TJgwgQEHEZmcFhdwBAcHIzAwEEDFlecBAwbg7NmzuHnzZjPvGZk7Dw8PzJ07Fz///DPi4+Obe3canbW1Nfr06YMBAwbAx8cHzs7OsLAwvE2PRCKBm5sb3NzcEBwcjEePHuHu3bs4deoUEhISGDISEZHJUSgUGDx4MNauXdvcu2I2tOEGEZEpalEBh6OjI+bNmyc6KWvVqhWmTp2KTz75pBn3rHlIpVLY2dnB3t4ednZ2sLKy...","sessionId":"e9a16822-6fdf-4678-a1db-3bb7be6e1e90"}
2014-11-25 09:07:01:280 - info: �[37m<-- GET /wd/hub/session/e9a16822-6fdf-4678-a1db-3bb7be6e1e90/screenshot �[39m�[32m200�[39m�[90m 805.431 ms - 40122�[39m �[90m{"status":0,"value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAeACAYAAAArYecKAAAABHNCSVQICAgIfAhkiAAAIABJREFUeJzs3XlYU3faP/53CPuibIGCShBRMShu1F3cF2zdoHWrWK1WbJ22U5/Htlb77TWj1c50xi7TRTu1tVJ30bovdQF3LVikiOKGiCgCggqENcnvD345D4cECEsgwffrunqVhOTkgAHOeZ/7c98SHx8fDYiIiIiIiIiIzJhFc+8AEREREREREVFDMeAgIiIiIiIiIrPHgIOIiIiIiIiIzB4DDiIiIiIiIiIyeww4iIiIiIiIiMjsMeAgIiIiIiIiIrPHgIOIiIiIiIiIzB4DDiIiIiIiIiIyeww4iIiIiIiIiMjsMeAgIiIiIiIiIrPXYgMOf39/2NjYNPduEBEREREREVETsGzuHTAGKysrTJo0CXfu3MGOHTuae3eIiIiIiIiaTM+ePeHi4mLw4/Py8vDHH38YcY+ImkaLDDiCg4PRpUsX+Pj4IDY2FtnZ2c29S0Rmy8LCAs899xz8/Pzg6+sLZ2dnODo6AgDy8/ORm5uLO3fu4Pbt28jKyoJGo2nmPSYiIiJjmzZtGrZs2dLcu0FEJNLiAg5HR0eEhITAzs4ONjY2CA0NxebNm1FWVtbcu0ZGtGnTJqO/RlZWFn766SdcvnzZ6K/VnBwcHNCmTRt06NABCoUCHTp0gLOzc63P02g0yM3Nxc2bN5GcnIxbt27h/v37KC4uboK9JiIioqYybdo0TJgwgQEHEZmcFhdwBAcHIzAwEEDFlecBAwbg7NmzuHnzZjPvGZk7Dw8PzJ07Fz///DPi4+Obe3canbW1Nfr06YMBAwbAx8cHzs7OsLAwvE2PRCKBm5sb3NzcEBwcjEePHuHu3bs4deoUEhISGDISEZHJUSgUGDx4MNauXdvcu2I2tOEGEZEpalEBh6OjI+bNmyc6KWvVqhWmTp2KTz75pBn3rHlIpVLY2dnB3t4ednZ2sLKy...","sessionId":"e9a16822-6fdf-4678-a1db-3bb7be6e1e90"}�[39m
2014-11-25 09:07:08:598 - info: �[37m-->�[39m �[37mGET�[39m �[37m/wd/hub/session/e9a16822-6fdf-4678-a1db-3bb7be6e1e90/source�[39m �[90m{}�[39m
2014-11-25 09:07:08:599 - info: [debug] Pushing command to appium work queue: ["source",{}]
2014-11-25 09:07:08:604 - info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"source","params":{}}
2014-11-25 09:07:08:605 - info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
2014-11-25 09:07:08:611 - info: [debug] [BOOTSTRAP] [debug] Got command action: source
2014-11-25 09:07:08:859 - info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"<hierarchy rotation="0"><android.widget.FrameLayout index="0" text="" resource-id="" class="android.widget.FrameLayout" package="com.hybrid.ngdcs.android" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][1080,1920]" instance="0"><android.widget.LinearLayout index="0" text="" resource-id="" class="android.widget.LinearLayout" package="com.hybrid.ngdcs.android" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][1080,1920]" instance="0"><android.widget.FrameLayout index="0" text="" resource-id="android:id/content" class="android.widget.FrameLayout" package="com.hybrid.ngdcs.android" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,75][1080,1920]" instance="1"><android.widget.LinearLayout index="0" text="" resource-id="" class="android.widget.LinearLayout" package="com.hybrid.ngdcs.android" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,75][1080,1920]" instance="1"><android.webkit.WebView index="0" text="" resource-id="" class="android.webkit.WebView" package="com.hybrid.ngdcs.android" content-desc="Web View" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="true" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,75][1080,1920]" instance="0"/></android.widget.LinearLayout></android.widget.FrameLayout></android.widget.LinearLayout></android.widget.FrameLayout></hierarchy>","status":0}
2014-11-25 09:07:08:859 - info: [debug] Responding to client with success: {"status":0,"value":"<hierarchy rotation="0"><android.widget.FrameLayout index="0" text="" resource-id="" class="android.widget.FrameLayout" package="com.hybrid.ngdcs.android" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][1080,1920]" instance="0"><android.widget.LinearLayout index="0" text="" resource-id="" class="android.widget.LinearLayout" package="com.hybrid.ngdcs.android" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][1080,1920]" instance="0"><android.widget.FrameLayout index="0" text="" resource-id="android:id/content" class="android.widget.FrameLayout" package="com.hybrid.ngdcs.android" content-desc="" checkable="false" checked="false" clickable="...","sessionId":"e9a16822-6fdf-4678-a1db-3bb7be6e1e90"}
2014-11-25 09:07:08:860 - info: �[37m<-- GET /wd/hub/session/e9a16822-6fdf-4678-a1db-3bb7be6e1e90/source �[39m�[32m200�[39m�[90m 261.493 ms - 2290�[39m �[90m{"status":0,"value":"<hierarchy rotation="0"><android.widget.FrameLayout index="0" text="" resource-id="" class="android.widget.FrameLayout" package="com.hybrid.ngdcs.android" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][1080,1920]" instance="0"><android.widget.LinearLayout index="0" text="" resource-id="" class="android.widget.LinearLayout" package="com.hybrid.ngdcs.android" content-desc="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" scrollable="false" long-clickable="false" password="false" selected="false" bounds="[0,0][1080,1920]" instance="0"><android.widget.FrameLayout index="0" text="" resource-id="android:id/content" class="android.widget.FrameLayout" package="com.hybrid.ngdcs.android" content-desc="" checkable="false" checked="false" clickable="...","sessionId":"e9a16822-6fdf-4678-a1db-3bb7be6e1e90"}�[39m
2014-11-25 09:07:08:861 - info: �[37m-->�[39m �[37mGET�[39m �[37m/wd/hub/session/e9a16822-6fdf-4678-a1db-3bb7be6e1e90/screenshot�[39m �[90m{}�[39m
2014-11-25 09:07:08:861 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 shell "/system/bin/rm /data/local/tmp/screenshot.png; /system/bin/screencap -p /data/local/tmp/screenshot.png "
2014-11-25 09:07:09:717 - info: [debug] executing: "E:\AndroidSdk\sdk\platform-tools\adb.exe" -s 4d00b2c14b294157 pull /data/local/tmp/screenshot.png "C:\Users\stutij\AppData\Local\Temp\appium1141025-3792-8bfnlr.png"
2014-11-25 09:07:09:782 - info: [debug] Responding to client with success: {"status":0,"value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAeACAYAAAArYecKAAAABHNCSVQICAgIfAhkiAAAIABJREFUeJzs3XdYVGfeP/73MPQBpQ0EVAY7DoqN2EXsYmKDxBYxGo2YuEk2Po/JGs03165Gs5vdtE3RJCZGYheNvSvYNWCQIIoNEVGaoAJDnZnfH/zmPBxmgKEMMPh+XVeuMO2cGxyGc97nvj8fibe3txZERERERERERGbMoqkHQERERERERERUXww4iIiIiIiIiMjsMeAgIiIiIiIiIrPHgIOIiIiIiIiIzB4DDiIiIiIiIiIyeww4iIiIiIiIiMjsMeAgIiIiIiIiIrPHgIOIiIiIiIiIzB4DDiIiIiIiIiIyeww4iIiIiIiIiMjstdiAo1OnTrCxsWnqYRARERERERFRI7Bs6gGYgpWVFSZPnoy7d+9ix44dTT0cIiIiIiKiRtO7d284Ozsb/fzc3Fz88ccfJhwRUeNokQFHQEAAunXrBm9vb0RHRyMrK6uph0RktiwsLPDcc8+hQ4cO8PHxgZOTExwcHAAAeXl5yMnJwd27d3Hnzh1kZmZCq9U28YiJiIjI1KZPn44tW7Y09TCIiERaXMDh4OCAwMBA2NnZwcbGBsHBwdi8eTNKS0ubemhkQps2bTL5PjIzM/Hzzz/jypUrJt9XU5LJZGjTpg06duwIpVKJjh07wsnJqcbXabVa5OTk4NatW0hMTMTt27fx4MEDFBUVNcKoiYiIqLFMnz4dEydOZMBBRM1Oiws4AgIC4OfnB6D8yvOgQYNw7tw53Lp1q4lHRubO3d0d8+bNwy+//ILY2NimHk6Ds7a2Rr9+/TBo0CB4e3vDyckJFhbGl+mRSCRwdXWFq6srAgIC8OjRI9y7dw+nT59GXFwcQ0YiImp2lEolhg4dirVr1zb1UMyGLtwgImqOWlTA4eDggPnz54tOylq1aoVp06bh448/bsKRNQ2pVAo7OzvY29vDzs4OVlZWsLCw...","sessionId":"e9a16822-6fdf-4678-a1db-3bb7be6e1e90"}
2014-11-25 09:07:09:787 - info: �[37m<-- GET /wd/hub/session/e9a16822-6fdf-4678-a1db-3bb7be6e1e90/screenshot �[39m�[32m200�[39m�[90m 926.167 ms - 131346�[39m �[90m{"status":0,"value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAeACAYAAAArYecKAAAABHNCSVQICAgIfAhkiAAAIABJREFUeJzs3XdYVGfeP/73MPQBpQ0EVAY7DoqN2EXsYmKDxBYxGo2YuEk2Po/JGs03165Gs5vdtE3RJCZGYheNvSvYNWCQIIoNEVGaoAJDnZnfH/zmPBxmgKEMMPh+XVeuMO2cGxyGc97nvj8fibe3txZERERERERERGbMoqkHQERERERERERUXww4iIiIiIiIiMjsMeAgIiIiIiIiIrPHgIOIiIiIiIiIzB4DDiIiIiIiIiIyeww4iIiIiIiIiMjsMeAgIiIiIiIiIrPHgIOIiIiIiIiIzB4DDiIiIiIiIiIyeww4iIiIiIiIiMjstdiAo1OnTrCxsWnqYRARERERERFRI7Bs6gGYgpWVFSZPnoy7d+9ix44dTT0cIiIiIiKiRtO7d284Ozsb/fzc3Fz88ccfJhwRUeNokQFHQEAAunXrBm9vb0RHRyMrK6uph0RktiwsLPDcc8+hQ4cO8PHxgZOTExwcHAAAeXl5yMnJwd27d3Hnzh1kZmZCq9U28YiJiIjI1KZPn44tW7Y09TCIiERaXMDh4OCAwMBA2NnZwcbGBsHBwdi8eTNKS0ubemhkQps2bTL5PjIzM/Hzzz/jypUrJt9XU5LJZGjTpg06duwIpVKJjh07wsnJqcbXabVa5OTk4NatW0hMTMTt27fx4MEDFBUVNcKoiYiIqLFMnz4dEydOZMBBRM1Oiws4AgIC4OfnB6D8yvOgQYNw7tw53Lp1q4lHRubO3d0d8+bNwy+//ILY2NimHk6Ds7a2Rr9+/TBo0CB4e3vDyckJFhbGl+mRSCRwdXWFq6srAgIC8OjRI9y7dw+nT59GXFwcQ0YiImp2lEolhg4dirVr1zb1UMyGLtwgImqOWlTA4eDggPnz54tOylq1aoVp06bh448/bsKRNQ2pVAo7OzvY29vDzs4OVlZWsLCw...","sessionId":"e9a16822-6fdf-4678-a1db-3bb7be6e1e90"}�[39m


@imurchie
Copy link
Contributor

My first suggestion would be to upgrade. There were problems with the Appium exe in 1.2.x.

@sanjaykumar5115
Copy link
Author

Thanks for your kind support,
I am using Appium Version 1.2.4.1 (Windows App exe)
Environment -Windwos7 64 bit, android API -4.4(19)
If you required any other information then tell me.
appioumversion

@imurchie
Copy link
Contributor

I understand that. I can see from the logs. At that point there was a lot of work done on xpath. I would try an upgraded version.

@sanjaykumar5115
Copy link
Author

Thanks lot imuchie for your kind attention.

I will wait for new Appium version.

@sanjaykumar5115
Copy link
Author

Hi imuchie,

any update..

@imurchie
Copy link
Contributor

imurchie commented Dec 5, 2014

There is a recent version, 1.3.4, which might be of use. Try it, and let me know. We can work from there.

@sanjaykumar5115
Copy link
Author

Hi imuchie,

I have tried on recent version 1.3.4 but problem still exist.

@sanjaykumar5115
Copy link
Author

any update

@bootstraponline
Copy link
Member

this might be fixed by #4252

@moizjv
Copy link
Member

moizjv commented Apr 23, 2015

@sanjaykumar5115 can you retry with latest version?

@moizjv moizjv added the OnGoing label Apr 23, 2015
@moizjv
Copy link
Member

moizjv commented May 5, 2015

Closing due to inactivity

@moizjv moizjv closed this as completed May 5, 2015
@sebv sebv removed Needs Triage bugs which are not yet confirmed OnGoing labels Jun 3, 2015
@momenimohammad23
Copy link

i have the same issue
i use appium version 1.4.0.0
How i can solve it ?
please help me !!
@moizjv @imurchie @sanjaykumar5115

@TFry
Copy link

TFry commented Sep 16, 2015

Not fixed, just ran into this on Android 4.4.3 Nexus 7 using the latest Appium 1.4.8

Same error: "failed to dump window hierarchy - status 13"

I can recreate this with 100% success on a specific window in my app that populates with bluetooth devices.

@moizjv @bootstraponline

@bootstraponline
Copy link
Member

won't be solved until the new android driver is completed. This is a known bug in uiautomator v1.

@TFry
Copy link

TFry commented Sep 16, 2015

Thanks for the feedback @bootstraponline

Extra information:
The xpath depth is the culprit as the number of items populated on the list determines if the problem occurs or not.
Depth of 9 steps into an xpath hierarchy is the cutoff point where the error shows up.

@bootstraponline
Copy link
Member

Specifically for find by xpath, I'm hoping the new Android driver will be able to use droiddriver's implementation which shouldn't suffer from this limitation.

@bootstraponline bootstraponline added Bug a problem that needs fixing Android related to Android-native driver(s) OnGoing DriverIssue nonspecific driver issue labels Sep 16, 2015
@bootstraponline
Copy link
Member

Reopening because this is a bug that's not fixed and more info has been provided.

@jeangb
Copy link

jeangb commented Oct 13, 2016

Hello I'm experiencing the same issue with Appium v1.4.16 on Windows with real android device.
This happens when I run a java test which iterates with several datas (using testng dataproviders).
It works the first iteration but failed at the second.

@mykola-mokhnach
Copy link
Collaborator

Closed as obsolete

@Yakupvarli
Copy link

Yakupvarli commented Jan 30, 2019

I get the same error , Real device and appium 1.9.1
Could not obtain source: {"cause":{"sessionId":"8e7ed257-a29b-4243-973f-3db35719aac4","status":13,"value":{"message":"An unknown server-side error occurred while processing the command. Original error: Failed to Dump Window Hierarchy"}},"jsonwire-error":{"detail":"An unknown server-side error occurred while processing the command.","status":13,"summary":"UnknownError"},"message":"[source()] Error response status: 13, , UnknownError - An unknown server-side error occurred while processing the command. Selenium error: An unknown server-side error occurred while processing the command. Original error: Failed to Dump Window Hierarchy","status":13}

@lock
Copy link

lock bot commented Jan 30, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Jan 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android related to Android-native driver(s) Bug a problem that needs fixing DriverIssue nonspecific driver issue P2
Projects
None yet
Development

No branches or pull requests