Skip to content

Instantly share code, notes, and snippets.

@arthuRHD
Last active August 3, 2020 15:23
Show Gist options
  • Save arthuRHD/59c0478b9fa4233e339a7f1719920722 to your computer and use it in GitHub Desktop.
Save arthuRHD/59c0478b9fa4233e339a7f1719920722 to your computer and use it in GitHub Desktop.
log_error_boolean_parsing
[Appium] New AndroidUiautomator2Driver session created successfully, session 90ffea58-97d7-4b61-a318-a5d71bf6a875 added to master session list
[Appium] Applying the initial values to Appium settings parsed from W3C caps: {"shutdownOnPowerDisconnect":[false],"fixImageTemplateSize":false,"getMatchedImageResult":true,"imageMatchThreshold":0.33694}
[UiAutomator2] Found some settings designed to be handled by BaseDriver: ["fixImageTemplateSize","getMatchedImageResult","imageMatchThreshold"]. Not sending these on to the UiAutomator2 server and instead setting directly on the driver
[debug] [BaseDriver] The value of 'fixImageTemplateSize' setting did not change. Skipping the update for it
[UiAutomator2] Forwarding the following settings to the UiAutomator2 server: ["shutdownOnPowerDisconnect"]
[debug] [WD Proxy] Matched '/appium/settings' to command name 'updateSettings'
[debug] [WD Proxy] Proxying [POST /appium/settings] to [POST http://127.0.0.1:8200/wd/hub/session/24f6cae8-b1b6-4f59-bd9d-2413d0ed90d1/appium/settings] with body: {"settings":{"shutdownOnPowerDisconnect":[false]}}
[WD Proxy] Got response with status 500: {"sessionId":"24f6cae8-b1b6-4f59-bd9d-2413d0ed90d1","value":{"error":"unknown error","message":"Invalid setting value type. Got: org.json.JSONArray. Expected: java.lang.Boolean.","stacktrace":"io.appium.uiautomator2.common.exceptions.UiAutomator2Exception: Invalid setting value type. Got: org.json.JSONArray. Expected: java.lang.Boolean.\n\tat io.appium.uiautomator2.model.settings.AbstractSetting.convertValue(AbstractSetting.java:63)\n\tat io.appium.uiautomator2.model.settings.AbstractSetting.update(AbstractSetting.java:34)\n\tat io.appium.uiautomator2.handler.UpdateSettings.safeHandle(UpdateSettings.java:50)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)\n\tat io.netty.channel.AbstractChannelHandl...
[debug] [W3C] Matched W3C error code 'unknown error' to UnknownError
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1596466083678 (16:48:03 GMT+0200 (heure d’été d’Europe centrale))
[debug] [W3C] Encountered internal error running command: An unknown server-side error occurred while processing the command. Original error: Invalid setting value type. Got: org.json.JSONArray. Expected: java.lang.Boolean.
[debug] [W3C] io.appium.uiautomator2.common.exceptions.UiAutomator2Exception: Invalid setting value type. Got: org.json.JSONArray. Expected: java.lang.Boolean.
[debug] [W3C] at io.appium.uiautomator2.model.settings.AbstractSetting.convertValue(AbstractSetting.java:63)
[debug] [W3C] at io.appium.uiautomator2.model.settings.AbstractSetting.update(AbstractSetting.java:34)
[debug] [W3C] at io.appium.uiautomator2.handler.UpdateSettings.safeHandle(UpdateSettings.java:50)
[debug] [W3C] at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:38)
[debug] [W3C] at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)
[debug] [W3C] at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:242)
[debug] [W3C] at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:51)
[debug] [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
[debug] [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
[debug] [W3C] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
[debug] [W3C] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
[debug] [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
[debug] [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
[debug] [W3C] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
[debug] [W3C] at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
[debug] [W3C] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
[debug] [W3C] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
[debug] [W3C] at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
[debug] [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
[debug] [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
[debug] [W3C] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
[debug] [W3C] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
[debug] [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
[debug] [W3C] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
[debug] [W3C] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
[debug] [W3C] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
[debug] [W3C] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
[debug] [W3C] at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:514)
[debug] [W3C] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:468)
[debug] [W3C] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
[debug] [W3C] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
[debug] [W3C] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
[debug] [W3C] at java.lang.Thread.run(Thread.java:818)
[debug] [W3C]
[debug] [W3C] Destroying socket connection
[HTTP] <-- POST /wd/hub/session 500 39179 ms - 3637
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment