Reposting - When driver quits, appium throws Cannot read property '1' of null

377 views
Skip to first unread message

Polasani Silpa

unread,
Mar 5, 2014, 1:49:35 PM3/5/14
to appium-...@googlegroups.com

Anybody have come across similar problem ??

I am using Appium 0.16.0/0.15.0 with selenium webdriver 2.39.0 and Android verison 4.3 emulator -- i am seeing WebDriverException


##### Appium LOG #####

14:35:20.594 [main] ERROR c.w.t.shared.reporting.StatusLogger - FAILED: signOut declared in TimeOffTest

org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 57 milliseconds

Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'

System info: host: 'SPOLASANI-01.local', ip: '10.236.9.13', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.8.5', java.version: '1.7.0_13'

Session ID: 940e6296b73c4353a9bdb9687d0c858d

#####Appium log########:

debug: Request received with params: {}

debug: Proxying command to localhost:8080

TypeError: Cannot read property '1' of null

    at Object.module.exports.doProxy (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/server/proxy.js:44:48)

    at /Applications/Appium.app/Contents/Resources/node_modules/appium/lib/server/controller.js:32:13

    at callbacks (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:164:37)

    at param (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:138:11)

    at pass (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:145:5)

    at Router._dispatch (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:173:5)

    at Object.router (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/lib/router/index.js:33:10)

    at next (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/node_modules/connect/lib/proto.js:193:15)

    at Object.methodOverride [as handle] (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/node_modules/connect/lib/middleware/methodOverride.js:48:5)

    at next (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/express/node_modules/connect/lib/proto.js:193:15)


debug: Appium request initiated at /wd/hub/session/9e5f57ab-4438-eec6-bfd9-5d0f5af0cecc


info: Shutting down appium session...

Shu Chen

unread,
Mar 25, 2014, 4:24:35 PM3/25/14
to appium-...@googlegroups.com
yes , I met the similar issue sometimes
appium: 0.17.6
running test as selendroid, against android version 4.2.2(API 17) in android emulator
Reply all
Reply to author
Forward
Message has been deleted
0 new messages