{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium-espresso-driver/issues/213","repository_url":"https://api.github.com/repos/appium/appium-espresso-driver","labels_url":"https://api.github.com/repos/appium/appium-espresso-driver/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium-espresso-driver/issues/213/comments","events_url":"https://api.github.com/repos/appium/appium-espresso-driver/issues/213/events","html_url":"https://github.com/appium/appium-espresso-driver/issues/213","id":353035679,"node_id":"MDU6SXNzdWUzNTMwMzU2Nzk=","number":213,"title":"DragNDrop fails with null object reference","user":{"login":"saikrishna321","id":4045041,"node_id":"MDQ6VXNlcjQwNDUwNDE=","avatar_url":"https://avatars3.githubusercontent.com/u/4045041?v=4","gravatar_id":"","url":"https://api.github.com/users/saikrishna321","html_url":"https://github.com/saikrishna321","followers_url":"https://api.github.com/users/saikrishna321/followers","following_url":"https://api.github.com/users/saikrishna321/following{/other_user}","gists_url":"https://api.github.com/users/saikrishna321/gists{/gist_id}","starred_url":"https://api.github.com/users/saikrishna321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saikrishna321/subscriptions","organizations_url":"https://api.github.com/users/saikrishna321/orgs","repos_url":"https://api.github.com/users/saikrishna321/repos","events_url":"https://api.github.com/users/saikrishna321/events{/privacy}","received_events_url":"https://api.github.com/users/saikrishna321/received_events","type":"User","site_admin":false},"labels":[{"id":611512614,"node_id":"MDU6TGFiZWw2MTE1MTI2MTQ=","url":"https://api.github.com/repos/appium/appium-espresso-driver/labels/bug","name":"bug","color":"ee0701","default":true},{"id":864910206,"node_id":"MDU6TGFiZWw4NjQ5MTAyMDY=","url":"https://api.github.com/repos/appium/appium-espresso-driver/labels/needsinfo","name":"needsinfo","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-08-22T16:41:07Z","updated_at":"2018-08-22T21:04:38Z","closed_at":null,"author_association":"MEMBER","body":"@dpgraham @mykola-mokhnach \r\n\r\nAppium Server: Latest Master \r\nJava-Client: 6.1.0\r\n\r\n```\r\nMobileElement dragMe = (MobileElement) new WebDriverWait(driver, 30).until(ExpectedConditions\r\n                .elementToBeClickable(MobileBy.AccessibilityId(\"dragMe\")));\r\n WebElement source = dragMe;\r\nWebElement target = driver.findElementByAccessibilityId(\"dropzone\");\r\nActions actionBuilder = new Actions(driver);\r\nAction dragAndDropAction = actionBuilder.clickAndHold(source).moveToElement(target, 1, 1)                .release(target).build();\r\ndragAndDropAction.perform();\r\n```\r\n\r\nServer logs: https://gist.github.com/saikrishna321/e0681990382ccde8d6fbc9635170d063"},"comment":{"url":"https://api.github.com/repos/appium/appium-espresso-driver/issues/comments/415179459","html_url":"https://github.com/appium/appium-espresso-driver/issues/213#issuecomment-415179459","issue_url":"https://api.github.com/repos/appium/appium-espresso-driver/issues/213","id":415179459,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTE3OTQ1OQ==","user":{"login":"dpgraham","id":852574,"node_id":"MDQ6VXNlcjg1MjU3NA==","avatar_url":"https://avatars2.githubusercontent.com/u/852574?v=4","gravatar_id":"","url":"https://api.github.com/users/dpgraham","html_url":"https://github.com/dpgraham","followers_url":"https://api.github.com/users/dpgraham/followers","following_url":"https://api.github.com/users/dpgraham/following{/other_user}","gists_url":"https://api.github.com/users/dpgraham/gists{/gist_id}","starred_url":"https://api.github.com/users/dpgraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpgraham/subscriptions","organizations_url":"https://api.github.com/users/dpgraham/orgs","repos_url":"https://api.github.com/users/dpgraham/repos","events_url":"https://api.github.com/users/dpgraham/events{/privacy}","received_events_url":"https://api.github.com/users/dpgraham/received_events","type":"User","site_admin":false},"created_at":"2018-08-22T21:04:38Z","updated_at":"2018-08-22T21:04:38Z","author_association":"CONTRIBUTOR","body":"@saikrishna321 does that app crash at any point during the test?\r\n\r\nYour bug means that this function is returning `null`:\r\n\r\n```java\r\n/**\r\n     * Returns a list of application processes that are running on the device.\r\n     *\r\n     * <p><b>Note: this method is only intended for debugging or building\r\n     * a user-facing process management UI.</b></p>\r\n     *\r\n     * @return Returns a list of RunningAppProcessInfo records, or null if there are no\r\n     * running processes (it will not return an empty list).  This list ordering is not\r\n     * specified.\r\n     */\r\n    public List<RunningAppProcessInfo> getRunningAppProcesses() {\r\n        try {\r\n            return ActivityManagerNative.getDefault().getRunningAppProcesses();\r\n        } catch (RemoteException e) {\r\n            throw e.rethrowFromSystemServer();\r\n        }\r\n    }\r\n```"}}
{"actor":{"display_login":"dpgraham"}}