android.content.ActivityNotFoundException #32

Open
opened 2025-04-21 14:44:52 -04:00 by idk · 8 comments
Owner

Opened 2 years ago

Last modified 19 months ago

#2484newdefect

android.content.ActivityNotFoundException

Reported by:MeehOwned by:Meeh
Priority:
minor
Milestone:
undecided
Component:
apps/android
Version:
0.9.39
Keywords:

Cc:
idk
Parent Tickets:

Sensitive:
no

Description (last modified by Meeh)

Has happended 4x times last 30 days and is new in last release.

android.content.ActivityNotFoundException:
at android.app.Instrumentation.checkStartActivityResult (Instrumentation.java:1659)
at android.app.Instrumentation.execStartActivity (Instrumentation.java:1434)
at android.app.Activity.startActivityForResult (Activity.java:3434)
at android.support.v4.app.FragmentActivity.startActivityForResult (FragmentActivity.java:767)
at android.app.Activity.startActivityForResult (Activity.java:3395)
at android.support.v4.app.FragmentActivity.startActivityForResult (FragmentActivity.java:754)
at android.app.Activity.startActivity (Activity.java:3630)
at android.app.Activity.startActivity (Activity.java:3598)
at android.content.ContextWrapper.startActivity (ContextWrapper.java:291)
at android.text.style.URLSpan.onClick (URLSpan.java:62)
at android.text.method.LinkMovementMethod.onTouchEvent (LinkMovementMethod.java:212)
at android.widget.TextView.onTouchEvent (TextView.java:8622)
at android.view.View.dispatchTouchEvent (View.java:7677)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2401)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2134)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2401)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2134)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2401)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2134)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2401)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2134)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2401)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2134)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2401)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2134)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2401)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2134)
at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2401)
at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2134)
at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent (PhoneWindow.java:2305)
at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent (PhoneWindow.java:1575)
at android.app.Activity.dispatchTouchEvent (Activity.java:2470)
at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent (WindowCallbackWrapper.java:69)
at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent (WindowCallbackWrapper.java:69)
at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent (PhoneWindow.java:2253)
at android.view.View.dispatchPointerEvent (View.java:7875)
at android.view.ViewRootImpl.deliverPointerEvent (ViewRootImpl.java:3976)
at android.view.ViewRootImpl.deliverInputEvent (ViewRootImpl.java:3860)
at android.view.ViewRootImpl.doProcessInputEvents (ViewRootImpl.java:5103)
at android.view.ViewRootImpl.enqueueInputEvent (ViewRootImpl.java:5082)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent (ViewRootImpl.java:5181)
at android.view.InputEventReceiver.dispatchInputEvent (InputEventReceiver.java:185)
at android.os.MessageQueue.nativePollOnce (Native Method)
at android.os.MessageQueue.next (MessageQueue.java:125)
at android.os.Looper.loop (Looper.java:138)
at android.app.ActivityThread.main (ActivityThread.java:5317)
at java.lang.reflect.Method.invokeNative (Native Method)
at java.lang.reflect.Method.invoke (Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:869)
at dalvik.system.NativeStart.main (Native Method)

Subtickets

Opened [2 years ago](/timeline?from=2019-04-29T12%3A07%3A48Z&precision=second "See timeline at Apr 29, 2019 12:07:48 PM") Last modified [19 months ago](/timeline?from=2019-10-11T16%3A59%3A22Z&precision=second "See timeline at Oct 11, 2019 4:59:22 PM") ## [\#2484](/ticket/2484)[new](/query?status=new)[defect](/query?status=!closed&type=defect) # android.content.ActivityNotFoundException Reported by:[Meeh](/query?status=!closed&reporter=meeh)Owned by:[Meeh](/query?status=!closed&owner=meeh) Priority: [minor](/query?status=!closed&priority=minor) Milestone: [undecided](/milestone/undecided "No date set") Component: [apps/android](/query?status=!closed&component=apps%2Fandroid) Version: [0.9.39](/query?status=!closed&version=0.9.39) Keywords: Cc: [idk](/query?status=!closed&cc=~eyedeekay) Parent Tickets: Sensitive: [no](/query?status=!closed&sensitive=0) ### Description [(last modified by Meeh)](/ticket/2484?action=diff&version=2 "2019-04-30 19:06:52.622331+00:00") Has happended 4x times last 30 days and is new in last release. ``` android.content.ActivityNotFoundException: at android.app.Instrumentation.checkStartActivityResult (Instrumentation.java:1659) at android.app.Instrumentation.execStartActivity (Instrumentation.java:1434) at android.app.Activity.startActivityForResult (Activity.java:3434) at android.support.v4.app.FragmentActivity.startActivityForResult (FragmentActivity.java:767) at android.app.Activity.startActivityForResult (Activity.java:3395) at android.support.v4.app.FragmentActivity.startActivityForResult (FragmentActivity.java:754) at android.app.Activity.startActivity (Activity.java:3630) at android.app.Activity.startActivity (Activity.java:3598) at android.content.ContextWrapper.startActivity (ContextWrapper.java:291) at android.text.style.URLSpan.onClick (URLSpan.java:62) at android.text.method.LinkMovementMethod.onTouchEvent (LinkMovementMethod.java:212) at android.widget.TextView.onTouchEvent (TextView.java:8622) at android.view.View.dispatchTouchEvent (View.java:7677) at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2401) at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2134) at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2401) at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2134) at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2401) at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2134) at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2401) at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2134) at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2401) at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2134) at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2401) at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2134) at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2401) at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2134) at android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2401) at android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2134) at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent (PhoneWindow.java:2305) at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent (PhoneWindow.java:1575) at android.app.Activity.dispatchTouchEvent (Activity.java:2470) at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent (WindowCallbackWrapper.java:69) at android.support.v7.view.WindowCallbackWrapper.dispatchTouchEvent (WindowCallbackWrapper.java:69) at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent (PhoneWindow.java:2253) at android.view.View.dispatchPointerEvent (View.java:7875) at android.view.ViewRootImpl.deliverPointerEvent (ViewRootImpl.java:3976) at android.view.ViewRootImpl.deliverInputEvent (ViewRootImpl.java:3860) at android.view.ViewRootImpl.doProcessInputEvents (ViewRootImpl.java:5103) at android.view.ViewRootImpl.enqueueInputEvent (ViewRootImpl.java:5082) at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent (ViewRootImpl.java:5181) at android.view.InputEventReceiver.dispatchInputEvent (InputEventReceiver.java:185) at android.os.MessageQueue.nativePollOnce (Native Method) at android.os.MessageQueue.next (MessageQueue.java:125) at android.os.Looper.loop (Looper.java:138) at android.app.ActivityThread.main (ActivityThread.java:5317) at java.lang.reflect.Method.invokeNative (Native Method) at java.lang.reflect.Method.invoke (Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1102) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:869) at dalvik.system.NativeStart.main (Native Method) ``` ### Subtickets
idk added this to the undecided milestone 2025-04-21 14:44:52 -04:00
idk added the
#2484
apps.android
undecided
labels 2025-04-21 14:44:52 -04:00
Author
Owner

comment:6 Changed 19 months ago by zzz

Cc:idk added

The question from comment 3 was "can anybody reproduce this?" - the attached screenshots and later comments don't answer that question… any results?

[comment:6](https://trac.i2p2.de/\#comment:6) Changed [19 months ago](https://trac.i2p2.de//timeline?from=2019-10-11T16%3A59%3A22Z&precision=second "See timeline at Oct 11, 2019 4:59:22 PM") by zzz Cc:_idk_ added The question from comment 3 was "can anybody reproduce this?" - the attached screenshots and later comments don't answer that question… any results?
Author
Owner

comment:5 Changed 23 months ago by Meeh

It does not seem to be triggered by a non i2p link in our browser as I can't really open them in our browser.

[comment:5](https://trac.i2p2.de/\#comment:5) Changed [23 months ago](https://trac.i2p2.de//timeline?from=2019-06-20T17%3A17%3A08Z&precision=second "See timeline at Jun 20, 2019 5:17:08 PM") by Meeh It does not seem to be triggered by a non i2p link in our browser as I can't really open them in our browser.
Author
Owner

comment:4 Changed 23 months ago by Meeh

Sensitive:
unset

I'm uploading two screenshots, one of me clicking a link that's not *.i2p and in which my android don't even ask for me to open it with the browser, and another link which is *.i2p and is asking to open with the browser.

[comment:4](https://trac.i2p2.de/\#comment:4) Changed [23 months ago](https://trac.i2p2.de//timeline?from=2019-06-20T17%3A14%3A46Z&precision=second "See timeline at Jun 20, 2019 5:14:46 PM") by Meeh Sensitive: unset I'm uploading two screenshots, one of me clicking a link that's not \*.i2p and in which my android don't even ask for me to open it with the browser, and another link which is \*.i2p and is asking to open with the browser.
Author
Owner

Changed 23 months ago by Meeh

Attachment:photo_2019-06-20 19.11.43.jpeg
added

not_i2p_link_click

Changed [23 months ago](https://trac.i2p2.de//timeline?from=2019-06-20T17%3A14%3A31Z&precision=second "See timeline at Jun 20, 2019 5:14:31 PM") by Meeh Attachment:[_photo\_2019-06-20 19.11.43.jpeg_](https://trac.i2p2.de//attachment/ticket/2484/photo_2019-06-20%2019.11.43.jpeg) [​](https://trac.i2p2.de//raw-attachment/ticket/2484/photo_2019-06-20%2019.11.43.jpeg "Download") added not\_i2p\_link\_click
Author
Owner

Changed 23 months ago by Meeh

Attachment:photo_2019-06-20 19.11.37.jpeg
added

i2p_link_click

Changed [23 months ago](https://trac.i2p2.de//timeline?from=2019-06-20T17%3A14%3A10Z&precision=second "See timeline at Jun 20, 2019 5:14:10 PM") by Meeh Attachment:[_photo\_2019-06-20 19.11.37.jpeg_](https://trac.i2p2.de//attachment/ticket/2484/photo_2019-06-20%2019.11.37.jpeg) [​](https://trac.i2p2.de//raw-attachment/ticket/2484/photo_2019-06-20%2019.11.37.jpeg "Download") added i2p\_link\_click
Author
Owner

comment:3 Changed 2 years ago by zzz

Can meeh or idk reproduce this? It's a URL click. So it has to be either a .i2p URL in our WebView? or an external browser (we do register the Intent in the manifest for .i2p URLs) or a non-i2p URL in our WebView?.

[comment:3](https://trac.i2p2.de/\#comment:3) Changed [2 years ago](https://trac.i2p2.de//timeline?from=2019-05-02T12%3A44%3A08Z&precision=second "See timeline at May 2, 2019 12:44:08 PM") by zzz Can meeh or idk reproduce this? It's a URL click. So it has to be either a .i2p URL in our WebView? or an external browser (we do register the Intent in the manifest for .i2p URLs) or a non-i2p URL in our WebView?.
Author
Owner

comment:2 Changed 2 years ago by Meeh

Description:
modified ( diff)

[comment:2](https://trac.i2p2.de/\#comment:2) Changed [2 years ago](https://trac.i2p2.de//timeline?from=2019-04-30T19%3A06%3A52Z&precision=second "See timeline at Apr 30, 2019 7:06:52 PM") by Meeh Description: modified ( [diff](https://trac.i2p2.de//ticket/2484?action=diff&version=2))
Author
Owner

comment:1 Changed 2 years ago by zzz

stack overflow hints at something missing from our manifest?

no i2p classes in the above trace.

[comment:1](https://trac.i2p2.de/\#comment:1) Changed [2 years ago](https://trac.i2p2.de//timeline?from=2019-04-29T18%3A09%3A22Z&precision=second "See timeline at Apr 29, 2019 6:09:22 PM") by zzz stack overflow hints at something missing from our manifest? no i2p classes in the above trace.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: I2P_Developers/i2p.android.base#32
No description provided.