Created
April 4, 2017 10:43
-
-
Save vikramvi/427ec95708ede46c7092b64a59478a57 to your computer and use it in GitHub Desktop.
[MJSONWP] Encountered internal error running command: TypeError: Path must be a string. Received null
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"newCommandTimeout":999999,"automationName":"uiautomator2","platformName":"Android","platformVersion":"5.1","deviceName":"placeholder string","browserName":"Chrome"},null,null,null,null] | |
[Appium] Creating new AndroidUiautomator2Driver (v0.2.11) session | |
[Appium] Capabilities: | |
[Appium] newCommandTimeout: 999999 | |
[Appium] automationName: 'uiautomator2' | |
[Appium] platformName: 'Android' | |
[Appium] platformVersion: '5.1' | |
[Appium] deviceName: 'placeholder string' | |
[Appium] browserName: 'Chrome' | |
[BaseDriver] Session created with session id: 478f169a-1d70-450c-bdc0-62d5e4568a5a | |
[UiAutomator2] UIAutomator2 Driver version:0.2.11 | |
[debug] [AndroidDriver] Getting Java version | |
[AndroidDriver] Java version is: 1.8.0_102 | |
[ADB] Checking whether adb is present | |
[ADB] Using adb from /Users/vikram-anna/Library/Android/sdk/platform-tools/adb | |
[AndroidDriver] Retrieving device list | |
[debug] [ADB] Trying to find a connected android device | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[AndroidDriver] Looking for a device with Android '5.1' | |
[debug] [ADB] Setting device id to 000007CF003ACABB | |
[ADB] Getting device platform version | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","000007CF003ACABB","shell","getprop","ro.build.version.release"] | |
[AndroidDriver] Using device: 000007CF003ACABB | |
[ADB] Checking whether adb is present | |
[ADB] Using adb from /Users/vikram-anna/Library/Android/sdk/platform-tools/adb | |
[debug] [ADB] Setting device id to 000007CF003ACABB | |
[AndroidDriver] No app sent in, not parsing package/activity | |
[ADB] Getting device platform version | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","000007CF003ACABB","shell","getprop","ro.build.version.release"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","000007CF003ACABB","shell","wm","size"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","000007CF003ACABB","shell","getprop","ro.product.model"] | |
[debug] [ADB] Current device property 'ro.product.model': Micromax Q413 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","000007CF003ACABB","shell","getprop","ro.product.manufacturer"] | |
[debug] [ADB] Current device property 'ro.product.manufacturer': Micromax | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","000007CF003ACABB","shell","am","force-stop","io.appium.uiautomator2.server"] | |
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","000007CF003ACABB","wait-for-device"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","000007CF003ACABB","shell","echo","ping"] | |
[debug] [Logcat] Starting logcat capture | |
[debug] [AndroidDriver] Pushing settings apk to device... | |
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","000007CF003ACABB","install","/usr/local/lib/node_modules/appium/node_modules/io.appium.settings/bin/settings_apk-debug.apk"] | |
[debug] [AndroidDriver] Pushing unlock helper app to device... | |
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","000007CF003ACABB","install","/usr/local/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"] | |
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200 | |
[debug] [ADB] Forwarding system: 8200 to device: 6790 | |
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","000007CF003ACABB","forward","tcp:8200","tcp:6790"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","000007CF003ACABB","shell","dumpsys","window"] | |
[AndroidDriver] Screen already unlocked, doing nothing | |
[debug] [UiAutomator2] Deleting UiAutomator2 session | |
[debug] [UiAutomator2] Deleting UiAutomator2 server session | |
[UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: Error: Trying to proxy a session command without session id | |
[debug] [Logcat] Stopping logcat capture | |
[debug] [ADB] Removing forwarded port socket connection: 8200 | |
[debug] [ADB] Running '/Users/vikram-anna/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","000007CF003ACABB","forward","--remove","tcp:8200"] | |
[MJSONWP] Encountered internal error running command: TypeError: Path must be a string. Received null | |
at assertPath (path.js:7:11) | |
at Object.resolve (path.js:1146:7) | |
at Object.callee$0$0$ (../../lib/android-helpers.js:355:28) | |
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at enqueueResult (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17) | |
at F (/usr/local/lib/node_modules/appium/node_modules/core-js/library/modules/$.export.js:30:36) | |
at AsyncIterator.enqueue (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12) | |
at AsyncIterator.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at Object.runtime.async (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12) | |
at Object.callee$0$0 [as pushStrings] (../../lib/android-helpers.js:368:21) | |
at AndroidUiautomator2Driver.initAUT$ (../../lib/driver.js:292:64) | |
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at enqueueResult (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17) | |
at F (/usr/local/lib/node_modules/appium/node_modules/core-js/library/modules/$.export.js:30:36) | |
at AsyncIterator.enqueue (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12) | |
at AsyncIterator.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at Object.runtime.async (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12) | |
at AndroidUiautomator2Driver.initAUT (../../lib/driver.js:309:17) | |
at AndroidUiautomator2Driver.startUiAutomator2Session$ (../../lib/driver.js:247:18) | |
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) | |
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22) | |
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21) | |
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) | |
at process._tickCallback (internal/process/next_tick.js:103:7) | |
[HTTP] <-- POST /wd/hub/session 500 11516 ms - 173 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment