java.lang.RuntimeException

java.lang.reflect.InvocationTargetException

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

Stack trace

  • java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) ... 2 more Caused by: 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(Native Method) at md5530bd51e982e6e7b340b73e88efe666e.CellAdapter.onItemLongClick(CellAdapter.java:43) at android.widget.AbsListView.performLongPress(AbsListView.java:2972) at android.widget.AbsListView$CheckForLongPress.run(AbsListView.java:2921) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5017) ... 5 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

We couldn't find other users who have seen this exception.