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.3k stars 2.74k forks source link

[$500] Error connecting UiAutomation #10078

Closed melvin-bot[bot] closed 2 years ago

melvin-bot[bot] commented 2 years ago

Fatal Exception: java.lang.RuntimeException

Error while connecting UiAutomation

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

Number of Crashes: 1

Device Information

Stacktraces

Android 1.1.86-0 ```javascript android.app.UiAutomation.connect (UiAutomation.java:226) android.app.Instrumentation.getUiAutomation (Instrumentation.java:2077) android.support.test.uiautomator.UiDevice.getUiAutomation (UiDevice.java:3) android.support.test.uiautomator.w. (QueryController.java:2) android.support.test.uiautomator.UiDevice. (UiDevice.java:5) android.support.test.uiautomator.UiDevice.getInstance (UiDevice.java:1) androidx.test.tools.crawler.platform.dagger.CrawlPlatformModule.provideUiDevice (CrawlPlatformModule.java:1) androidx.test.tools.crawler.platform.dagger.CrawlPlatformModule_ProvideUiDeviceFactory.provideUiDevice (CrawlPlatformModule_ProvideUiDeviceFactory.java:1) androidx.test.tools.crawler.platform.dagger.CrawlPlatformModule_ProvideUiDeviceFactory.get (CrawlPlatformModule_ProvideUiDeviceFactory.java:1) androidx.test.tools.crawler.platform.dagger.CrawlPlatformModule_ProvideUiDeviceFactory.get (CrawlPlatformModule_ProvideUiDeviceFactory.java:2) androidx.test.tools.crawler.obfuscated.dy.d.get (DoubleCheck.java:1) androidx.test.tools.crawler.platform.dagger.DaggerCrawlPlatformComponent$RequestComponentImpl.uiAutomatorInteractionController (DaggerCrawlPlatformComponent.java:1) androidx.test.tools.crawler.platform.dagger.DaggerCrawlPlatformComponent$RequestComponentImpl.hybridInteractionController (DaggerCrawlPlatformComponent.java:1) androidx.test.tools.crawler.platform.dagger.DaggerCrawlPlatformComponent$RequestComponentImpl.uiInteractionController (DaggerCrawlPlatformComponent.java:1) androidx.test.tools.crawler.platform.RemotePlatform.uiInteractionController (RemotePlatform.java:1) androidx.test.tools.crawler.platform.RemotePlatform.handlePerformAction (RemotePlatform.java:21) 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:764) ```

Internal Firebase Info πŸ’₯ **DO NOT EDIT THIS SECTION** πŸ’₯ **Crash IDs:** `18d6597d2e955ba6087e5af501b12f41` **Exception:** `Error while connecting UiAutomation`
melvin-bot[bot] commented 2 years ago

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

kevinksullivan commented 2 years ago

https://www.upwork.com/jobs/~01a7d12aff21037df4

melvin-bot[bot] commented 2 years ago

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

melvin-bot[bot] commented 2 years ago

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

parasharrajat commented 2 years ago

This seems to me that this is caused by Android automated tests. And that might be the Firebase test-lab. Do we run these kinds of tests somewhere?

stitesExpensify commented 2 years ago

I'm not sure tbh. CC: @marcaaron @roryabraham

roryabraham commented 2 years ago

AFAIK we do not use Firebase test-lab anywhere, but Google might use it as part of their App review. It would be pretty valuable if we could run Google's app review test suite as part of our CI, but that seems out-of-scope of this issue (and might take too long to be feasible as a PR check).

marcaaron commented 2 years ago

TIL https://developer.android.com/reference/android/app/UiAutomation

Is this one actionable? Feels like maybe not. Can we suppress these types of crashes somehow?

kevinksullivan commented 2 years ago

Price doubled.

melvin-bot[bot] commented 2 years ago

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

kevinksullivan commented 2 years ago

Reassigning as I'm OOO for a bit. Thanks @adelekennedy !

stitesExpensify commented 2 years ago

Just wanted to bump this conversation, do we think this is actionable? Or should I just close it out?

roryabraham commented 2 years ago

I wasn't able to find this error in Crashlytics to tell if it's still happening, so I'm going to just close this out as @stitesExpensify has suggested πŸ‘