There is another thread about exactly the same problem:
It’s crashing for me on start, no matter what I do. I have even cleared all data and cache to no avail.
Apparently there are some more people having the same issue → How to recover all chats after DC reinstallation?
I have a Moto G41, Android 12 and I’m using DC from F-Droid.
The issue is tracked in the Android repository:
opened 03:42AM - 19 Aug 23 UTC
closed 01:23PM - 29 Aug 23 UTC
bug
build
blocker
- Android version: 13
- Device:
- Delta Chat version: 1.40.0
- Expected behav… ior:
- Actual behavior:
- Steps to reproduce the problem:
- Screenshots:
- Logs:
```
08-19 11:40:46.287 13481 13481 D CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10232; state: ENABLED
08-19 11:40:46.323 13481 13481 V GraphicsEnvironment: ANGLE Developer option for 'com.b44t.messenger' set to: 'default'
08-19 11:40:46.324 13481 13481 V GraphicsEnvironment: ANGLE GameManagerService for com.b44t.messenger: false
08-19 11:40:46.324 13481 13481 V GraphicsEnvironment: Updatable production driver is not supported on the device.
08-19 11:40:46.328 13481 13481 D NetworkSecurityConfig: No Network Security Config specified, using platform default
08-19 11:40:46.329 13481 13481 D NetworkSecurityConfig: No Network Security Config specified, using platform default
08-19 11:40:46.332 13481 13481 I MultiDex: VM with version 2.1.0 has multidex support
08-19 11:40:46.333 13481 13481 I MultiDex: Installing application
08-19 11:40:46.333 13481 13481 I MultiDex: VM has multidex support, MultiDex support library is disabled.
08-19 11:40:46.342 13481 13481 D WM-WrkMgrInitializer: Initializing WorkManager with default configuration.
08-19 11:40:46.369 13481 13481 I DeltaChat: ++++++++++++++++++ ApplicationContext.onCreate() ++++++++++++++++++
08-19 11:40:46.393 13481 13499 D CompatibilityChangeReporter: Compat change id reported: 160794467; UID 10232; state: ENABLED
08-19 11:40:46.402 13481 13510 I DeltaChat: shutting down event handler
--------- beginning of crash
08-19 11:40:46.407 13481 13511 E AndroidRuntime: FATAL EXCEPTION: jsonrpcThread
08-19 11:40:46.407 13481 13511 E AndroidRuntime: Process: com.b44t.messenger, PID: 13481
08-19 11:40:46.407 13481 13511 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'int com.b44t.messenger.rpc.Rpc$Response.id' on a null object reference in method 'void com.b44t.messenger.rpc.Rpc.processResponse()'
08-19 11:40:46.407 13481 13511 E AndroidRuntime: at com.b44t.messenger.rpc.Rpc.processResponse(Rpc.java:30)
08-19 11:40:46.407 13481 13511 E AndroidRuntime: at com.b44t.messenger.rpc.Rpc.lambda$start$0$com-b44t-messenger-rpc-Rpc(Rpc.java:52)
08-19 11:40:46.407 13481 13511 E AndroidRuntime: at com.b44t.messenger.rpc.Rpc$$ExternalSyntheticLambda0.run(Unknown Source:2)
08-19 11:40:46.407 13481 13511 E AndroidRuntime: at java.lang.Thread.run(Thread.java:1012)
08-19 11:40:46.414 13481 13511 I Process : Sending signal. PID: 13481 SIG: 9
```
<!--
Debug logs can be copied from within the Delta Chat app with
Settings menu -> Advanced -> View log
Alternatively from the Android system log:
`adb logcat -v time -s DeltaChat`
Logs may contain private data
which shall be removed or anonymised prior to posting.
-->
Report on the F-Droid forum: https://forum.f-droid.org/t/delta-chat-crashing-after-upgrade-to-1-40-0/23322
We have already released 1.40.1, but it takes a week or more for F-Droid to build and sign a release, currently 1.40.1 is built but releasing it is stuck on a signing phase for 40+ hours.
Reverting to any older version in f-droid does not help. All messages are gone.
How did you revert to a previous version? As far as I know it is not easily doable without uninstalling the app.
If you have removed the messages from the provider IMAP folder, don’t have a backup of the key and have reinstalled DC from scratch, then as far as I see there is no place where the messages are stored.
2 Likes