Skip to content

Android - Chat - App crashed after send a emoji #10759

Closed

Description

@kbecciv

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Launch the app
  2. Log in with expensifail account
  3. Select any user
  4. Tap on emoji face
    5 Pick one and send it
  5. Select another one and send it

Expected Result:

Able to send emoji

Actual Result:

App crashed after send a emoji

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Android

Version Number: 1.1.96.0

Reproducible in staging?: Yes

Reproducible in production?: No

Email or phone of affected tester (no customers): any

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Bug5713511_Screen_Recording_20220901-141811_One_UI_Home.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Activity

  1. OSBotify commented on Sep 1, 2022

    @OSBotify
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  2. melvin-bot commented on Sep 1, 2022

    @melvin-bot

    Triggered auto assignment to @chiragsalian (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  3. luacmartins commented on Sep 1, 2022

    @luacmartins
    Contributor

    Got this error in dev:

     ERROR  Warning: Encountered two children with the same key, `undefined`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
        in RCTView (at View.js:32)
        in View (at ScrollView.js:1681)
        in RCTScrollView (at ScrollView.js:1799)
        in ScrollView (at ScrollView.js:1825)
        in ScrollView (at VirtualizedList.js:1348)
        in VirtualizedListContextProvider (at VirtualizedList.js:1179)
        in VirtualizedList (at FlatList.js:659)
        in FlatList (at BaseInvertedFlatList.js:143)
        in BaseInvertedFlatList (at BaseInvertedFlatList.js:169)
        in _c (at InvertedFlatList/index.android.js:5)
        in _c (at ReportActionsList.js:181)
        in RCTView (at View.js:32)
        in View (at createAnimatedComponent.js:211)
        in AnimatedComponent (at createAnimatedComponent.js:264)
        in AnimatedComponentWrapper (at ReportActionsList.js:180)
        in ReportActionsList (at createOnyxContext.js:39)
        in withPersonalDetails(ReportActionsList) (at withWindowDimensions.js:92)
        in withWindowDimensions(withPersonalDetails(ReportActionsList)) (at withWindowDimensions.js:110)
        in Unknown (at withDrawerState.js:15)
        in withDrawerState(Component) (at withDrawerState.js:36)
        in Unknown (at ReportActionsView.js:358)
        in ReportActionsView (at createOnyxContext.js:39)
        in withNetwork(ReportActionsView) (at withLocalize.js:167)
        in withLocalize(withNetwork(ReportActionsView)) (at withDrawerState.js:15)
        in withDrawerState(withLocalize(withNetwork(ReportActionsView))) (at withDrawerState.js:36)
        in Unknown (at withWindowDimensions.js:92)
        in withWindowDimensions(Component) (at withWindowDimensions.js:110)
        in Unknown (at ReportScreen.js:248)
        in RCTView (at View.js:32)
        in View (at ReportScreen.js:236)
        in RCTView (at View.js:32)
        in View (at KeyboardAvoidingView.js:220)
        in LoginKeyboardAvoidingView (at BaseScreenWrapper.js:80)
        in RCTView (at View.js:32)
        in View (at BaseScreenWrapper.js:73)
        in BaseScreenWrapper (at createOnyxContext.js:39)
        in withNetwork(BaseScreenWrapper) (at withOnyx.js:173)
        in withOnyx(withNetwork(BaseScreenWrapper)) (at withOnyx.js:197)
        in Unknown (at withWindowDimensions.js:92)
        in withWindowDimensions(Component) (at withWindowDimensions.js:110)
        in Unknown (at withNavigation.js:14)
        in withNavigation(Component) (at withNavigation.js:35)
        in Unknown (at ScreenWrapper/index.android.js:6)
        in ScreenWrapper (at ReportScreen.js:227)
        in ReportScreen (at withOnyx.js:173)
        in withOnyx(ReportScreen) (at withOnyx.js:197)
        in Unknown (at createOnyxContext.js:39)
        in withNetwork(Component) (at SceneView.tsx:132)
        in StaticContainer
        in EnsureSingleNavigator (at SceneView.tsx:124)
        in SceneView (at useDescriptors.tsx:217)
        in RCTView (at View.js:32)
        in View (at Screen.tsx:63)
        in RCTView (at View.js:32)
        in View (at Background.tsx:13)
        in Background (at Screen.tsx:58)
        in Screen (at DrawerView.tsx:247)
        in RNSScreen (at createAnimatedComponent.js:211)
        in AnimatedComponent (at createAnimatedComponent.js:264)
        in AnimatedComponentWrapper (at src/index.native.tsx:257)
        in MaybeFreeze (at src/index.native.tsx:256)
        in Screen (at ScreenFallback.tsx:38)
        in MaybeScreen (at DrawerView.tsx:241)
        in RNSScreenContainer (at src/index.native.tsx:330)
        in ScreenContainer (at ScreenFallback.tsx:29)
        in MaybeScreenContainer (at DrawerView.tsx:206)
        in RCTView (at View.js:32)
        in View (at Drawer.tsx:566)
        in RCTView (at View.js:32)
        in View (at createAnimatedComponent.tsx:682)
        in AnimatedComponent(View) (at createAnimatedComponent.tsx:693)
        in Unknown (at Drawer.tsx:553)
        in RCTView (at View.js:32)
        in View (at createAnimatedComponent.tsx:682)
        in AnimatedComponent(View) (at createAnimatedComponent.tsx:693)
        in Unknown (at Drawer.tsx:541)
        in PanGestureHandler (at GestureHandlerNative.tsx:14)
        in PanGestureHandler (at Drawer.tsx:532)
        in DrawerView (at DrawerView.tsx:274)
        in DrawerViewBase (at DrawerView.tsx:318)
        in RNGestureHandlerRootView (at GestureHandlerRootView.android.tsx:23)
        in GestureHandlerRootView (at DrawerView.tsx:317)
        in RCTView (at View.js:32)
        in View (at SafeAreaProviderCompat.tsx:42)
        in SafeAreaProviderCompat (at DrawerView.tsx:316)
        in DrawerView (at createDrawerNavigator.tsx:126)
        in Unknown (at createDrawerNavigator.tsx:125)
        in DrawerNavigator (at BaseDrawerNavigator.js:65)
        in BaseDrawerNavigator (at withWindowDimensions.js:92)
        in withWindowDimensions(BaseDrawerNavigator) (at withWindowDimensions.js:110)
        in Unknown (at MainDrawerNavigator.js:70)
        in MainDrawerNavigator (at withOnyx.js:173)
        in withOnyx(MainDrawerNavigator) (at withOnyx.js:197)
        in Unknown (at SceneView.tsx:132)
        in StaticContainer
        in EnsureSingleNavigator (at SceneView.tsx:124)
        in SceneView (at useDescriptors.tsx:217)
        in RCTView (at View.js:32)
        in View (at CardContainer.tsx:281)
        in RCTView (at View.js:32)
        in View (at CardContainer.tsx:279)
        in RCTView (at View.js:32)
        in View (at CardSheet.tsx:33)
        in CardSheet (at Card.tsx:557)
        in RCTView (at View.js:32)
        in View (at createAnimatedComponent.js:211)
        in AnimatedComponent (at createAnimatedComponent.js:264)
        in AnimatedComponentWrapper (at Card.tsx:536)
        in PanGestureHandler (at GestureHandlerNative.tsx:14)
        in PanGestureHandler (at Card.tsx:530)
        in RCTView (at View.js:32)
        in View (at createAnimatedComponent.js:211)
        in AnimatedComponent (at createAnimatedComponent.js:264)
        in AnimatedComponentWrapper (at Card.tsx:526)
        in RCTView (at View.js:32)
        in View (at Card.tsx:520)
        in Card (at CardContainer.tsx:219)
        in CardContainer (at CardStack.tsx:661)
        in RNSScreen (at createAnimatedComponent.js:211)
        in AnimatedComponent (at createAnimatedComponent.js:264)
        in AnimatedComponentWrapper (at src/index.native.tsx:257)
        in MaybeFreeze (at src/index.native.tsx:256)
        in Screen (at Screens.tsx:37)
        in MaybeScreen (at CardStack.tsx:654)
        in RNSScreenContainer (at src/index.native.tsx:332)
        in ScreenContainer (at Screens.tsx:20)
        in MaybeScreenContainer (at CardStack.tsx:566)
        in RCTView (at View.js:32)
        in View (at Background.tsx:13)
        in Background (at CardStack.tsx:564)
        in CardStack (at StackView.tsx:437)
        in RCTView (at View.js:32)
        in View (at SafeAreaProviderCompat.tsx:42)
        in SafeAreaProviderCompat (at StackView.tsx:430)
        in RNGestureHandlerRootView (at GestureHandlerRootView.android.tsx:23)
        in GestureHandlerRootView (at StackView.tsx:429)
        in StackView (at createCustomModalStackNavigator.js:26)
        in CustomRootStackNavigator (at AuthScreens.js:179)
        in AuthScreens (at withOnyx.js:173)
        in withOnyx(AuthScreens) (at withOnyx.js:197)
        in Unknown (at withWindowDimensions.js:92)
        in withWindowDimensions(Component) (at withWindowDimensions.js:110)
        in Unknown (at AppNavigator/index.js:19)
        in AppNavigator (at NavigationRoot.js:79)
        in EnsureSingleNavigator (at BaseNavigationContainer.tsx:430)
        in BaseNavigationContainer (at NavigationContainer.tsx:132)
        in ThemeProvider (at NavigationContainer.tsx:131)
        in NavigationContainerInner (at NavigationRoot.js:63)
        in NavigationRoot (at Expensify.js:204)
        in Expensify (at withOnyx.js:173)
        in withOnyx(Expensify) (at withOnyx.js:197)
        in Unknown (at withLocalize.js:167)
        in withLocalize(Component) (at App.js:44)
        in BaseErrorBoundary (at App.js:43)
        in RenderersPropsProvider (at RenderHTMLConfigProvider.tsx:76)
        in ListStyleSpecsProvider (at RenderHTMLConfigProvider.tsx:75)
        in SharedPropsProvider (at RenderHTMLConfigProvider.tsx:74)
        in RenderRegistryProvider (at RenderHTMLConfigProvider.tsx:71)
        in RenderHTMLConfigProvider (at BaseHTMLEngineProvider.js:68)
        in TRenderEngineProvider (at BaseHTMLEngineProvider.js:60)
        in BaseHTMLEngineProvider (at HTMLEngineProvider/index.native.js:6)
        in HTMLEngineProvider (at ComposeProviders.js:16)
        in LocaleContextProvider (at withOnyx.js:173)
        in withOnyx(LocaleContextProvider) (at withOnyx.js:197)
        in withOnyx(LocaleContextProvider) (at ComposeProviders.js:16)
        in _default (at ComposeProviders.js:16)
        in RNCSafeAreaProvider (at SafeAreaContext.tsx:76)
        in SafeAreaProvider (at ComposeProviders.js:16)
        in CurrentDateProvider (at withOnyx.js:173)
        in withOnyx(CurrentDateProvider) (at withOnyx.js:197)
        in Unknown (at ComposeProviders.js:16)
        in ReportActionsDrafts_Provider (at withOnyx.js:173)
        in withOnyx(ReportActionsDrafts_Provider) (at withOnyx.js:197)
        in Unknown (at ComposeProviders.js:16)
        in PersonalDetailsProvider (at withOnyx.js:173)
        in withOnyx(PersonalDetailsProvider) (at withOnyx.js:197)
        in Unknown (at ComposeProviders.js:16)
        in NetworkProvider (at withOnyx.js:173)
        in withOnyx(NetworkProvider) (at withOnyx.js:197)
        in Unknown (at ComposeProviders.js:16)
        in ComposeProviders (at OnyxProvider.js:23)
        in OnyxProvider (at ComposeProviders.js:16)
        in ComposeProviders (at App.js:33)
        in RNGestureHandlerRootView (at GestureHandlerRootView.android.tsx:23)
        in GestureHandlerRootView (at App.js:32)
        in App (at renderApplication.js:50)
        in RCTView (at View.js:32)
        in View (at AppContainer.js:92)
        in RCTView (at View.js:32)
        in View (at AppContainer.js:119)
        in AppContainer (at renderApplication.js:43)
        in NewExpensify(RootComponent) (at renderApplication.js:60)
    
  4. melvin-bot commented on Sep 1, 2022

    @melvin-bot

    Looks like something related to react-navigation may have been mentioned in this issue discussion.

    As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our DeprecatedCustomActions.js files should not be accepted.

    Feel free to drop a note in #expensify-open-source with any questions.

  5. luacmartins commented on Sep 1, 2022

    @luacmartins
    Contributor

    Hmm I also reproduced the crash without the error above. So now I'm not sure what actually causes it.

  6. melvin-bot commented on Sep 1, 2022

    @melvin-bot

    ⚠️ Looks like this issue was linked to a Deploy Blocker here

    If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

    If a regression has occurred and you are the assigned CM follow the instructions here.

    If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

  7. removed their assignment
    on Sep 2, 2022
  8. chiragsalian commented on Sep 2, 2022

    @chiragsalian
    Contributor

    I havent been able to get android simulator working on my dev so i've requested for someone else to investigate the issue on slack #engg-chat.

  9. Beamanator commented on Sep 2, 2022

    @Beamanator
    Contributor

    Just tested on android simulator, wasn't able to reproduce - will try on android device in staging

  10. Beamanator commented on Sep 2, 2022

    @Beamanator
    Contributor

    Also couldn't reproduce on an actual device, android v1.1.96-3

  11. luacmartins commented on Sep 2, 2022

    @luacmartins
    Contributor

    I was able to reproduce this last night, but this is not the case anymore 🤔

  12. kbecciv commented on Sep 2, 2022

    @kbecciv
    Author

    @luacmartins Issue is not reproduced with build 1.1.96.5

    Screen_Recording_20220902-090317_New.Expensify.mp4
  13. self-assigned this
    on Sep 2, 2022
  14. luacmartins commented on Sep 2, 2022

    @luacmartins
    Contributor

    Thanks for confirming @kbecciv! Closing issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions