Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.58k stars 2.92k forks source link

[$250] Investigate: 💥 Crash 💥 `android.support.test.uiautomator.UiDevice.getWindowRoots` #12790

Closed melvin-bot[bot] closed 2 years ago

melvin-bot[bot] commented 2 years ago

Firebase has reported a new crash that we need to fix, here are all the details we found:

Fatal Exception: java.lang.IllegalStateException

UiAutomation not connected, UiAutomation@ec53d30[id=-1, flags=0]

UiDevice.java line 3 android.support.test.uiautomator.UiDevice.getWindowRoots

Number of Crashes: 1

Device Information

Stacktraces

Android 1.2.28-2 ```javascript android.app.UiAutomation.throwIfNotConnectedLocked (UiAutomation.java:1239) android.app.UiAutomation.getRootInActiveWindow (UiAutomation.java:602) android.support.test.uiautomator.UiDevice.getWindowRoots (UiDevice.java:3) android.support.test.uiautomator.UiDevice.findObjects (UiDevice.java:2) androidx.test.tools.crawler.platform.uiautomator.UiAutomatorUtils.isSoftKeyboardOpen (UiAutomatorUtils.java:1) androidx.test.tools.crawler.platform.hybrid.EspressoUtils.isSoftKeyboardOpen (EspressoUtils.java:7) androidx.test.tools.crawler.platform.hybrid.HybridInteractionController.enterText (HybridInteractionController.java:11) androidx.test.tools.crawler.platform.ActionExecutor.execute (ActionExecutor.java:48) androidx.test.tools.crawler.platform.ActionExecutor.performAction (ActionExecutor.java:4) androidx.test.tools.crawler.platform.RemotePlatform.handlePerformAction (RemotePlatform.java:22) androidx.test.tools.crawler.platform.RemotePlatform.messageLoop (RemotePlatform.java:58) androidx.test.tools.crawler.platform.RemotePlatform.lambda$startCrawlAndWaitUntilFinished$0$androidx-test-tools-crawler-platform-RemotePlatform (RemotePlatform.java:1) androidx.test.tools.crawler.platform.RemotePlatform$$ExternalSyntheticLambda1.run java.lang.Thread.run (Thread.java:923) ```

Internal Firebase Info 💥 **DO NOT EDIT THIS SECTION** 💥 **Crash IDs:** `55003b0189a1b9eb97ecba422c14a26e` **Exception:** `UiAutomation not connected, UiAutomation@ec53d30[id=-1, flags=0]`

REMINDER: Typically, Firebase Crashlytics issues should be capped at $500.

melvin-bot[bot] commented 2 years ago

Triggered auto assignment to @sophiepintoraetz (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

melvin-bot[bot] commented 2 years ago

Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane (External)

melvin-bot[bot] commented 2 years ago

Triggered auto assignment to @techievivek (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

trjExpensify commented 2 years ago

Going to close this out. We're in the process of putting logic in place to only open an issue after 5 crash reports.

CC: @AndrewGable