# Deltachat crashes after 1.40 update

**URL:** <https://forum.delta.chat/t/deltachat-crashes-after-1-40-update/2697>\
**Category:** Mutual Help\
**Created:** [August 25, 2023, 7:15pm UTC](https://forum.delta.chat/t/deltachat-crashes-after-1-40-update/2697 "2023-08-25T19:15:01Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![pproj](https://forum.delta.chat/letter_avatar_proxy/v4/letter/p/e495f1/32.png) [@pproj](https://forum.delta.chat/u/pproj)\
**Post date:** [August 25, 2023, 7:15pm UTC](https://forum.delta.chat/t/deltachat-crashes-after-1-40-update/2697/1 "2023-08-25T19:15:02Z")

</div>

Hi, deltachat is a center form all my communications: phone numbers, notes, information, notes, messages… I have upgraded via f-droid. The installation kept failing(i assume beacause there was to little free space on the phone. I have Fred up half a gig. installation worked. Now instant crash on every start. Reverting to any older version in f-droid does not help. All messages are gone. I regularlyclean my providers imap server.  
how is it possible?why? How to get them back? Anybody an idea? Thanks in advance.  
please do not advise to use backupa next time. deltachat cannot backup to sd card. And there is not enough storage to keep this huge file on the same stoeaage device next to deltachat. So backup failed, when i tried to do it regularly

---

<div class="post-metadata">

**Author:** ![link2xt](https://forum.delta.chat/user_avatar/forum.delta.chat/link2xt/32/1971_2.png) [@link2xt](https://forum.delta.chat/u/link2xt)\
**Post date:** [August 25, 2023, 7:21pm UTC](https://forum.delta.chat/t/deltachat-crashes-after-1-40-update/2697/2 "2023-08-25T19:21:19Z")

</div>

There is another thread about exactly the same problem:

> [@Is anyone else experiencing problems with version 1.40 in Android?](https://support.delta.chat/t/is-anyone-else-experiencing-problems-with-version-1-40-in-android/2689):
>
> 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?](https://support.delta.chat/t/how-to-recover-all-chats-after-dc-reinstallation/2686) I have a Moto G41, Android 12 and I’m using DC from F-Droid.

The issue is tracked in the Android repository:

> <https://github.com/deltachat/deltachat-android/issues/2639>
>
> \- 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.

> [@pproj](#):
>
> How to get them back? Anybody an idea? Thanks in advance.

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.

---

<div class="post-metadata">

**Author:** ![link2xt](https://forum.delta.chat/user_avatar/forum.delta.chat/link2xt/32/1971_2.png) [@link2xt](https://forum.delta.chat/u/link2xt)\
**Post date:** [August 25, 2023, 7:32pm UTC](https://forum.delta.chat/t/deltachat-crashes-after-1-40-update/2697/3 "2023-08-25T19:32:14Z")

</div>

If you still have version 1.40.0 installed, do not uninstall it and wait until 1.40.1. Then make a backup by setting up a second device, e.g. your laptop, backup transfer to a second device does not require storing the whole copy on your phone.

---

<div class="post-metadata">

**Author:** ![pproj](https://forum.delta.chat/letter_avatar_proxy/v4/letter/p/e495f1/32.png) [@pproj](https://forum.delta.chat/u/pproj)\
**Post date:** [August 25, 2023, 7:35pm UTC](https://forum.delta.chat/t/deltachat-crashes-after-1-40-update/2697/4 "2023-08-25T19:35:31Z")

</div>

Hey! First of al, huge thank you for trying to help. I apprciate it a lot ! I just have realized i did not downgrade deltachat, all downgrades from f-droid fail with “unknown error occured during installation”  
so the DC data is hopefully still in place. I have only cleaned the cache  
do you think it will help me if i i download and install the .apk straight from [delta.chat](http://delta.chat) site? will it keep thw data? which one apk to install. The .debug or the other?  
real deep thanks in advance,  
peter

---

<div class="post-metadata">

**Author:** ![link2xt](https://forum.delta.chat/user_avatar/forum.delta.chat/link2xt/32/1971_2.png) [@link2xt](https://forum.delta.chat/u/link2xt)\
**Post date:** [August 25, 2023, 7:39pm UTC](https://forum.delta.chat/t/deltachat-crashes-after-1-40-update/2697/5 "2023-08-25T19:39:53Z")

</div>

> [@pproj](#):
>
> do you think it will help me if i i download and install the .apk straight from [delta.chat](http://delta.chat) site?

This will not help because these .apk files are signed by Delta Chat developers and F-Droid releases are signed by F-Droid maintainers. It is generally impossible to overwrite one release with another. If you install an .apk from the [delta.chat](http://delta.chat) website you will simply have two copies of Delta Chat installed.

The safest thing to do is to keep 1.40.0 installed and wait until F-Droid release 1.40.1. A release is already built, the only remaining part is for some F-Droid maintainer to bring it to the signing machine and then publish a signed release, unfortunately it takes longer than expected.

---

<div class="post-metadata">

**Author:** ![pproj](https://forum.delta.chat/letter_avatar_proxy/v4/letter/p/e495f1/32.png) [@pproj](https://forum.delta.chat/u/pproj)\
**Post date:** [August 25, 2023, 7:53pm UTC](https://forum.delta.chat/t/deltachat-crashes-after-1-40-update/2697/6 "2023-08-25T19:53:14Z")

</div>

Hey thanks again. It makes sense. Will have to live for a week withoit all information. Some is on the imap still. Sounds doable.  
A connected questiin. In case you know:

 ![Screenshot_20230825-214600_Delta_Chat](https://support.delta.chat/uploads/default/original/2X/c/c4eb1460f6e797508c1f79d3605271d5df4d3c72.png)

When i statt deltachat i get this screen i have attached.the welcomte to deltachat and the crash/restart prompt over it. Does it mean that f-droid somehow managed to install an older version and all is data is gone or is it usual for the broken 1.40 version to show this? What do you think?

---

<div class="post-metadata">

**Author:** ![link2xt](https://forum.delta.chat/user_avatar/forum.delta.chat/link2xt/32/1971_2.png) [@link2xt](https://forum.delta.chat/u/link2xt)\
**Post date:** [August 25, 2023, 7:54pm UTC](https://forum.delta.chat/t/deltachat-crashes-after-1-40-update/2697/7 "2023-08-25T19:54:59Z")

</div>

It looks like a broken version 1.40.0 shows the welcome screen and then crashes immediately afterwards. Downgraded version would not crash like this.

---

<div class="post-metadata">

**Author:** ![pproj](https://forum.delta.chat/letter_avatar_proxy/v4/letter/p/e495f1/32.png) [@pproj](https://forum.delta.chat/u/pproj)\
**Post date:** [August 25, 2023, 8:02pm UTC](https://forum.delta.chat/t/deltachat-crashes-after-1-40-update/2697/8 "2023-08-25T20:02:22Z")

</div>

Sounds good. Thank you again

---

<div class="post-metadata">

**Author:** ![Hans1](https://forum.delta.chat/letter_avatar_proxy/v4/letter/h/e68b1a/32.png) [@Hans1](https://forum.delta.chat/u/Hans1)\
**Post date:** [August 31, 2023, 1:29pm UTC](https://forum.delta.chat/t/deltachat-crashes-after-1-40-update/2697/9 "2023-08-31T13:29:12Z")

</div>

Um die emails zurückzubekommen:  
Den email-Server-Provider kontaktieren.  
Die machen im Allgemeinen tägliche Backups

---

<div class="post-metadata">

**Author:** ![link2xt](https://forum.delta.chat/user_avatar/forum.delta.chat/link2xt/32/1971_2.png) [@link2xt](https://forum.delta.chat/u/link2xt)\
**Post date:** [September 1, 2023, 11:23am UTC](https://forum.delta.chat/t/deltachat-crashes-after-1-40-update/2697/10 "2023-09-01T11:23:15Z")

</div>

1.40.1 is now available on F-Droid and some users have already reported that everything works without any data loss after upgrading 1.40.0 to 1.40.1.

---

<div class="post-metadata">

**Author:** ![r10s](https://forum.delta.chat/user_avatar/forum.delta.chat/r10s/32/1513_2.png) [@r10s](https://forum.delta.chat/u/r10s)\
**Post date:** [October 6, 2026, 3:11pm UTC](https://forum.delta.chat/t/deltachat-crashes-after-1-40-update/2697/11 "2026-10-06T15:11:21Z")

</div>


