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

In-app bug reporter crashes app if "allow logs" is disabled #1168

Closed
bbhtt opened this issue Aug 29, 2023 · 0 comments · Fixed by #1184
Closed

In-app bug reporter crashes app if "allow logs" is disabled #1168

bbhtt opened this issue Aug 29, 2023 · 0 comments · Fixed by #1184
Assignees
Labels
A-Rageshakes O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Tolerable Low/no impact on users T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@bbhtt
Copy link

bbhtt commented Aug 29, 2023

Steps to reproduce

  1. Open the in app bug report menu
  2. Disable allow logs, enable contact me
  3. Write something and hit send

Outcome

What did you expect?

The report should be sent

What happened instead?

Crash

08-29 17:44:40.696 17927 17927 E AndroidRuntime: FATAL EXCEPTION: main
08-29 17:44:40.696 17927 17927 E AndroidRuntime: Process: io.element.android.x, PID: 17927
08-29 17:44:40.696 17927 17927 E AndroidRuntime: java.lang.IllegalStateException: Couldn't upload any logs
08-29 17:44:40.696 17927 17927 E AndroidRuntime: 	at io.element.android.features.rageshake.impl.reporter.DefaultBugReporter$sendBugReport$2.invokeSuspend(SourceFile:1120)
08-29 17:44:40.696 17927 17927 E AndroidRuntime: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9)
08-29 17:44:40.696 17927 17927 E AndroidRuntime: 	at kotlinx.coroutines.DispatchedTask.run(SourceFile:116)
08-29 17:44:40.696 17927 17927 E AndroidRuntime: 	at com.google.android.gms.tasks.zzc.run(SourceFile:32)
08-29 17:44:40.696 17927 17927 E AndroidRuntime: 	at kotlinx.coroutines.scheduling.TaskImpl.run(SourceFile:3)
08-29 17:44:40.696 17927 17927 E AndroidRuntime: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:94)
08-29 17:44:40.696 17927 17927 E AndroidRuntime: 	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [CoroutineName(ElementX Scope), StandaloneCoroutine{Cancelling}@1a5707a, Dispatchers.Main]
08-29 17:44:40.697 17927 17927 D HprofFactory: Create HprofDebugEx
08-29 17:44:40.716 17927 17927 I Process : Sending signal. PID: 17927 SIG: 9

Your phone model

Nokia C3

Operating system version

Android 10

Application version and app store

0.1.5 (40001050)

Homeserver

matrix.org

Will you send logs?

Yes

I've sent the logs with this issue number in description

Are you willing to provide a PR?

No

@bbhtt bbhtt added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Aug 29, 2023
@julioromano julioromano added S-Tolerable Low/no impact on users O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience A-Rageshakes labels Aug 29, 2023
@jmartinesp jmartinesp self-assigned this Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rageshakes O-Frequent Affects or can be seen by most users regularly or impacts most users' first experience S-Tolerable Low/no impact on users T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants