{"action":"created","issue":{"url":"https://api.github.com/repos/appium/java-client/issues/138","labels_url":"https://api.github.com/repos/appium/java-client/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/appium/java-client/issues/138/comments","events_url":"https://api.github.com/repos/appium/java-client/issues/138/events","html_url":"https://github.com/appium/java-client/issues/138","id":51077757,"number":138,"title":"(android )scrollTo not works well,it tap other elememt,and throws org.openqa.selenium.UnsupportedCommandException: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource. ","user":{"login":"liqing380","id":5125667,"avatar_url":"https://avatars.githubusercontent.com/u/5125667?v=3","gravatar_id":"","url":"https://api.github.com/users/liqing380","html_url":"https://github.com/liqing380","followers_url":"https://api.github.com/users/liqing380/followers","following_url":"https://api.github.com/users/liqing380/following{/other_user}","gists_url":"https://api.github.com/users/liqing380/gists{/gist_id}","starred_url":"https://api.github.com/users/liqing380/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liqing380/subscriptions","organizations_url":"https://api.github.com/users/liqing380/orgs","repos_url":"https://api.github.com/users/liqing380/repos","events_url":"https://api.github.com/users/liqing380/events{/privacy}","received_events_url":"https://api.github.com/users/liqing380/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2014-12-05T09:17:42Z","updated_at":"2015-06-19T23:21:53Z","closed_at":null,"body":"```\r\njava-client:2.1.0\r\nreal device: android 4.4.2\r\nappium:1.3.4\r\n```\r\n**my java code:**\r\n```java\r\n public AndroidDriver appDriver;\r\n\r\n File classpathRoot = new File(System.getProperty(\"user.dir\"));\r\n        File appDir = new File(classpathRoot, \"apps/Coremail4Android\");\r\n        File app = new File(appDir, \"Coremail4Android.apk\");\r\n        DesiredCapabilities capabilities = new DesiredCapabilities();\r\n        capabilities.setCapability(CapabilityType.BROWSER_NAME, \"\");          \r\n        capabilities.setCapability(\"automationName\",\"appium\");                 //capabilities.setCapability(\"automationName\",\"Selendroid\");   \r\n        capabilities.setCapability(\"deviceName\",deviceinfo.serialNo);           //capabilities.setCapability(\"deviceName\",\"Android Emulator\");    //capabilities.setCapability(\"deviceName\",\"Android\");\r\n        capabilities.setCapability(\"platformVersion\", deviceinfo.releaseVer);  //capabilities.setCapability(\"platformVersion\", \"\"4.4);\r\n        capabilities.setCapability(\"platformName\",\"Android\");\r\n        if(isNeedSetup)\r\n            capabilities.setCapability(\"app\", app.getAbsolutePath());\r\n        capabilities.setCapability(\"appPackage\", \"cn.mailtech.app\");\r\n        capabilities.setCapability(\"appActivity\", \"cn.mailtech.app.activity.SplashMailtech\");\r\n        capabilities.setCapability(\"unicodeKeyboard\",\"true\"); \r\n        capabilities.setCapability(\"resetKeyboard\",\"true\"); \r\n        capabilities.setCapability(\"newCommandTimeout\",newCommandTimeout); \r\n        appDriver = new AndroidDriver (new URL(\"http://\" + deviceinfo.server + \":\" + deviceinfo.port + \"/wd/hub\"), capabilities);\r\n\r\n se2.waitTime(se2.sec10);\r\n appDriver.scrollTo(\"More mail\");\r\n```\r\nthe text “More mail” is in a scrollable android.widget.ListView.\r\n**with appium1.2.0+java-client1.7.0+AppiumDriver :**\r\n``` AppiumDriver.scrollTo(\"More mail\");```\r\nworks well,it first swipe down to refresh the list and then drag back and forth until find the element.\r\n\r\n**but**\r\n**with appium1.3.4+java-client2.1.0+AndroidDriver :**\r\nit not scrolled and tap another element which above the edge of the android.widget.ListView like this:it it tap the INBOX (or the edge of the blue color bar ) and not perform scrollTo \"More mail\":\r\n![it tap the INBOX (or the edge of the blue color bar ) and then can not perform scrollTo](https://files.gitter.im/appium/appium/gPhB/223344.png)\r\ni guess it tap beyong or on the upper border of the android.widget.ListView when perform scrollTo:\r\n\r\n**java error:**\r\n```java\r\norg.openqa.selenium.UnsupportedCommandException: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource. (WARNING: The server did not provide any stacktrace information)\r\nCommand duration or timeout: 14.04 seconds\r\nBuild info: version: 'unknown', revision: 'unknown', time: 'unknown'\r\nSystem info: host: 'jli', ip: '192.168.200.105', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_51'\r\nSession ID: c0e94b03-9788-46d4-b664-2e55181f36d5\r\nDriver info: io.appium.java_client.android.AndroidDriver\r\nCapabilities [{automationName=appium, platform=LINUX, javascriptEnabled=true, appActivity=cn.mailtech.app.activity.SplashMailtech, browserName=, networkConnectionEnabled=true, desired={newCommandTimeout=600, automationName=appium, platformVersion=4.4.2, platformName=Android, deviceName=NX507J, appActivity=cn.mailtech.app.activity.SplashMailtech, browserName=, unicodeKeyboard=true, resetKeyboard=true, appPackage=cn.mailtech.app}, locationContextEnabled=false, appPackage=cn.mailtech.app, newCommandTimeout=600, platformVersion=4.4.2, databaseEnabled=false, platformName=Android, deviceName=NX507J, webStorageEnabled=false, unicodeKeyboard=true, resetKeyboard=true, warnings={}, takesScreenshot=true}]\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:526)\r\n\tat org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)\r\n\tat org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)\r\n\tat io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:180)\r\n\tat org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:352)\r\n\tat io.appium.java_client.android.AndroidDriver.findElementByAndroidUIAutomator(AndroidDriver.java:244)\r\n\tat io.appium.java_client.android.AndroidDriver.scrollTo(AndroidDriver.java:53)\r\n\tat com.mailtech.coremailapp.cmappformailbox.DisplayMode.MoreMail.doTest(MoreMail.java:240)\r\n\tat com.mailtech.coremailapp.CmTestBaseEx.testMain(CmTestBaseEx.java:51)\r\n\tat com.mailtech.coremailapp.cmappformailbox.DisplayMode.MoreMail.testMoreMail(MoreMail.java:267)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)\r\n\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\r\n\tat org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)\r\n\tat org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)\r\n\tat org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)\r\n\tat org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)\r\n\tat org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)\r\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)\r\n\tat org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)\r\n\tat org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)\r\n\tat org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)\r\n\tat org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)\r\n\tat org.junit.runners.ParentRunner.run(ParentRunner.java:309)\r\n\tat org.junit.runner.JUnitCore.run(JUnitCore.java:160)\r\n\tat com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:74)\r\n\tat com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:211)\r\n\tat com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:67)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)\r\n```\r\n\r\n**appium.log:**\r\n```java\r\nC:\\Users\\mailtech>appium -U NX507J -p 4727 -bp 4737\r\ninfo: Welcome to Appium v1.3.4 (REV c8c79a85fbd6870cd6fc3d66d038a115ebe22efe)\r\ninfo: Appium REST http interface listener started on 0.0.0.0:4727\r\ninfo: [debug] Non-default server args: {\"udid\":\"NX507J\",\"port\":4727,\"bootstrapPo\r\nrt\":4737}\r\ninfo: Console LogLevel: debug\r\ninfo: --> POST /wd/hub/session {\"desiredCapabilities\":{\"newCommandTimeout\":\"600\"\r\n,\"automationName\":\"appium\",\"platformVersion\":\"4.4.2\",\"platformName\":\"Android\",\"d\r\neviceName\":\"NX507J\",\"appActivity\":\"cn.mailtech.app.activity.SplashMailtech\",\"bro\r\nwserName\":\"\",\"unicodeKeyboard\":\"true\",\"resetKeyboard\":\"true\",\"appPackage\":\"cn.ma\r\niltech.app\"}}\r\ninfo: Client User-Agent string: Apache-HttpClient/4.3.3 (java 1.5)\r\nwarn: Converting cap unicodeKeyboard from string to boolean. This might cause un\r\nexpected behavior.\r\nwarn: Converting cap resetKeyboard from string to boolean. This might cause unex\r\npected behavior.\r\ninfo: [debug] Didn't get app but did get Android package, will attempt to launch\r\n it on the device\r\ninfo: [debug] Creating new appium session c0e94b03-9788-46d4-b664-2e55181f36d5\r\ninfo: Starting android appium\r\ninfo: [debug] Getting Java version\r\ninfo: Java version is: 1.7.0_21\r\ninfo: [debug] Using fast reset? true\r\ninfo: [debug] Preparing device for session\r\ninfo: [debug] Not checking whether app is present since we are assuming it's alr\r\neady on the device\r\ninfo: [debug] Checking whether adb is present\r\ninfo: [debug] Using adb from D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe\r\ninfo: Retrieving device\r\ninfo: [debug] Trying to find a connected android device\r\ninfo: [debug] Getting connected devices...\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe devices\r\ninfo: [debug] 1 device(s) connected\r\ninfo: Found device NX507J\r\ninfo: [debug] Setting device id to NX507J\r\ninfo: [debug] Waiting for device to be ready and to respond to shell commands (t\r\nimeout = 5)\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe -s NX507J wait-for-device\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe -s NX507J shell \"echo 'ready'\"\r\ninfo: [debug] Starting logcat capture\r\nwarn: No app capability, can't parse package/activity\r\ninfo: [debug] Getting device API level\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe -s NX507J shell \"getprop ro.build.version.sdk\"\r\ninfo: [debug] Device is at API Level 19\r\ninfo: Device API level is: 19\r\ninfo: [debug] Apk doesn't exist locally\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe -s NX507J shell \"rm -rf /data/local/tmp/strings.json\"\r\ninfo: [debug] Not uninstalling app since server not started with --full-reset\r\ninfo: [debug] Skipping install since we launched with a package instead of an ap\r\np path\r\ninfo: [debug] Forwarding system:4737 to device:4724\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe -s NX507J forward tcp:4737 tcp:4724\r\ninfo: [debug] Pushing appium bootstrap to device...\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe -s NX507J push \"C:\\\\Users\\\\mailtech\\\\AppData\\\\Roaming\\\\npm\\\\node_m\r\nodules\\\\appium\\\\build\\\\android_bootstrap\\\\AppiumBootstrap.jar\" /data/local/tmp/\r\ninfo: [debug] Enabling Unicode keyboard support\r\ninfo: [debug] Pushing unicode ime to device...\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe -s NX507J install \"C:\\Users\\mailtech\\AppData\\Roaming\\npm\\node_modu\r\nles\\appium\\build\\unicode_ime_apk\\UnicodeIME-debug.apk\"\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe -s NX507J shell \"settings get secure default_input_method\"\r\ninfo: [debug] Unsetting IME 'io.appium.android.ime/.UnicodeIME'\r\ninfo: [debug] Setting IME to 'io.appium.android.ime/.UnicodeIME'\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe -s NX507J shell \"ime enable io.appium.android.ime/.UnicodeIME\"\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe -s NX507J shell \"ime set io.appium.android.ime/.UnicodeIME\"\r\ninfo: [debug] Pushing settings apk to device...\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe -s NX507J install \"C:\\Users\\mailtech\\AppData\\Roaming\\npm\\node_modu\r\nles\\appium\\build\\settings_apk\\settings_apk-debug.apk\"\r\ninfo: [debug] Pushing unlock helper app to device...\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe -s NX507J install \"C:\\Users\\mailtech\\AppData\\Roaming\\npm\\node_modu\r\nles\\appium\\build\\unlock_apk\\unlock_apk-debug.apk\"\r\ninfo: Starting App\r\ninfo: [debug] Attempting to kill all 'uiautomator' processes\r\ninfo: [debug] Getting all processes with 'uiautomator'\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe -s NX507J shell \"ps 'uiautomator'\"\r\ninfo: [debug] No matching processes found\r\ninfo: [debug] Running bootstrap\r\ninfo: [debug] spawning: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-tools\r\n\\adb.exe -s NX507J shell uiautomator runtest AppiumBootstrap.jar -c io.appium.an\r\ndroid.bootstrap.Bootstrap\r\ninfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1\r\ninfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=\r\ninfo: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:\r\ninfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRun\r\nner\r\ninfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer\r\ninfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.andro\r\nid.bootstrap.Bootstrap\r\ninfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1\r\ninfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1\r\ninfo: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724\r\ninfo: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready\r\ninfo: [debug] Waking up device if it's not alive\r\ninfo: [debug] Pushing command to appium work queue: [\"wake\",{}]\r\ninfo: [debug] [BOOTSTRAP] [debug] Loading json...\r\ninfo: [debug] [BOOTSTRAP] [debug] Registered crash watchers.\r\ninfo: [debug] [BOOTSTRAP] [debug] Client connected\r\ninfo: [debug] [BOOTSTRAP] [debug] Got data from client: {\"cmd\":\"action\",\"action\"\r\n:\"wake\",\"params\":{}}\r\ninfo: [debug] [BOOTSTRAP] [debug] Got command of type ACTION\r\ninfo: [debug] [BOOTSTRAP] [debug] Got command action: wake\r\ninfo: [debug] [BOOTSTRAP] [debug] Returning result: {\"value\":true,\"status\":0}\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe -s NX507J shell \"dumpsys window\"\r\ninfo: [debug] Screen already unlocked, continuing.\r\ninfo: [debug] Pushing command to appium work queue: [\"getDataDir\",{}]\r\ninfo: [debug] [BOOTSTRAP] [debug] Got data from client: {\"cmd\":\"action\",\"action\"\r\n:\"getDataDir\",\"params\":{}}\r\ninfo: [debug] [BOOTSTRAP] [debug] Got command of type ACTION\r\ninfo: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir\r\ninfo: [debug] [BOOTSTRAP] [debug] Returning result: {\"value\":\"\\/data\\/local\\/tmp\r\n\",\"status\":0}\r\ninfo: [debug] dataDir set to: /data/local/tmp\r\ninfo: [debug] Pushing command to appium work queue: [\"compressedLayoutHierarchy\"\r\n,{\"compressLayout\":false}]\r\ninfo: [debug] [BOOTSTRAP] [debug] Got data from client: {\"cmd\":\"action\",\"action\"\r\n:\"compressedLayoutHierarchy\",\"params\":{\"compressLayout\":false}}\r\ninfo: [debug] [BOOTSTRAP] [debug] Got command of type ACTION\r\ninfo: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy\r\ninfo: [debug] [BOOTSTRAP] [debug] Returning result: {\"value\":false,\"status\":0}\r\ninfo: [debug] Getting device API level\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe -s NX507J shell \"getprop ro.build.version.sdk\"\r\ninfo: [debug] Device is at API Level 19\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe -s NX507J shell \"am start -S -a android.intent.action.MAIN -c andr\r\noid.intent.category.LAUNCHER -f 0x10200000 -n cn.mailtech.app/cn.mailtech.app.ac\r\ntivity.SplashMailtech\"\r\ninfo: [debug] Waiting for pkg \"cn.mailtech.app\" and activity \"cn.mailtech.app.ac\r\ntivity.SplashMailtech\" to be focused\r\ninfo: [debug] Getting focused package and activity\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe -s NX507J shell \"dumpsys window windows\"\r\ninfo: [debug] Device launched! Ready for commands\r\ninfo: [debug] Setting command timeout to 600 secs\r\ninfo: [debug] Appium session started with sessionId c0e94b03-9788-46d4-b664-2e55\r\n181f36d5\r\ninfo: <-- POST /wd/hub/session 303 9183.605 ms - 9\r\ninfo: --> GET /wd/hub/session/c0e94b03-9788-46d4-b664-2e55181f36d5 {}\r\ninfo: [debug] Responding to client with success: {\"status\":0,\"value\":{\"platform\"\r\n:\"LINUX\",\"browserName\":\"\",\"platformVersion\":\"4.4.2\",\"webStorageEnabled\":false,\"t\r\nakesScreenshot\":true,\"javascriptEnabled\":true,\"databaseEnabled\":false,\"networkCo\r\nnnectionEnabled\":true,\"locationContextEnabled\":false,\"warnings\":{},\"desired\":{\"n\r\newCommandTimeout\":\"600\",\"automationName\":\"appium\",\"platformVersion\":\"4.4.2\",\"pla\r\ntformName\":\"Android\",\"deviceName\":\"NX507J\",\"appActivity\":\"cn.mailtech.app.activi\r\nty.SplashMailtech\",\"browserName\":\"\",\"unicodeKeyboard\":true,\"resetKeyboard\":true,\r\n\"appPackage\":\"cn.mailtech.app\"},\"newCommandTimeout\":\"600\",\"automationName\":\"appi\r\num\",\"platformName\":\"Android\",\"deviceName\":\"NX507J\",\"appActivity\":\"cn.mailtech.ap\r\np.activity.SplashMailtech\",\"unicodeKeyboard\":true,\"resetKeyboard\":true,\"appPacka\r\nge\":\"cn.mailtech.app\"},\"sessionId\":\"c0e94b03-9788-46d4-b664-2e55181f36d5\"}\r\ninfo: <-- GET /wd/hub/session/c0e94b03-9788-46d4-b664-2e55181f36d5 200 4.177 ms\r\n- 825 {\"status\":0,\"value\":{\"platform\":\"LINUX\",\"browserName\":\"\",\"platformVersion\"\r\n:\"4.4.2\",\"webStorageEnabled\":false,\"takesScreenshot\":true,\"javascriptEnabled\":tr\r\nue,\"databaseEnabled\":false,\"networkConnectionEnabled\":true,\"locationContextEnabl\r\ned\":false,\"warnings\":{},\"desired\":{\"newCommandTimeout\":\"600\",\"automationName\":\"a\r\nppium\",\"platformVersion\":\"4.4.2\",\"platformName\":\"Android\",\"deviceName\":\"NX507J\",\r\n\"appActivity\":\"cn.mailtech.app.activity.SplashMailtech\",\"browserName\":\"\",\"unicod\r\neKeyboard\":true,\"resetKeyboard\":true,\"appPackage\":\"cn.mailtech.app\"},\"newCommand\r\nTimeout\":\"600\",\"automationName\":\"appium\",\"platformName\":\"Android\",\"deviceName\":\"\r\nNX507J\",\"appActivity\":\"cn.mailtech.app.activity.SplashMailtech\",\"unicodeKeyboard\r\n\":true,\"resetKeyboard\":true,\"appPackage\":\"cn.mailtech.app\"},\"sessionId\":\"c0e94b0\r\n3-9788-46d4-b664-2e55181f36d5\"}\r\ninfo: --> POST /wd/hub/session/c0e94b03-9788-46d4-b664-2e55181f36d5/element {\"us\r\ning\":\"-android uiautomator\",\"value\":\"new UiScrollable(new UiSelector().scrollabl\r\ne(true).instance(0)).scrollIntoView(new UiSelector().descriptionContains(\\\"More\r\nmail\\\").instance(0));new UiScrollable(new UiSelector().scrollable(true).instance\r\n(0)).scrollIntoView(new UiSelector().textContains(\\\"More mail\\\").instance(0));\"}\r\n\r\ninfo: [debug] Waiting up to 0ms for condition\r\ninfo: [debug] Pushing command to appium work queue: [\"find\",{\"strategy\":\"-androi\r\nd uiautomator\",\"selector\":\"new UiScrollable(new UiSelector().scrollable(true).in\r\nstance(0)).scrollIntoView(new UiSelector().descriptionContains(\\\"More mail\\\").in\r\nstance(0));new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrol\r\nlIntoView(new UiSelector().textContains(\\\"More mail\\\").instance(0));\",\"context\":\r\n\"\",\"multiple\":false}]\r\ninfo: [debug] [BOOTSTRAP] [debug] Got data from client: {\"cmd\":\"action\",\"action\"\r\n:\"find\",\"params\":{\"strategy\":\"-android uiautomator\",\"selector\":\"new UiScrollable\r\n(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().\r\ndescriptionContains(\\\"More mail\\\").instance(0));new UiScrollable(new UiSelector(\r\n).scrollable(true).instance(0)).scrollIntoView(new UiSelector().textContains(\\\"M\r\nore mail\\\").instance(0));\",\"context\":\"\",\"multiple\":false}}\r\ninfo: [debug] [BOOTSTRAP] [debug] Got command of type ACTION\r\ninfo: [debug] [BOOTSTRAP] [debug] Got command action: find\r\ninfo: [debug] [BOOTSTRAP] [debug] Finding new UiScrollable(new UiSelector().scro\r\nllable(true).instance(0)).scrollIntoView(new UiSelector().descriptionContains(\"M\r\nore mail\").instance(0));new UiScrollable(new UiSelector().scrollable(true).insta\r\nnce(0)).scrollIntoView(new UiSelector().textContains(\"More mail\").instance(0));\r\nusing ANDROID_UIAUTOMATOR with the contextId:  multiple: false\r\ninfo: [debug] [BOOTSTRAP] [debug] Parsing scrollable: new UiScrollable(new UiSel\r\nector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().descriptio\r\nnContains(\"More mail\").instance(0))\r\ninfo: [debug] [BOOTSTRAP] [debug] UiSelector coerce type: boolean arg: true\r\ninfo: [debug] [BOOTSTRAP] [debug] UiSelector coerce type: int arg: 0\r\ninfo: [debug] [BOOTSTRAP] [debug] UiScrollable invoking method: public boolean c\r\nom.android.uiautomator.core.UiScrollable.scrollIntoView(com.android.uiautomator.\r\ncore.UiObject) throws com.android.uiautomator.core.UiObjectNotFoundException arg\r\ns: new UiSelector().descriptionContains(\"More mail\").instance(0),\r\ninfo: [debug] [BOOTSTRAP] [debug] UiScrollable coerce type: class com.android.ui\r\nautomator.core.UiObject arg: new UiSelector().descriptionContains(\"More mail\").i\r\nnstance(0)\r\ninfo: [debug] [BOOTSTRAP] [debug] UiSelector coerce type: class java.lang.String\r\n arg: \"More mail\"\r\ninfo: [debug] [BOOTSTRAP] [debug] UiSelector coerce type: int arg: 0\r\ninfo: [debug] [BOOTSTRAP] [debug] Method name: scrollIntoView\r\ninfo: [debug] [BOOTSTRAP] [debug] Setting uiObject for scrollIntoView\r\ninfo: [debug] [BOOTSTRAP] [debug] Invoking method: public boolean com.android.ui\r\nautomator.core.UiScrollable.scrollIntoView(com.android.uiautomator.core.UiObject\r\n) throws com.android.uiautomator.core.UiObjectNotFoundException with: com.androi\r\nd.uiautomator.core.UiObject@416fccf8\r\ninfo: [debug] [BOOTSTRAP] [error] com.android.uiautomator.core.UiObjectNotFoundE\r\nxception: UiSelector[INSTANCE=0, SCROLLABLE=true]\r\ninfo: [debug] [BOOTSTRAP] [debug] Returning result: {\"value\":\"Could not parse Ui\r\nSelector argument: problem using reflection to call this method\",\"status\":9}\r\ninfo: [debug] Condition unmet after 14025ms. Timing out.\r\ninfo: [debug] Responding to client with error: {\"status\":9,\"value\":{\"message\":\"T\r\nhe requested resource could not be found, or a request was received using an HTT\r\nP method that is not supported by the mapped resource.\",\"origValue\":\"Could not p\r\narse UiSelector argument: problem using reflection to call this method\"},\"sessio\r\nnId\":\"c0e94b03-9788-46d4-b664-2e55181f36d5\"}\r\ninfo: <-- POST /wd/hub/session/c0e94b03-9788-46d4-b664-2e55181f36d5/element 500\r\n14034.022 ms - 317\r\ninfo: --> DELETE /wd/hub/session/c0e94b03-9788-46d4-b664-2e55181f36d5 {}\r\ninfo: Shutting down appium session\r\ninfo: [debug] Pressing the HOME button\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe -s NX507J shell \"input keyevent 3\"\r\ninfo: [debug] Resetting IME to 'io.appium.android.ime/.UnicodeIME'\r\ninfo: [debug] executing cmd: D:\\adt-bundle-windows-x86_64-20140321\\sdk\\platform-\r\ntools\\adb.exe -s NX507J shell \"ime set io.appium.android.ime/.UnicodeIME\"\r\ninfo: [debug] Stopping logcat capture\r\ninfo: [debug] Logcat terminated with code null, signal SIGTERM\r\ninfo: [debug] [BOOTSTRAP] [debug] Got data from client: {\"cmd\":\"shutdown\"}\r\ninfo: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN\r\ninfo: [debug] Sent shutdown command, waiting for UiAutomator to stop...\r\ninfo: [debug] [BOOTSTRAP] [debug] Returning result: {\"value\":\"OK, shutting down\"\r\n,\"status\":0}\r\ninfo: [debug] [BOOTSTRAP] [debug] Closed client connection\r\ninfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1\r\ninfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.\r\ninfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRun\r\nner\r\ninfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer\r\ninfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.andro\r\nid.bootstrap.Bootstrap\r\ninfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1\r\ninfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0\r\ninfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=\r\ninfo: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.\r\ninfo: [debug] [UIAUTOMATOR STDOUT] Time: 28.222\r\ninfo: [debug] [UIAUTOMATOR STDOUT] OK (1 test)\r\ninfo: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1\r\ninfo: [debug] UiAutomator shut down normally\r\ninfo: [debug] Cleaning up android objects\r\ninfo: [debug] Cleaning up appium session\r\ninfo: [debug] Responding to client with success: {\"status\":0,\"value\":null,\"sessi\r\nonId\":\"c0e94b03-9788-46d4-b664-2e55181f36d5\"}\r\ninfo: <-- DELETE /wd/hub/session/c0e94b03-9788-46d4-b664-2e55181f36d5 200 2436.6\r\n64 ms - 76 {\"status\":0,\"value\":null,\"sessionId\":\"c0e94b03-9788-46d4-b664-2e55181\r\nf36d5\"}\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/appium/java-client/issues/comments/113670157","html_url":"https://github.com/appium/java-client/issues/138#issuecomment-113670157","issue_url":"https://api.github.com/repos/appium/java-client/issues/138","id":113670157,"user":{"login":"moizjv","id":1308607,"avatar_url":"https://avatars.githubusercontent.com/u/1308607?v=3","gravatar_id":"","url":"https://api.github.com/users/moizjv","html_url":"https://github.com/moizjv","followers_url":"https://api.github.com/users/moizjv/followers","following_url":"https://api.github.com/users/moizjv/following{/other_user}","gists_url":"https://api.github.com/users/moizjv/gists{/gist_id}","starred_url":"https://api.github.com/users/moizjv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moizjv/subscriptions","organizations_url":"https://api.github.com/users/moizjv/orgs","repos_url":"https://api.github.com/users/moizjv/repos","events_url":"https://api.github.com/users/moizjv/events{/privacy}","received_events_url":"https://api.github.com/users/moizjv/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T23:21:53Z","updated_at":"2015-06-19T23:21:53Z","body":"@fsuresh sorry for delayed response. Can you upgrade to latest appium version. We fixed scrollTo earlier "}}