-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Android. Selendroid. Error when I try driver.quit(); #3258
Comments
this will add some logging for appium#3258
Just added a pull request that doesn't resolve the issue but should generate a better trace. Can you run from master once it's merged and let me know if anything's fixed? |
IDE Server and logcat |
And the same info: Uninstalling eu.inn.test |
Is It possible to solve It ? |
Not sure. This isn't the real issue your test is failing, however. The real issue seems to be that the element isn't found. Still, I'm adding this to the 1.2.2 milestone to fix the bug that ending the session results in a status 13 error. |
This is reproducible with |
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. |
I got the problem:
Command duration or timeout: 9.98 seconds
Build info: version: '2.41.0', revision: '3192d8a6c4449dc285928ba024779344f5423c58', time: '2014-03-27 11:29:39'
System info: host: 'iosbuildagent.local', ip: '10.33.4.133', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.3', java.version: '1.7.0_51'
Session ID: 96f47716-2be4-2035-20e6-893aedc8c39c
Driver info: io.appium.java_client.AppiumDriver
Capabilities [{automationName=selendroid, platformVersion=19, platform=ANDROID, acceptSslCerts=true, javascriptEnabled=true, platformName=android, handlesAlerts=true, browserName=selendroid, networkConnectionEnabled=true, rotatable=true, takesScreenshot=true, version=0.10.0}]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:193)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:595)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:76)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:87)
at org.openqa.selenium.remote.RemoteWebDriver.quit(RemoteWebDriver.java:464)
at resources.BasicTest.closeDeviceITest(BasicTest.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:786)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
debug: Appium request initiated at /wd/hub/session/96f47716-2be4-2035-20e6-893aedc8c39c
debug: Request received with params: {}
info: Shutting down appium session...
info: Removing app from device
info: Uninstalling eu.inn.test
debug: executing: "/usr/local/adt/sdk/platform-tools/adb" -s emulator-5554 shell "am force-stop eu.inn.test"
debug: executing: "/usr/local/adt/sdk/platform-tools/adb" -s emulator-5554 uninstall eu.inn.test
debug: App was uninstalled
info: Stopping selendroid server
info: Making http request with opts: {"url":"http://localhost:4444/wd/hub/session/96f47716-2be4-2035-20e6-893aedc8c39c","method":"DELETE"}
info: Cleaning up appium session
info: Responding to client with error: {"status":13,"value":{"message":"An unknown server-side error occurred while processing the command. (Original error: Device exited with code: 1)","origValue":"Device exited with code: 1"},"sessionId":null}
The text was updated successfully, but these errors were encountered: