ReadYouApp / ReadYouApp/ReadYou

Bug Report他

Open
#776 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Version: 0.10.1
Device: Xiaomi 23049RAD8C
System: Android 14 (API 34)

Stack trace:

android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat= }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2248)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1883)
at android.app.Activity.startActivityForResult(Activity.java:5615)
at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.kt:2)
at android.app.Activity.startActivityForResult(Activity.java:5573)
at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.kt:1)
at android.app.Activity.startActivity(Activity.java:6071)
at android.app.Activity.startActivity(Activity.java:6038)
at me.ash.reader.ui.ext.ContextExtKt.openURL(ContextExt.kt:505)
at me.ash.reader.ui.page.home.reading.MetadataKt$Metadata$1.invoke(Metadata.kt:2)
at me.ash.reader.ui.page.home.reading.MetadataKt$Metadata$1.invoke(Metadata.kt:1)
at androidx.compose.foundation.ClickablePointerInputNode$pointerInput$3.invoke(Clickable.kt:13)
at androidx.compose.foundation.gestures.TapGestureDetectorKt$detectTapAndPress$2$1.invokeSuspend(TapGestureDetector.kt:133)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
at kotlinx.coroutines.DispatchedTaskKt.resume(DispatchedTask.kt:81)
at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(CancellableContinuationImpl.kt:100)
at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl(CancellableContinuationImpl.kt:33)
at kotlinx.coroutines.CancellableContinuationImpl.resumeWith(CancellableContinuationImpl.kt:17)
at androidx.compose.ui.input.pointer.SuspendingPointerInputModifierNodeImpl.dispatchPointerEvent(SuspendingPointerInputFilter.kt:51)
at androidx.compose.ui.input.pointer.SuspendingPointerInputModifierNodeImpl.onPointerEvent-H0pRuoY(SuspendingPointerInputFilter.kt:32)
at androidx.compose.foundation.AbstractClickablePointerInputNode.onPointerEvent-H0pRuoY(Clickable.kt:3)
at androidx.compose.foundation.AbstractClickableNode.onPointerEvent-H0pRuoY(Clickable.kt:5)
at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(HitPathTracker.kt:169)
at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(HitPathTracker.kt:146)
at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(HitPathTracker.kt:146)
at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(HitPathTracker.kt:146)
at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(HitPathTracker.kt:146)
at androidx.compose.ui.input.pointer.HitPathTracker.dispatchChanges(HitPathTracker.kt:30)
at androidx.compose.ui.input.pointer.PointerInputEventProcessor.process-BIzXfog(PointerInputEventProcessor.kt:124)
at androidx.compose.ui.platform.AndroidComposeView.sendMotionEvent-8iAsVTc(AndroidComposeView.android.kt:79)
at androidx.compose.ui.platform.AndroidComposeView.handleMotionEvent-8iAsVTc(AndroidComposeView.android.kt:214)
at androidx.compose.ui.platform.AndroidComposeView.dispatchTouchEvent(AndroidComposeView.android.kt:76)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3123)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2804)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3123)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2804)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3123)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2804)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3123)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2804)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3123)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2804)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3123)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2804)
at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:490)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1905)
at android.app.Activity.dispatchTouchEvent(Activity.java:4403)
at androidx.appcompat.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:3)
at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:448)
at android.view.View.dispatchPointerEvent(View.java:15930)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:7263)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:7050)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6453)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6510)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6476)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:6641)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6484)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:6698)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6457)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6510)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6476)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6484)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6457)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:9464)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:9415)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:9379)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:9590)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:267)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:335)
at android.os.Looper.loopOnce(Looper.java:162)
at android.os.Looper.loop(Looper.java:294)
at android.app.ActivityThread.main(ActivityThread.java:8294)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:884)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@14e3f6d, androidx.compose.runtime.BroadcastFrameClock@f267a2, StandaloneCoroutine{Cancelling}@c15ac33, AndroidUiDispatcher@2240bf0]

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 ContextExt.kt at openURL, identified at line 505 in the stack trace, and follow the call from Metadata.kt when a metadata item is tapped. Reproduce the failure on Android 14 with the reported version and an empty URL, then verify that tapping the affected item no longer raises ActivityNotFoundException.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.