-
-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Labels
bugSomething is not workingSomething is not working
Description
user reports that after phone battery drained, the app is now constantly crashing even after upgrading to more recent versions, this crash report is from 3.36.0:
java.lang.NullPointerException: Attempt to read from field 'int
com.b44t.messenger.rpc.Rpc$[Response.id](https://response.id/)' on a null object reference
at com.b44t.messenger.rpc.Rpc.processResponse(SourceFile:90)
at com.b44t.messenger.rpc.Rpc.lambda$start$0(Unknown Source)
at com.b44t.messenger.rpc.Rpc.a(SourceFile:1)
at [a6.h0.run](https://a6.h0.run/)(SourceFile:291)
at [java.lang.Thread.run](https://java.lang.thread.run/)([Thread.java:923](https://thread.java:923/))
it seems to be caused by createAccountsCPtr failing and then the RPC is returning null response
instead of failing completely and losing access to all your accounts (and no access to the log etc.) and crashing the app, it is better to just log an error event and skip that account from the account manager, the account will then no be returned in DcAccounts.getAll() and user will still be able to use and backup the other accounts and to get the log and see the actual error/problem with the corrupt account/db
Metadata
Metadata
Assignees
Labels
bugSomething is not workingSomething is not working