java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

GitHub | Flyinmorning | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 25#253129326

    GitHub | 7 months ago | Flyinmorning
    java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. android.runtime.JavaProxyThrowable

      System.ObjectDisposedException: Cannot access a disposed object. 10-12 14:15:29.600 E/AndroidRuntime( 5395): Object name: 'Android.Views.GestureDetector'. 10-12 14:15:29.600 E/AndroidRuntime( 5395): at Java.Interop.JniPeerMembers.AssertSelf (Java.Interop.IJavaPeerable self) [0x00030] in <a043032cf94a485190047a14918b9f60>:0 10-12 14:15:29.600 E/AndroidRuntime( 5395): at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualBooleanMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x00001] in <a043032cf94a485190047a14918b9f60>:0 10-12 14:15:29.600 E/AndroidRuntime( 5395): at Android.Views.GestureDetector.OnTouchEvent (Android.Views.MotionEvent ev) [0x00036] in <148efd2f7a03496fb40611cf5f4f0bb1>:0 10-12 14:15:29.600 E/AndroidRuntime( 5395): at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Android.Views.View.IOnTouchListener.OnTouch (Android.Views.View v, Android.Views.MotionEvent e) [0x0004a] in <95895bcb439e42ebb8e7134a545f1acc>:0 10-12 14:15:29.600 E/AndroidRuntime( 5395): at Android.Views.View+IOnTouchListenerInvoker.n_OnTouch_Landroid_view_View_Landroid_view_MotionEvent_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_v, System.IntPtr native_e) [0x00019] in <148efd2f7a03496fb40611cf5f4f0bb1>:0 10-12 14:15:29.600 E/AndroidRuntime( 5395): at (wrapper dynamic-method) System.Object:a96996d0-2c84-4c0f-a89a-6a9f202874f3 (intptr,intptr,intptr,intptr) 10-12 14:15:29.600 E/AndroidRuntime( 5395): --- End of stack trace from previous location where exception was thrown --- 10-12 14:15:29.600 E/AndroidRuntime( 5395): at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <368820a9888f43ddb85d18e87189adbf>:0 10-12 14:15:29.600 E/AndroidRuntime( 5395): at Java.Interop.JniEnvironment+InstanceMethods.CallNonvirtualBooleanMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x000a8] in <a043032cf94a485190047a14918b9f60>:0 10-12 14:15:29.600 E/AndroidRuntime( 5395): at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualBooleanMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x00068] in <a043032cf94a485190047a14918b9f60>:0 10-12 14:15:29.600 E/AndroidRuntime( 5395): at Android.Views.View.DispatchTouchEvent (Android.Views.MotionEvent e) [0x00036] in <148efd2f7a03496fb40611cf5f4f0bb1>:0 10-12 14:15:29.600 E/AndroidRuntime( 5395): at Xamarin.Forms.Platform.Android.PlatformRenderer.DispatchTouchEvent (Android.Views.MotionEvent e) [0x00035] in <95895bcb439e42ebb8e7134a545f1acc>:0 10-12 14:15:29.600 E/AndroidRuntime( 5395): at Android.Views.View.n_DispatchTouchEvent_Landroid_view_MotionEvent_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_e) [0x00011] in <148efd2f7a03496fb40611cf5f4f0bb1>:0 10-12 14:15:29.600 E/AndroidRuntime( 5395): at (wrapper dynamic-method) System.Object:47a11039-7379-4dc4-8c5d-835d32a5243a (intptr,intptr,intptr)

      at md5b60ffeb829f638581ab2bb9b1a7f4f3f.PlatformRenderer.n_dispatchTouchEvent()
    2. md5b60ffeb829f638581ab2bb9b1a7f4f3f
      PlatformRenderer.dispatchTouchEvent
      1. md5b60ffeb829f638581ab2bb9b1a7f4f3f.PlatformRenderer.n_dispatchTouchEvent(Native Method)
      2. md5b60ffeb829f638581ab2bb9b1a7f4f3f.PlatformRenderer.dispatchTouchEvent(PlatformRenderer.java:55)
      2 frames
    3. Android Platform
      ViewGroup.dispatchTouchEvent
      1. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      2. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2371)
      3. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      4. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2371)
      5. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      6. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2371)
      7. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      8. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2371)
      9. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      10. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2371)
      11. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2709)
      12. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2371)
      12 frames