Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on Address book [version 1.3.8] #4605

Closed
Claire1817 opened this issue Dec 1, 2021 · 0 comments · Fixed by #4607
Closed

Crash on Address book [version 1.3.8] #4605

Claire1817 opened this issue Dec 1, 2021 · 0 comments · Fixed by #4607
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@Claire1817
Copy link
Contributor

Steps to reproduce

The crash appears when i want to create a new private conversation with a contact from my address book.
20211201_150705
.
In my address book i have some contacts with no display name like:
Screenshot_20211201-150334_Contacts

Stacktrace:

`2021-12-01 14:09:38.907 21242-21431/fr.gouv.rie.tchap E/VectorUncaughtExceptionHandler: FATAL EXCEPTION Element Build : 209934252
Element Version : 1.99.2_b [209934252] (F-5f9ae509-2021-11-25 20:08:56 +0100)
SDK Version : 1.3.8 (5f9ae50)
Phone : SM-G950U (G950USQS7DSL2 9 REL)
Memory statuses
usedSize 16 MB
freeSize 2 MB
totalSize 18 MB
Thread: DefaultDispatcher-worker-8, Exception: java.lang.NullPointerException: displayName must not be null
at im.vector.app.core.contacts.ContactsDataSource.getContacts(ContactsDataSource.kt:69)
at fr.gouv.tchap.features.home.contact.list.TchapContactListViewModel$handleLoadContacts$2.invokeSuspend(TchapContactListViewModel.kt:116)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

1
--------- beginning of crash
2021-12-01 14:09:38.910 21242-21431/fr.gouv.rie.tchap E/AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-8
Process: fr.gouv.rie.tchap, PID: 21242
java.lang.NullPointerException: displayName must not be null
at im.vector.app.core.contacts.ContactsDataSource.getContacts(ContactsDataSource.kt:69)
at fr.gouv.tchap.features.home.contact.list.TchapContactListViewModel$handleLoadContacts$2.invokeSuspend(TchapContactListViewModel.kt:116)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
2021-12-01 14:09:39.655 21242-21315/fr.gouv.rie.tchap E/DefaultSyncTask: Exception when executing request
2021-12-01 14:09:39.656 21242-21315/fr.gouv.rie.tchap E/SYNC/SyncTask: Incremental sync request error
kotlinx.coroutines.JobCancellationException: StandaloneCoroutine was cancelled; job=StandaloneCoroutine{Cancelling}@62b3222`

I don't have the crash on the version on the version 1.3.7 available in the Play Store.

Outcome

I can't access to my book address, maybe the contact with no display name could be ignored.

Your phone model

Samsung S8

Operating system version

Android 9

Application version and app store

Element 1.3.8

Homeserver

No response

Will you send logs?

No

@Claire1817 Claire1817 added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Dec 1, 2021
@RiotRobot RiotRobot added this to Incoming in Issue triage Dec 1, 2021
Issue triage automation moved this from Incoming to Closed Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant