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

InstallZip.getMimeType crashes #3324

Closed
tuomas2 opened this issue Oct 3, 2024 · 0 comments
Closed

InstallZip.getMimeType crashes #3324

tuomas2 opened this issue Oct 3, 2024 · 0 comments

Comments

@tuomas2
Copy link
Contributor

tuomas2 commented Oct 3, 2024

https://support.andbible.org/scp/tickets.php?id=2706

--- PLEASE WRITE YOUR FEEDBACK OR BUG REPORT ABOVE THIS LINE ---

Instructions:
Tell us briefly what did you do / what happened when issue took place.

For example:
  1. Opened app
  2. Clicked window menu
  -> Crash
 
Please use this function to report as soon as you have noticed issue taking place. You can also use this function after opening app, after crash has taken place.

Attachments:
  - logcat.txt.gz: Log file produced by this app. It does not contain information about any other apps.
  - screenshot.webp: Screenshot of app when crash took place, or when bug report was created.

Having these files attached helps app developers a lot in fixing the reported bug. Sometimes manually taken screenshots also are beneficial in resolving issues.

Device info:
App id: net.bible.android.activity
Version: 5.0.831#2f3b3f932 fdroid standard release (built 09/09/24 00:25:49)
Android version: 13
Android SDK version: 33
Manufacturer: UNPLUGGED Technologies Ltd.
Model: UP01
Storage Mb free: 148324
WebView version: 101.0.4951.61
SQLITE version: 3.42.0
Used heap memory in Mb: 3
Max heap memory in Mb: 384

Exception:
android.database.CursorIndexOutOfBoundsException: Index 0 requested, with a size of 0
at android.database.AbstractCursor.checkPosition(AbstractCursor.java:521)
at android.database.AbstractWindowedCursor.checkPosition(AbstractWindowedCursor.java:139)
at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:53)
at android.database.CursorWrapper.getString(CursorWrapper.java:141)
at net.bible.android.view.activity.installzip.InstallZip.getMimeType(InstallZip.kt:441)
at net.bible.android.view.activity.installzip.InstallZip.access$getMimeType(InstallZip.kt:305)
at net.bible.android.view.activity.installzip.InstallZip$onCreate$1.invokeSuspend(InstallZip.kt:318)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.internal.DispatchedContinuationKt.resumeCancellableWith(DispatchedContinuation.kt:252)
at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable(Cancellable.kt:26)
at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable$default(Cancellable.kt:21)
at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:88)
at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:123)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:52)
at kotlinx.coroutines.BuildersKt.launch(Unknown Source:1)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:43)
at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source:1)
at net.bible.android.view.activity.installzip.InstallZip.onCreate(InstallZip.kt:314)
at android.app.Activity.performCreate(Activity.java:8290)
at android.app.Activity.performCreate(Activity.java:8269)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3693)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3849)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2341)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7937)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:569)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1019)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@eef3c29, Dispatchers.Main.immediate]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Closed
Development

No branches or pull requests

1 participant