Ashinch / ReadYou

An Android RSS reader presented in Material You style.
GNU General Public License v3.0
5.13k stars 202 forks source link

Crashes and freezes when opening any link #849

Open Jearoh opened 1 month ago

Jearoh commented 1 month ago

1. Environment

2. Describe the bug

See title

Version: 0.10.1 Device: Google Pixel 6 Pro System: Android 14 (API 34)

Stack trace:

android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=https://bxblackrazor.blogspot.com/... pkg=android } at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2430) at android.app.Instrumentation.execStartActivity(Instrumentation.java:2005) at android.app.Activity.startActivityForResult(Activity.java:5840) at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.kt:2) at android.app.Activity.startActivityForResult(Activity.java:5798) at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.kt:1) at android.app.Activity.startActivity(Activity.java:6295) at android.app.Activity.startActivity(Activity.java:6262) at me.ash.reader.ui.ext.ContextExtKt.openURL(ContextExt.kt:505) at me.ash.reader.ui.page.home.reading.ContentKt$Content$2$1$2.invoke(Content.kt:2) at me.ash.reader.ui.page.home.reading.ContentKt$Content$2$1$2.invoke(Content.kt:1) at me.ash.reader.ui.component.reader.HtmlToComposableKt$formatBody$composer$1$1$1$1.invoke(HtmlToComposable.kt:4) at me.ash.reader.ui.component.reader.HtmlToComposableKt$formatBody$composer$1$1$1$1.invoke(HtmlToComposable.kt:1) at androidx.compose.foundation.text.ClickableTextKt$ClickableText$pressIndicator$1$1$1.invoke(ClickableText.kt:25) at androidx.compose.foundation.gestures.TapGestureDetectorKt$detectTapGestures$2$1.invokeSuspend(TapGestureDetector.kt:328) 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.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.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:3125) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2806) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3125) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2806) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3125) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2806) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3125) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2806) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3125) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2806) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3125) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2806) at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:496) at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1952) at android.app.Activity.dispatchTouchEvent(Activity.java:4510) at androidx.appcompat.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:3) at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:454) at android.view.View.dispatchPointerEvent(View.java:16548) at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:7559) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:7326) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6723) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6780) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6746) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:6912) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6754) at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:6969) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6727) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6780) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6746) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6754) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6727) at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:9827) at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:9778) at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:9747) at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:9969) at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:295) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:349) at android.os.Looper.loopOnce(Looper.java:189) at android.os.Looper.loop(Looper.java:317) at android.app.ActivityThread.main(ActivityThread.java:8592) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878) Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [androidx.compose.ui.platform.MotionDurationScaleImpl@4ec4b39, androidx.compose.runtime.BroadcastFrameClock@e9d957e, StandaloneCoroutine{Cancelling}@a193adf, AndroidUiDispatcher@428332c]