ReadYouApp / ReadYouApp/ReadYou

Unexpected crash when opening the app on nubia flip

Open
#1,256 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug untriaged
Dominant language
Kotlin
Stars
7.5k
Forks
330
PR merge metrics
No merged PRs in 30d

Description

Checklist
  • I've already searched in existing issues and haven't found a similar problem reported.
  • I'm using the latest version of the app
  • This error caused the app to crash
  • This error is reproducible
Which category best fits this error?

User Interface

App version

0.16.1

Reproduction steps

I don't know what happened I opened the app and got this message, then reopened it and default feed was gone (I use it for everything so it was the only one). Unfortunately i didn't screenshot it but went to the settings and stopped the app, then cleared app cache (but not app data) and it was gone. I used this app a lot on my nubia flip for the past 6 months, it's the only time I saw it so i don't know what caused it or how to reproduce it, maybe this log would help?

Crash report
Version: 0.16.1
Device: ZTE NX724J
System: Android 14 (API 34)

Stack trace: 

.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object kotlinx.coroutines.flow.Flow.collect(kotlinx.coroutines.flow.FlowCollector, kotlin.coroutines.Continuation)' on a null object reference
	at kotlinx.coroutines.flow.internal.CombineKt$combineInternal$2$1.invokeSuspend(Combine.kt:45)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:112)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:8)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:3)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:93)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@c42dfba, Dispatchers.Default]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the supplied crash report, especially the NullPointerException at kotlinx.coroutines Combine.kt:45, and review the reproduction details for Android 14 on the ZTE NX724J. Try to reproduce the crash and investigate the reported loss of the default feed; the issue is done when opening the app no longer crashes and the default feed remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.