android: crash when opening a (previously working) conversation
I have had jami installed from f-droid for a long time (>1year), and initially added some contacts. Nowadays it's at version 20220826-01 (says androids app-info), and with one of these contacts Jami reproducibly crashes as soon as I tap on them to go to the conversation. When they write me I do get a notification, from which I can quick-reply via the android notification, but that doesn't change the mentioned behaviour in the app itself.
Logcat from the crash:
09-04 13:24:45.321 6462 6462 W b : startConversation ffffffffffffffff eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeEEEEEEFF
09-04 13:24:45.321 6462 6462 W w1 : goToConversation ffffffffffffffff eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeEEEEEEFF
09-04 13:24:45.322 6462 6462 W HomeActivity: startConversation ConversationPath(accountId=ffffffffffffffff, conversationId=eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeEEEEEEFF)
09-04 13:24:45.325 719 2530 I ActivityTaskManager: START u0 {act=android.intent.action.VIEW dat=content://cx.ring/conversation/ffffffffffffffff/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeEEEEEE
FF cmp=cx.ring/.client.ConversationActivity} from uid 10178
09-04 13:24:45.329 370 370 I android.hardware.power-service-qti: Power setMode: 5 to: 1
09-04 13:24:45.344 719 2619 W ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (92061397)
09-04 13:24:45.437 6462 6462 W x : initPresenter ConversationPath(accountId=ffffffffffffffff, conversationId=eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeEEEEEEFF)
09-04 13:24:45.467 6462 6462 W g : init eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeEEEEEEFF ffffffffffffffff
09-04 13:24:45.468 6462 6542 D n1 : Loading conversation history: Account ID -> ffffffffffffffff, ConversationID -> 3
09-04 13:24:45.475 6462 6462 W x : bindService
09-04 13:24:45.480 6462 6462 W g : resume eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeEEEEEEFF
09-04 13:24:45.481 6462 6462 W x : handleShareIntent Intent { act=android.intent.action.VIEW dat=content://cx.ring/conversation/ffffffffffffffff/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
EEEEEEFF cmp=cx.ring/.client.ConversationActivity }
09-04 13:24:45.502 6462 6867 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
09-04 13:24:45.525 6462 6462 W g : setConversation 9
09-04 13:24:45.526 6462 6462 W g : initView eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeEEEEEEFF
09-04 13:24:45.527 719 1271 I ActivityTaskManager: Displayed cx.ring/.client.ConversationActivity: +201ms
09-04 13:24:45.558 6462 6462 W g : initContact eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeEEEEEEFF mode: Legacy
09-04 13:24:45.613 6462 6462 D z : updateDataset: list size=9
09-04 13:24:45.709 6462 6462 D AndroidRuntime: Shutting down VM
--------- beginning of crash
09-04 13:24:45.711 6462 6462 E AndroidRuntime: FATAL EXCEPTION: main
09-04 13:24:45.711 6462 6462 E AndroidRuntime: Process: cx.ring, PID: 6462
09-04 13:24:45.711 6462 6462 E AndroidRuntime: java.lang.ClassCastException: net.jami.model.ConversationHistory cannot be cast to v8.n
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at o4.z.l(SourceFile:39)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView$e.m(Unknown Source:0)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView$s.k(SourceFile:176)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView$s.e(Unknown Source:5)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at androidx.recyclerview.widget.LinearLayoutManager$c.c(SourceFile:8)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at androidx.recyclerview.widget.LinearLayoutManager.F1(SourceFile:1)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at androidx.recyclerview.widget.LinearLayoutManager.s1(SourceFile:12)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at androidx.recyclerview.widget.LinearLayoutManager.E0(SourceFile:105)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.s(SourceFile:14)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.q(SourceFile:15)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.onLayout(SourceFile:3)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.View.layout(View.java:22844)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6389)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1103)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.View.layout(View.java:22844)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6389)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.View.layout(View.java:22844)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6389)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1103)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.View.layout(View.java:22844)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6389)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.View.layout(View.java:22844)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6389)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1582)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.View.layout(View.java:22844)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6389)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.View.layout(View.java:22844)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6389)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1582)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.View.layout(View.java:22844)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6389)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at com.android.internal.policy.DecorView.onLayout(DecorView.java:784)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.View.layout(View.java:22844)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:6389)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:3475)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2943)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1948)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8177)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:972)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:796)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:731)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:957)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7664)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
09-04 13:24:45.711 6462 6462 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
09-04 13:24:45.715 719 18791 W ActivityTaskManager: Force finishing activity cx.ring/.client.ConversationActivity
09-04 13:24:45.716 719 6939 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
09-04 13:24:45.719 719 18791 W ActivityTaskManager: Force finishing activity cx.ring/.client.HomeActivity
09-04 13:24:45.725 6462 6462 I Process : Sending signal. PID: 6462 SIG: 9