- Home
- Forum
- Xamarin.Forms
- SfListView is crashing on backbutton for Android
SfListView is crashing on backbutton for Android
This crash started in the version 18.3.0.40 and exists also in the latest version. 18.3.0.42 version. I have tested other versions below and they dont have that problem. Basically if there is a sflistview on a page pressing on hardware backbutton press, i get below crash. XF 4.8.0.15.60
Xamarin Exception Stack:
System.NotSupportedException: Unable to activate instance of type Java.Lang.Runnable from native handle 0x7fee5d4334 (key_handle 0xa5d535).
at Java.Interop.TypeManager.CreateInstance (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer, System.Type targetType) [0x0017e] in <ea7f37407525489795bc0daa0ff8163c>:0
at Java.Lang.Object.GetObject (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer, System.Type type) [0x00023] in <ea7f37407525489795bc0daa0ff8163c>:0
at Java.Lang.Object._GetObject[T] (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer) [0x00017] in <ea7f37407525489795bc0daa0ff8163c>:0
at Java.Lang.Object.GetObject[T] (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer) [0x00000] in <ea7f37407525489795bc0daa0ff8163c>:0
at Java.Lang.Object.GetObject[T] (System.IntPtr jnienv, System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer) [0x00006] in <ea7f37407525489795bc0daa0ff8163c>:0
at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00000] in <ea7f37407525489795bc0daa0ff8163c>:0
at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.1(intptr,intptr)
--- End of inner exception stack trace ---
System.MissingMethodException: No constructor found for Java.Lang.Runnable::.ctor(System.IntPtr, Android.Runtime.JniHandleOwnership)
at Java.Interop.TypeManager.CreateProxy (System.Type type, System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer) [0x000b5] in <ea7f37407525489795bc0daa0ff8163c>:0
at Java.Interop.TypeManager.CreateInstance (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer, System.Type targetType) [0x00111] in <ea7f37407525489795bc0daa0ff8163c>:0
--- End of inner exception stack trace ---
Java.Interop.JavaLocationException: Exception of type 'Java.Interop.JavaLocationException' was thrown.
at Java.Lang.Error: Exception of type 'Java.Lang.Error' was thrown.
at java.lang.Error: Java callstack:
at mono.java.lang.Runnable.n_run(Native Method)
at mono.java.lang.Runnable.run(Runnable.java:30)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:8167)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
SIGN IN To post a reply.
10 Replies
1 reply marked as answer
SS
SaiGanesh Sakthivel
Syncfusion Team
October 26, 2020 11:57 AM UTC
Hi Emil,
Thank you for the patience.
We have checked the reported query “System.NotSupportedException: 'Unable to activate instance of type Java.Lang.Runnable” and logged the issue report for the same. We will fix the issue and include the issue fix in our Weekly nuget release which is expected to roll out on November 10,2020. We appreciate your patience until then.
You can track the status of this report through the following feedback link,
Note: The provided feedback link is private, you need to login to view this feedback.
Regards,
SaiGanesh Sakthivel
Marked as answer
EM
Emil
October 26, 2020 12:09 PM UTC
Hi Saiganesh,
Thanks for the update but i am not able to access the issue. I think that it is private for the owner.
Thanks for the update but i am not able to access the issue. I think that it is private for the owner.
EM
Emil
October 27, 2020 09:03 AM UTC
was this fixed in 18.3.044 version?
SS
SaiGanesh Sakthivel
Syncfusion Team
October 27, 2020 12:07 PM UTC
Hi Emil,
Thank you for the update.
Thank you for the update.
#Regarding not access the feedback and issue fix details
Could you please try now to access the feedback link and let us know if you still facing the same issue?
Could you please try now to access the feedback link and let us know if you still facing the same issue?
Meanwhile, the issue fix will be included in our weekly nuget release date (10th November,2020) as we have mentioned in our previous update. We will let you know once the release rolls out. We appreciate your patience until then.
Regards,
SaiGanesh Sakthivel
EM
Emil
October 28, 2020 08:16 AM UTC
yes i can access it. i am looking forward to the progress
SS
SaiGanesh Sakthivel
Syncfusion Team
October 29, 2020 12:05 PM UTC
Hi Emil,
Thank you for the update.
We will let you know once the release rolls out. We appreciate your patience until then.
Regards,
SaiGanesh SakthivelHi Saiganesh,
Thanks for the update but i am not able to access the issue. I think that it is private for the owner.
Same here, can't access the link either, even though I'm logged in...
SS
SaiGanesh Sakthivel
Syncfusion Team
November 5, 2020 05:17 PM UTC
Hi Michael,
Thank you for contacting syncfusion support.
Thank you for contacting syncfusion support.
We have checked the reported query from our end. we would like to inform you that the above feedback link is private. We have added your email id to the feedback now. Could you please try now to access the feedback link?.
Regards,
Regards,
SaiGanesh Sakthivel
LN
Lakshmi Natarajan
Syncfusion Team
November 10, 2020 05:46 AM UTC
Hi Emil/Michael,
Sorry for the delay caused.
We would like to inform you that we have fixed the reported issue and the fix will be included in our next weekly nuget release which is planned to roll out on November 11, 2020. We will let you know once the release rolls out and we appreciate your patience until then.
Lakshmi Natarajan
SS
SaiGanesh Sakthivel
Syncfusion Team
November 11, 2020 10:13 AM UTC
Hi Emil/Michael,
Thank you for the patience.
#Regarding System.NotSupportedException: 'Unable to activate instance of type Java.Lang.Runnable
We have fixed the reported issue and included the issue fix in our latest Weekly NuGet release update version 18.3.0.48 which is available for download (nuget.org).
We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.
Regards,
SaiGanesh Sakthivel
SIGN IN To post a reply.