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 in download docs screen: lateinit property documentItemAdapter has not been initialized #3098

Closed
tuomas2 opened this issue Dec 9, 2023 · 0 comments

Comments

@tuomas2
Copy link
Contributor

tuomas2 commented Dec 9, 2023

https://support.andbible.org/scp/tickets.php?id=2297 (info below)
https://support.andbible.org/scp/tickets.php?id=2389
https://support.andbible.org/scp/tickets.php?id=2375
https://support.andbible.org/scp/tickets.php?id=2380

Device info:
Version: 5.0.762#9bdc35e58 googleplay standard release (built 16/11/23 10:21:03)
Android version: 8.1.0
Android SDK version: 27
Manufacturer: itel
Model: itel W5504
Storage Mb free: 2282
WebView version: 119.0.6045.163
SQLITE version: 3.42.0
Used heap memory in Mb: 4
Max heap memory in Mb: 128

Exception:
kotlin.UninitializedPropertyAccessException: lateinit property documentItemAdapter has not been initialized
at net.bible.android.view.activity.base.DocumentSelectionBase.getDocumentItemAdapter(DocumentSelectionBase.kt:123)
at net.bible.android.view.activity.base.DocumentSelectionBase$populateMasterDocumentList$2.invokeSuspend(DocumentSelectionBase.kt:385)
at net.bible.android.view.activity.base.DocumentSelectionBase$populateMasterDocumentList$2.invoke(DocumentSelectionBase.kt:0)
at net.bible.android.view.activity.base.DocumentSelectionBase$populateMasterDocumentList$2.invoke(DocumentSelectionBase.kt:0)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source:1)
at net.bible.android.view.activity.base.DocumentSelectionBase.populateMasterDocumentList(DocumentSelectionBase.kt:381)
at net.bible.android.view.activity.download.DownloadActivity.access$populateMasterDocumentList(DownloadActivity.kt:87)
at net.bible.android.view.activity.download.DownloadActivity$onCreate$4$1.invokeSuspend(DownloadActivity.kt:211)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:32)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:102)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTaskKt.resume(DispatchedTask.kt:256)
at kotlinx.coroutines.DispatchedTaskKt.resumeUnconfined(DispatchedTask.kt:191)
at kotlinx.coroutines.DispatchedTaskKt.dispatch(DispatchedTask.kt:163)
at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(CancellableContinuationImpl.kt:474)
at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl(CancellableContinuationImpl.kt:508)
at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl$default(CancellableContinuationImpl.kt:497)
at kotlinx.coroutines.CancellableContinuationImpl.resumeWith(CancellableContinuationImpl.kt:368)
at kotlinx.coroutines.AwaitAll$AwaitAllNode.invoke(Await.kt:121)
at kotlinx.coroutines.JobSupport.notifyCompletion(JobSupport.kt:370)
at kotlinx.coroutines.JobSupport.completeStateFinalization(JobSupport.kt:325)
at kotlinx.coroutines.JobSupport.finalizeFinishingState(JobSupport.kt:242)
at kotlinx.coroutines.JobSupport.tryMakeCompletingSlowPath(JobSupport.kt:910)
at kotlinx.coroutines.JobSupport.tryMakeCompleting(JobSupport.kt:867)
at kotlinx.coroutines.JobSupport.makeCompletingOnce$kotlinx_coroutines_core(JobSupport.kt:832)
at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:100)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6765)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:509)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@20f4722, Dispatchers.Main.immediate]

one-time occurrence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs triage
Status: Closed
Development

No branches or pull requests

1 participant