{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/6580","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/6580/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/6580/comments","events_url":"https://api.github.com/repos/appium/appium/issues/6580/events","html_url":"https://github.com/appium/appium/issues/6580","id":160047512,"number":6580,"title":"Appium test failed - java.lang.NullPointerException","user":{"login":"shubzinator","id":1410397,"avatar_url":"https://avatars3.githubusercontent.com/u/1410397?v=4","gravatar_id":"","url":"https://api.github.com/users/shubzinator","html_url":"https://github.com/shubzinator","followers_url":"https://api.github.com/users/shubzinator/followers","following_url":"https://api.github.com/users/shubzinator/following{/other_user}","gists_url":"https://api.github.com/users/shubzinator/gists{/gist_id}","starred_url":"https://api.github.com/users/shubzinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shubzinator/subscriptions","organizations_url":"https://api.github.com/users/shubzinator/orgs","repos_url":"https://api.github.com/users/shubzinator/repos","events_url":"https://api.github.com/users/shubzinator/events{/privacy}","received_events_url":"https://api.github.com/users/shubzinator/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-06-13T21:19:41Z","updated_at":"2017-08-22T11:58:44Z","closed_at":"2016-06-13T21:54:34Z","body":"[TestNG] Running:\n  /Users/mohammedshuheb/Library/Caches/IntelliJIdea2016.1/temp-testng-customsuite.xml\n\njava.lang.NullPointerException\n    at FirstTest.Test1(FirstTest.java:31)\n    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\n    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n    at java.lang.reflect.Method.invoke(Method.java:606)\n    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)\n    at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)\n    at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:816)\n    at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1124)\n    at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)\n    at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)\n    at org.testng.TestRunner.privateRun(TestRunner.java:774)\n    at org.testng.TestRunner.run(TestRunner.java:624)\n    at org.testng.SuiteRunner.runTest(SuiteRunner.java:359)\n    at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:354)\n    at org.testng.SuiteRunner.privateRun(SuiteRunner.java:312)\n    at org.testng.SuiteRunner.run(SuiteRunner.java:261)\n    at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)\n    at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)\n    at org.testng.TestNG.runSuitesSequentially(TestNG.java:1215)\n    at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)\n    at org.testng.TestNG.run(TestNG.java:1048)\n    at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:74)\n    at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:121)\n    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\n    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n    at java.lang.reflect.Method.invoke(Method.java:606)\n    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)\n# \n\nDefault Suite\n# Total tests run: 1, Failures: 1, Skips: 0\n\nProcess finished with exit code 0\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/324004515","html_url":"https://github.com/appium/appium/issues/6580#issuecomment-324004515","issue_url":"https://api.github.com/repos/appium/appium/issues/6580","id":324004515,"user":{"login":"shabana-parveen","id":13347267,"avatar_url":"https://avatars0.githubusercontent.com/u/13347267?v=4","gravatar_id":"","url":"https://api.github.com/users/shabana-parveen","html_url":"https://github.com/shabana-parveen","followers_url":"https://api.github.com/users/shabana-parveen/followers","following_url":"https://api.github.com/users/shabana-parveen/following{/other_user}","gists_url":"https://api.github.com/users/shabana-parveen/gists{/gist_id}","starred_url":"https://api.github.com/users/shabana-parveen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shabana-parveen/subscriptions","organizations_url":"https://api.github.com/users/shabana-parveen/orgs","repos_url":"https://api.github.com/users/shabana-parveen/repos","events_url":"https://api.github.com/users/shabana-parveen/events{/privacy}","received_events_url":"https://api.github.com/users/shabana-parveen/received_events","type":"User","site_admin":false},"created_at":"2017-08-22T11:58:44Z","updated_at":"2017-08-22T11:58:44Z","body":"@imurchie , selenium latest version 3.5.2 throwing NullPointerExpection for all WebElements. \r\nI try to resolve this issue in my whole day, then I just downgrade the selenium version with 3.4.0, Now its working. Could you please guide me why the selenium latest version is not supporting the WebElements with the appium?\r\n\r\nI tried all elements with click(), clear(), sendkeys() and getText(), getAttribute() etc. \r\n\r\nPlease refer below exception log:\r\njava.lang.NullPointerException at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:275) at org.openqa.selenium.remote.RemoteWebElement.clear(RemoteWebElement.java:117)\r\n----\r\n---"}}
{"actor":{"display_login":"shabana-parveen"}}