Opened 6 months ago

Last modified 11 days ago

#2484 new defect

android.content.ActivityNotFoundException

Reported by: Meeh Owned 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

Attachments (2)

photo_2019-06-20 19.11.37.jpeg (40.4 KB) - added by Meeh 4 months ago.
i2p_link_click
photo_2019-06-20 19.11.43.jpeg (39.9 KB) - added by Meeh 4 months ago.
not_i2p_link_click

Download all attachments as: .zip

Change History (8)

comment:1 Changed 6 months ago by zzz

stack overflow hints at something missing from our manifest?
no i2p classes in the above trace.

comment:2 Changed 6 months ago by Meeh

Description: modified (diff)

comment:3 Changed 6 months 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?.

Changed 4 months ago by Meeh

i2p_link_click

Changed 4 months ago by Meeh

not_i2p_link_click

comment:4 Changed 4 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:5 Changed 4 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:6 Changed 11 days 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?

Note: See TracTickets for help on using tickets.