Created
February 14, 2019 11:01
-
-
Save VenkateshPS/417fa9b0672444d7358ce93f5fc78532 to your computer and use it in GitHub Desktop.
Appium Service error on 1.11.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Matched '/session' to command name 'createSession' | |
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8204/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","version":"7.0","app":"/Users/venkateshsingh/client-automation/App/uc-debugJenkins-6.1.0-1407d.apk","appActivity":"com.vocera.uc.authentication.AuthenticationActivity","appPackage":"com.vocera.uc","appWaitPackage":"com.vocera.uc","autoAcceptAlerts":true,"autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"MC 40","useNewWDA":true},"platformName":"android","version":"7.0","app":"/Users/venkateshsingh/client-automation/App/uc-debugJenkins-6.1.0-1407d.apk","appActivity":"com.vocera.uc.authentication.AuthenticationActivity","appPackage":"com.vocera.uc","appWaitPackage":"com.vocera.uc","autoAcceptAlerts":true,"autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"215d832724057ece","useNewWDA":true,"deviceUDID":"215d83272405... | |
[debug] [WD Proxy] Got response with status 200: {"sessionId":"cc692f6d-49cf-448b-b758-f4a790c7aa59","status":0,"value":"Created Session"} | |
[debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://localhost:8204/wd/hub/session/cc692f6d-49cf-448b-b758-f4a790c7aa59/appium/device/info] with no body | |
[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"cc692f6d-49cf-448b-b758-f4a790c7aa59\",\"status\":0,\"value\":{\"androidId\":\"aebcc46dfd0ec9c9\",\"manufacturer\":\"samsung\",\"model\":\"SM-G960F\",\"brand\":\"samsung\",\"apiVersion\":\"26\",\"platformVersion\":\"8.0.0\",\"carrierName\":\"\",\"realDisplaySize\":\"1080x2220\",\"displayDensity\":480}}" | |
[debug] [ADB] Running '/Users/venkateshsingh/android/platform-tools/adb -P 5037 -s 215d832724057ece shell dumpsys window' | |
[AndroidDriver] Screen already unlocked, doing nothing | |
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.vocera.uc/com.vocera.uc.authentication.AuthenticationActivity'. Starting it ourselves | |
[debug] [ADB] Running '/Users/venkateshsingh/android/platform-tools/adb -P 5037 -s 215d832724057ece shell am start -W -n com.vocera.uc/com.vocera.uc.authentication.AuthenticationActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' | |
[debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server: | |
Feb 14, 2019 4:12:26 PM io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0 | |
INFO: Detected dialect: W3C | |
[debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://localhost:8204/wd/hub/session/cc692f6d-49cf-448b-b758-f4a790c7aa59/appium/device/pixel_ratio] with body: {} | |
[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"cc692f6d-49cf-448b-b758-f4a790c7aa59\",\"status\":0,\"value\":3}" | |
[debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' | |
[debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://localhost:8204/wd/hub/session/cc692f6d-49cf-448b-b758-f4a790c7aa59/appium/device/system_bars] with body: {} | |
[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"cc692f6d-49cf-448b-b758-f4a790c7aa59\",\"status\":0,\"value\":{\"statusBar\":72}}" | |
[debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' | |
[debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8204/wd/hub/session/cc692f6d-49cf-448b-b758-f4a790c7aa59/window/current/size] with body: {} | |
[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"cc692f6d-49cf-448b-b758-f4a790c7aa59\",\"status\":0,\"value\":{\"height\":2076,\"width\":1080}}" | |
[Appium] New AndroidUiautomator2Driver session created successfully, session 40f98aab-76a6-447b-a4f6-ac2ff49768b6 added to master session list | |
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1550140946959 (16:12:26 GMT+0530 (India Standard Time)) | |
[debug] [W3C (40f98aab)] Cached the protocol value 'W3C' for the new session 40f98aab-76a6-447b-a4f6-ac2ff49768b6 | |
[debug] [W3C (40f98aab)] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","version":"7.0","app":"/Users/venkateshsingh/client-automation/App/uc-debugJenkins-6.1.0-1407d.apk","appActivity":"com.vocera.uc.authentication.AuthenticationActivity","appPackage":"com.vocera.uc","appWaitPackage":"com.vocera.uc","autoAcceptAlerts":true,"autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"MC 40","useNewWDA":true},"platformName":"android","version":"7.0","app":"/Users/venkateshsingh/client-automation/App/uc-debugJenkins-6.1.0-1407d.apk","appActivity":"com.vocera.uc.authentication.AuthenticationActivity","appPackage":"com.vocera.uc","appWaitPackage":"com.vocera.uc","autoAcceptAlerts":true,"autoGrantPermissions":true,"automationName":"uiautomator2","deviceName":"215d832724057ece","useNewWDA":true,"deviceUDID":"215d832724057ece","... | |
[HTTP] <-- POST /wd/hub/session 200 53357 ms - 1337 | |
[HTTP] | |
[HTTP] --> GET /wd/hub/session/40f98aab-76a6-447b-a4f6-ac2ff49768b6 | |
[HTTP] {} | |
[debug] [W3C (40f98aab)] Calling AppiumDriver.getSession() with args: ["40f98aab-76a6-447b-a4f6-ac2ff49768b6"] | |
[debug] [UiAutomator2] Getting session details from server to mix in | |
[debug] [WD Proxy] Matched '/' to command name 'getSession' | |
[debug] [WD Proxy] Proxying [GET /] to [GET http://localhost:8204/wd/hub/session/cc692f6d-49cf-448b-b758-f4a790c7aa59] with body: {} | |
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError | |
[debug] [W3C (40f98aab)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: java.lang.NullPointerException: Attempt to invoke virtual method 'io.appium.uiautomator2.model.AccessibilityScrollData io.appium.uiautomator2.model.Session.getLastScrollData()' on a null object reference | |
[debug] [W3C (40f98aab)] at io.appium.uiautomator2.handler.GetSessionDetails.safeHandle(GetSessionDetails.java:23) | |
[debug] [W3C (40f98aab)] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:36) | |
[debug] [W3C (40f98aab)] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:250) | |
[debug] [W3C (40f98aab)] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:241) | |
[debug] [W3C (40f98aab)] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44) | |
[debug] [W3C (40f98aab)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) | |
[debug] [W3C (40f98aab)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) | |
[debug] [W3C (40f98aab)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) | |
[debug] [W3C (40f98aab)] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) | |
[debug] [W3C (40f98aab)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) | |
[debug] [W3C (40f98aab)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) | |
[debug] [W3C (40f98aab)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) | |
[debug] [W3C (40f98aab)] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435) | |
[debug] [W3C (40f98aab)] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) | |
[debug] [W3C (40f98aab)] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267) | |
[debug] [W3C (40f98aab)] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250) | |
[debug] [W3C (40f98aab)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) | |
[debug] [W3C (40f98aab)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) | |
[debug] [W3C (40f98aab)] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) | |
[debug] [W3C (40f98aab)] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294) | |
[debug] [W3C (40f98aab)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) | |
[debug] [W3C (40f98aab)] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) | |
[debug] [W3C (40f98aab)] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911) | |
[debug] [W3C (40f98aab)] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) | |
[debug] [W3C (40f98aab)] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611) | |
[debug] [W3C (40f98aab)] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:552) | |
[debug] [W3C (40f98aab)] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:466) | |
[debug] [W3C (40f98aab)] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438) | |
[debug] [W3C (40f98aab)] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140) | |
[debug] [W3C (40f98aab)] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144) | |
[debug] [W3C (40f98aab)] at java.lang.Thread.run(Thread.java:764) | |
[debug] [W3C (40f98aab)] | |
[debug] [W3C (40f98aab)] at errorFromMJSONWPStatusCode (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:789:10) | |
[debug] [W3C (40f98aab)] at ProxyRequestError.getActualError (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:683:14) | |
[debug] [W3C (40f98aab)] at JWProxy.command (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:234:19) | |
[HTTP] <-- GET /wd/hub/session/40f98aab-76a6-447b-a4f6-ac2ff49768b6 500 61 ms - 7218 | |
[HTTP] | |
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: java.lang.NullPointerException: Attempt to invoke virtual method 'io.appium.uiautomator2.model.AccessibilityScrollData io.appium.uiautomator2.model.Session.getLastScrollData()' on a null object reference | |
at io.appium.uiautomator2.handler.GetSessionDetails.safeHandle(GetSessionDetails.java:23) | |
at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:36) | |
at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:250) | |
at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:241) | |
at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) | |
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) | |
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) | |
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) | |
at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435) | |
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) | |
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267) | |
at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) | |
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) | |
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) | |
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) | |
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911) | |
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) | |
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611) | |
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:552) | |
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:466) | |
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438) | |
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140) | |
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144) | |
at java.lang.Thread.run(Thread.java:764) | |
Build info: version: '3.12.0', revision: '7c6e0b3', time: '2018-05-08T14:04:26.12Z' | |
System info: host: 'Venkateshs-MacBook-Pro.local', ip: 'fe80:0:0:0:8d:11da:1612:9dc9%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.13.6', java.version: '1.8.0_60' | |
Driver info: io.appium.java_client.android.AndroidDriver | |
Capabilities {app: /Users/venkateshsingh/clien..., appActivity: com.vocera.uc.authenticatio..., appPackage: com.vocera.uc, appWaitPackage: com.vocera.uc, autoAcceptAlerts: true, autoGrantPermissions: true, automationName: uiautomator2, databaseEnabled: false, desired: {app: /Users/venkateshsingh/clien..., appActivity: com.vocera.uc.authenticatio..., appPackage: com.vocera.uc, appWaitPackage: com.vocera.uc, autoAcceptAlerts: true, autoGrantPermissions: true, automationName: uiautomator2, deviceName: MC 40, platformName: android, useNewWDA: true, version: 7.0}, deviceApiLevel: 26, deviceManufacturer: samsung, deviceModel: SM-G960F, deviceName: 215d832724057ece, deviceScreenDensity: 480, deviceScreenSize: 1080x2220, deviceUDID: 215d832724057ece, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, pixelRatio: 3, platform: LINUX, platformName: Android, platformVersion: 8.0.0, statBarHeight: 72, takesScreenshot: true, useNewWDA: true, version: 7.0, viewportRect: {height: 2004, left: 0, top: 72, width: 1080}, warnings: {}, webStorageEnabled: false} | |
Session ID: 40f98aab-76a6-447b-a4f6-ac2ff49768b6 | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.lang.reflect.Constructor.newInstance(Constructor.java:422) | |
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187) | |
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122) | |
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49) | |
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) | |
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:231) | |
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:543) | |
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:46) | |
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) | |
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) | |
at io.appium.java_client.HasSessionDetails.getSessionDetails(HasSessionDetails.java:39) | |
at io.appium.java_client.HasSessionDetails.getSessionDetail(HasSessionDetails.java:56) | |
at io.appium.java_client.HasSessionDetails.getPlatformName(HasSessionDetails.java:65) | |
at io.appium.java_client.internal.JsonToMobileElementConverter.<init>(JsonToMobileElementConverter.java:49) | |
at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:89) | |
at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:94) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment