Skip to content

In the starred messages view, new starred message events crash the app #5895

@PIG208

Description

@PIG208

To reproduce:

  1. Go to the starred messages view on the mobile app
  2. Log into the same account on another device
  3. Star an old message

I haven't yet diagnosed the cause of the crash, but looking at the error message, it is likely that the client relies on the assumption that a starred message is known to the app. This is not the case when that message is ancient and hasn't been fetched before.

Error Details
Error: getFetchedMessagesForNarrow: message with id is missing in getMessages(state)
The error may be correlated with this previous error:
index.android.bundle:1881:1699
map@[native code]
index.android.bundle:1881:1544
[email protected]:1158:886
index.android.bundle:1157:1038
[email protected]:1158:886
index.android.bundle:1157:1004
[email protected]:1158:886
index.android.bundle:1157:1004
[email protected]:1158:886
index.android.bundle:2469:4330
[email protected]:1153:1076
[email protected]:1122:149
index.android.bundle:1122:347
[email protected]:1122:309
[email protected]:1122:724
notifyNestedSubs@[native code]
[email protected]:1126:3030
[email protected]:1122:149
index.android.bundle:1122:347
[email protected]:81:93155
[email protected]:81:12945
[email protected]:1122:309
[email protected]:1122:724
[email protected]:1122:149
[email protected]:2692:1608
index.android.bundle:2638:366
[email protected]:2013:4962
index.android.bundle:2013:6131
[email protected]:107:746
index.android.bundle:107:2101
[email protected]:107:746
[email protected]:107:1233
index.android.bundle:107:1389
index.android.bundle:101:618
index.android.bundle:101:645
index.android.bundle:110:1748
[email protected]:110:496
[email protected]:110:886
[email protected]:110:3148
[email protected]:61:2874
index.android.bundle:61:965
[email protected]:61:2510
[email protected]:61:923
value@[native code]
value@[native code]



Component Stack:

    in Unknown
    in Unknown
    in Connect(Component)
    in Unknown
    in Unknown
    in Unknown
    in RCTView
    in Unknown
    in RCTView
    in Unknown
    in RCTView
    in Unknown
    in Unknown
    in RCTView
    in Unknown
    in u
    in Unknown
    in PanGestureHandler
    in Unknown
    in RCTView
    in Unknown
    in u
    in Unknown
    in RCTView
    in Unknown
    in o
    in Unknown
    in RNSScreen
    in u
    in Unknown
    in n
    in Suspense
    in Unknown
    in _
    in r
    in a
    in Unknown
    in RNSScreenContainer
    in ScreenContainer
    in Unknown
    in n
    in o
    in Unknown
    in RNGestureHandlerRootView
    in Unknown
    in s
    in Unknown
    in Unknown
    in Unknown
    in Unknown
    in Unknown
    in Unknown
    in Unknown
    in RCTView
    in Unknown
    in RCTView
    in UnknownError: getFetchedMessagesForNarrow: message with id is missing in getMessages(state)
The error may be correlated with this previous error:
index.android.bundle:1881:1699
map@[native code]
index.android.bundle:1881:1544
[email protected]:1158:886
index.android.bundle:1157:1038
[email protected]:1158:886
index.android.bundle:1157:1004
[email protected]:1158:886
index.android.bundle:1157:1004
[email protected]:1158:886
index.android.bundle:2469:4330
[email protected]:1153:1076
[email protected]:1122:149
index.android.bundle:1122:347
[email protected]:1122:309
[email protected]:1122:724
notifyNestedSubs@[native code]
[email protected]:1126:3030
[email protected]:1122:149
index.android.bundle:1122:347
[email protected]:81:93155
[email protected]:81:12945
[email protected]:1122:309
[email protected]:1122:724
[email protected]:1122:149
[email protected]:2692:1608
index.android.bundle:2638:366
[email protected]:2013:4962
index.android.bundle:2013:6131
[email protected]:107:746
index.android.bundle:107:2101
[email protected]:107:746
[email protected]:107:1233
index.android.bundle:107:1389
index.android.bundle:101:618
index.android.bundle:101:645
index.android.bundle:110:1748
[email protected]:110:496
[email protected]:110:886
[email protected]:110:3148
[email protected]:61:2874
index.android.bundle:61:965
[email protected]:61:2510
[email protected]:61:923
value@[native code]
value@[native code]



Component Stack:

    in Unknown
    in Unknown
    in Connect(Component)
    in Unknown
    in Unknown
    in Unknown
    in RCTView
    in Unknown
    in RCTView
    in Unknown
    in RCTView
    in Unknown
    in Unknown
    in RCTView
    in Unknown
    in u
    in Unknown
    in PanGestureHandler
    in Unknown
    in RCTView
    in Unknown
    in u
    in Unknown
    in RCTView
    in Unknown
    in o
    in Unknown
    in RNSScreen
    in u
    in Unknown
    in n
    in Suspense
    in Unknown
    in _
    in r
    in a
    in Unknown
    in RNSScreenContainer
    in ScreenContainer
    in Unknown
    in n
    in o
    in Unknown
    in RNGestureHandlerRootView
    in Unknown
    in s
    in Unknown
    in Unknown
    in Unknown
    in Unknown
    in Unknown
    in Unknown
    in Unknown
    in RCTView
    in Unknown
    in RCTView
    in Unknown
    in u
    in c
    in RCTView
    in Unknown
    in RCTView
    in Unknown
    in Unknown
    in Unknown
    in l
    in IntlProvider
    in Unknown
    in RCTView
    in Unknown
    in r
    in Connect(r)
    in Unknown
    in RNCSafeAreaProvider
    in Unknown
    in Unknown
    in n
    in Unknown
    in r
    in r
    in Unknown
    in RCTView
    in Unknown
    in RCTView
    in Unknown
    in n

Call Stack:

index.android.bundle:1881:1699
map@[native code]
index.android.bundle:1881:1544
[email protected]:1158:886
index.android.bundle:1157:1038
[email protected]:1158:886
index.android.bundle:1157:1004
[email protected]:1158:886
index.android.bundle:1157:1004
[email protected]:1158:886
index.android.bundle:2469:4330
index.android.bundle:1153:645
index.android.bundle:1153:1249
index.android.bundle:1117:530
[email protected]:2469:4271
index.android.bundle:2469:488
[email protected]:81:41156
[email protected]:81:52479
[email protected]:81:78041
[email protected]:81:77943
[email protected]:81:77708
[email protected]:81:74696
Sa@[native code]
[email protected]:81:25302
[email protected]:81:93216
[email protected]:81:12945
[email protected]:1122:309
[email protected]:1122:724
[email protected]:1122:149
[email protected]:2692:1608
index.android.bundle:2638:366
[email protected]:2013:4962
index.android.bundle:2013:6131
[email protected]:107:746
index.android.bundle:107:2101
[email protected]:107:746
[email protected]:107:1233
index.android.bundle:107:1389
index.android.bundle:101:618
index.android.bundle:101:645
index.android.bundle:110:1748
[email protected]:110:496
[email protected]:110:886
[email protected]:110:3148
[email protected]:61:2874
index.android.bundle:61:965
[email protected]:61:2510
[email protected]:61:923
value@[native code]
value@[native code]
    in u
    in c
    in RCTView
    in Unknown
    in RCTView
    in Unknown
    in Unknown
    in Unknown
    in l
    in IntlProvider
    in Unknown
    in RCTView
    in Unknown
    in r
    in Connect(r)
    in Unknown
    in RNCSafeAreaProvider
    in Unknown
    in Unknown
    in n
    in Unknown
    in r
    in r
    in Unknown
    in RCTView
    in Unknown
    in RCTView
    in Unknown
    in n

Call Stack:

index.android.bundle:1881:1699
map@[native code]
index.android.bundle:1881:1544
[email protected]:1158:886
index.android.bundle:1157:1038
[email protected]:1158:886
index.android.bundle:1157:1004
[email protected]:1158:886
index.android.bundle:1157:1004
[email protected]:1158:886
index.android.bundle:2469:4330
index.android.bundle:1153:645
index.android.bundle:1153:1249
index.android.bundle:1117:530
[email protected]:2469:4271
index.android.bundle:2469:488
[email protected]:81:41156
[email protected]:81:52479
[email protected]:81:78041
[email protected]:81:77943
[email protected]:81:77708
[email protected]:81:74696
Sa@[native code]
[email protected]:81:25302
[email protected]:81:93216
[email protected]:81:12945
[email protected]:1122:309
[email protected]:1122:724
[email protected]:1122:149
[email protected]:2692:1608
index.android.bundle:2638:366
[email protected]:2013:4962
index.android.bundle:2013:6131
[email protected]:107:746
index.android.bundle:107:2101
[email protected]:107:746
[email protected]:107:1233
index.android.bundle:107:1389
index.android.bundle:101:618
index.android.bundle:101:645
index.android.bundle:110:1748
[email protected]:110:496
[email protected]:110:886
[email protected]:110:3148
[email protected]:61:2874
index.android.bundle:61:965
[email protected]:61:2510
[email protected]:61:923
value@[native code]
value@[native code]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions