Skip to content

Instantly share code, notes, and snippets.

@Dimezis
Created January 19, 2021 15:33
Show Gist options
  • Save Dimezis/bd10977b9cdf0f3a90290abf91fd9745 to your computer and use it in GitHub Desktop.
Save Dimezis/bd10977b9cdf0f3a90290abf91fd9745 to your computer and use it in GitHub Desktop.
UI Automator StackTrace
Fatal Exception: java.lang.StackOverflowError: stack size 1037KB
at java.util.ArrayList.<init>(ArrayList.java:191)
at android.view.accessibility.AccessibilityNodeInfo.init(AccessibilityNodeInfo.java:3245)
at android.view.accessibility.AccessibilityNodeInfo.obtain(AccessibilityNodeInfo.java:3051)
at android.view.accessibility.AccessibilityCache.getNode(AccessibilityCache.java:231)
at android.view.accessibility.AccessibilityInteractionClient.findAccessibilityNodeInfoByAccessibilityId(AccessibilityInteractionClient.java:287)
at android.view.accessibility.AccessibilityNodeInfo.getNodeForAccessibilityId(AccessibilityNodeInfo.java:3674)
at android.view.accessibility.AccessibilityNodeInfo.getParent(AccessibilityNodeInfo.java:1620)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorElement.computeVisibleBounds(UiAutomatorElement.java:10)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorElement.computeVisibleBounds(UiAutomatorElement.java:14)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorElement.computeVisibleBounds(UiAutomatorElement.java:14)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorElement.computeVisibleBounds(UiAutomatorElement.java:14)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorElement.computeVisibleBounds(UiAutomatorElement.java:14)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorElement.computeVisibleBounds(UiAutomatorElement.java:14)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorElement.computeVisibleBounds(UiAutomatorElement.java:14)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorElement.computeVisibleBounds(UiAutomatorElement.java:14)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorElement.computeVisibleBounds(UiAutomatorElement.java:14)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorElement.computeVisibleBounds(UiAutomatorElement.java:14)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorElement.computeVisibleBounds(UiAutomatorElement.java:14)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorElement.extractVisibleBounds(UiAutomatorElement.java:1)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorElement.extractState(UiAutomatorElement.java:9)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorElement.access$600(UiAutomatorElement.java)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorElement$Builder.<init>(UiAutomatorElement.java:5)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorElement$Builder.<init>(UiAutomatorElement.java)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorElement.newBuilder(UiAutomatorElement.java:1)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorScreenStateBuilder$AccessibilityTreeNode.<init>(UiAutomatorScreenStateBuilder.java:3)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorScreenStateBuilder$1.apply(UiAutomatorScreenStateBuilder.java:14)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorScreenStateBuilder$1.apply(UiAutomatorScreenStateBuilder.java:2)
at androidx.test.tools.crawler.obfuscated.an.fj.a(fj.java:1)
at androidx.test.tools.crawler.obfuscated.an.fl.next(fl.java:5)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorScreenStateBuilder.traverseAndBuild(UiAutomatorScreenStateBuilder.java:7)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorStateExtractor.extractActiveState(UiAutomatorStateExtractor.java:5)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorStateExtractor.getStableScreen(UiAutomatorStateExtractor.java:2)
at androidx.test.tools.crawler.platform.hybrid.HybridStateExtractor.getStableScreen(HybridStateExtractor.java:14)
at androidx.test.tools.crawler.platform.RemotePlatform.handlePerformScrape(RemotePlatform.java:1)
at androidx.test.tools.crawler.platform.RemotePlatform.messageLoop(RemotePlatform.java:23)
at androidx.test.tools.crawler.platform.RemotePlatform.lambda$startCrawlAndWaitUntilFinished$0$RemotePlatform(RemotePlatform.java:6)
at androidx.test.tools.crawler.platform.RemotePlatform$$Lambda$0.run(RemotePlatform.java:6)
at java.lang.Thread.run(Thread.java:764)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment