Skip to content

Instantly share code, notes, and snippets.

@tri-fraga
Last active July 11, 2019 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tri-fraga/0c9eb6615fbbb962ee585a8d4675e3ac to your computer and use it in GitHub Desktop.
Save tri-fraga/0c9eb6615fbbb962ee585a8d4675e3ac to your computer and use it in GitHub Desktop.
[debug] [W3C (3e95a58d)] Calling AppiumDriver.getCurrentContext() with args: ["3e95a58d-5681-4411-8a5f-404add7863a1"]
[WD Proxy] Got an unexpected response: {"sessionId":"caea9dbf-708c-488d-9d36-dea231b4e368","status":13,"value":"java.lang.StackOverflowError: stack size 1041KB\n\tat android.view.accessibility.AccessibilityNodeInfo.getBoundsInScreen(AccessibilityNodeInfo.java:1684)\n\tat io.appium.uiautomator2.core.AccessibilityNodeInfoHelpers.getVisibleBounds(AccessibilityNodeInfoHelpers.java:102)\n\tat io.appium.uiautomator2.core.AccessibilityNodeInfoHelpers.getVisibleBounds(AccessibilityNodeInfoHelpers.java:86)\n\tat io.appium.uiautomator2.model.UiAutomationElement.<init>(UiAutomationElement.java:88)\n\tat io.appium.uiautomator2.model.UiAutomationElement.getOrCreateElement(UiAutomationElement.java:138)\n\tat io.appium.uiautomator2.model.UiAutomationElement.buildChildren(UiAutomationElement.java:180)\n\tat io.appium.uiautomator2.model.UiAutomationElement.<init>(UiAutomationElement.java:92)\n\tat io.appium.uiautomator2.model.UiAutomationElement.getOrCreateElement(UiAutomationElement.java:138)\n\tat io.appium.uiautomator2.model.UiAutomationElement.buildChildren...
[debug] [W3C (3e95a58d)] Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server. Original error: 500 - "{\"sessionId\":\"caea9dbf-708c-488d-9d36-dea231b4e368\",\"status\":13,\"value\":\"java.lang.StackOverflowError: stack size 1041KB\\n\\tat android.view.accessibility.AccessibilityNodeInfo.getBoundsInScreen(AccessibilityNodeInfo.java:1684)\\n\\tat io.appium.uiautomator2.core.AccessibilityNodeInfoHelpers.getVisibleBounds(AccessibilityNodeInfoHelpers.java:102)\\n\\tat io.appium.uiautomator2.core.AccessibilityNodeInfoHelpers.getVisibleBounds(AccessibilityNodeInfoHelpers.java:86)\\n\\tat io.appium.uiautomator2.model.UiAutomationElement.<init>(UiAutomationElement.java:88)\\n\\tat io.appium.uiautomator2.model.UiAutomationElement.getOrCreateElement(UiAutomationElement.java:138)\\n\\tat io.appium.uiautomator2.model.UiAutomationElement.buildChildren(UiAutomationElement.java:180)\\n\\tat io.appium.uiautomator2.model.UiAutomationElement.<init>(UiAutomationElement.java:92)\\n\\tat io.appium.uiautomator2.model.UiAutomationElement.getOrCreateElement(UiAutomationElement.java:138)\\n\\tat io.appium.uiautomator2.model.UiAutomationElement.buildChildren(UiAutomationElement.java:180)\\n\\tat io.appium.uiautomator2.model.UiAutomationElement.<init>(UiAutomationElement.java:92)\\n\\tat io.appium.uiautomator2.model.UiAutomationElement.getOrCreateElement(UiAutomationElement.java:138)\\n\\tat io.appium.uiautomator2.model.UiAutomationElement.buildChildren(UiAutomationElement.java:180)\\n\\tat io.appium.uiautomator2.model.UiAutomationElement.<init>(UiAutomationElement.java:92)\\n\\tat
.......
io.appium.uiautomator2.model.UiAutomationElement.getOrCreateElement(UiAutomationElement.java:138)\\n\\tat io.appium.uiautomator2.model.UiAutomationElement.buildChildren(UiAutomationElement.java:180)\\n\\tat io.appium.uiautomator2.model.UiAutomationElement.<init>(UiAutomationElement.java:92)\\n\\tat io.appium.uiautomator2.model.UiAutomationElement.getOrCreateElement(UiAutomationElement.java:138)\\n\\tat io.appium.uiautomator2.model.UiAutomationElement.buildChildren(UiAutomationElement.java:180)\\n\\tat io.appium.uiautomator2.model.UiAutomationElement.<init>(UiAutomationElement.java:92)\\n\\tat io.appium.uiautomator2.model.UiAutomationElement.<init>(UiAutomationElement.java:102)\\n\\tat io.appium.uiautomator2.model.UiAutomationElement.rebuildForNewRoot(UiAutomationElement.java:116)\\n\\tat io.appium.uiautomator2.core.AccessibilityNodeInfoDumper.toStream(AccessibilityNodeInfoDumper.java:169)\\n\\tat io.appium.uiautomator2.core.AccessibilityNodeInfoDumper.dumpToXml(AccessibilityNodeInfoDumper.java:189)\\n\\tat io.appium.uiautomator2.handler.Source.safeHandle(Source.java:39)\\n\\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:37)\\n\\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:252)\\n\\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:243)\\n\\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:44)\\n\\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\\n\\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\\n\\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\\n\\tat io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)\\n\\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\\n\\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\\n\\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\\n\\tat io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)\\n\\tat io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)\\n\\tat io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)\\n\\tat io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)\\n\\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\\n\\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\\n\\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\\n\\tat io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)\\n\\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\\n\\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\\n\\tat io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)\\n\\tat io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)\\n\\tat io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)\\n\\tat io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:552)\\n\\tat io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:466)\\n\\tat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)\\n\\tat io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)\\n\\tat io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)\\n\\tat java.lang.Thread.run(Thread.java:764)\\n\"}"
[debug] [W3C (3e95a58d)] at JWProxy.proxy (C:\dev\git\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:200:13)
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[HTTP] <-- GET /wd/hub/session/3e95a58d-5681-4411-8a5f-404add7863a1/source 500 33828 ms - 237881
[HTTP]
[debug] [W3C (3e95a58d)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /wd/hub/session/3e95a58d-5681-4411-8a5f-404add7863a1/context 200 29200 ms - 22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment