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

xamarin.com | 5 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.

Root Cause Analysis

  1. md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable

    System.NullReferenceException: Object reference not set to an instance of an object at Xamarin.Forms.Platform.Android.CellAdapter.set_ContextView (Android.Views.View) <0x00034> at Xamarin.Forms.Platform.Android.CellAdapter.HandleContextMode (Android.Views.View,int) <0x0001f> at Xamarin.Forms.Platform.Android.CellAdapter.OnItemLongClick (Android.Widget.AdapterView,Android.Views.View,int,long) <0x0006b> at Android.Widget.AdapterView/IOnItemLongClickListenerInvoker.n_OnItemLongClick_Landroid_widget_AdapterView_Landroid_view_View_IJ (intptr,intptr,intptr,intptr,int,long) <0x00091> at (wrapper dynamic-method) object.3e774979-5d40-4673-b165-fc6a0611c7d2 (intptr,intptr,intptr,intptr,int,long) <0x00047>

    at md5530bd51e982e6e7b340b73e88efe666e.CellAdapter.n_onItemLongClick()
  2. md5530bd51e982e6e7b340b73e88efe666e
    CellAdapter.onItemLongClick
    1. md5530bd51e982e6e7b340b73e88efe666e.CellAdapter.n_onItemLongClick(Native Method)
    2. md5530bd51e982e6e7b340b73e88efe666e.CellAdapter.onItemLongClick(CellAdapter.java:43)
    2 frames
  3. Android Platform
    ActivityThread.main
    1. android.widget.AbsListView.performLongPress(AbsListView.java:2972)
    2. android.widget.AbsListView$CheckForLongPress.run(AbsListView.java:2921)
    3. android.os.Handler.handleCallback(Handler.java:733)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:136)
    6. android.app.ActivityThread.main(ActivityThread.java:5017)
    6 frames
  4. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  5. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
    2 frames
  6. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame