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
diff --git a/app/src/main/java/io/appium/uiautomator2/core/AccessibilityNodeInfoHelpers.java b/app/src/main/java/io/appium/uiautomator2/core/AccessibilityNodeInfoHelpers.java | |
index d131173..e68658f 100644 | |
--- a/app/src/main/java/io/appium/uiautomator2/core/AccessibilityNodeInfoHelpers.java | |
+++ b/app/src/main/java/io/appium/uiautomator2/core/AccessibilityNodeInfoHelpers.java | |
@@ -36,6 +36,8 @@ import static io.appium.uiautomator2.utils.StringHelpers.charSequenceToString; | |
* This class contains static helper methods to work with {@link AccessibilityNodeInfo} | |
*/ | |
public class AccessibilityNodeInfoHelpers { | |
+ | |
+ private final static int MAX_DEPTH = 70; |
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
[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.ui |