We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Strange Exception after UPGRADE to 16.4.0.42

Thread ID:

Created:

Updated:

Platform:

Replies:

141791 Jan 4,2019 08:38 AM UTC Jan 7,2019 12:13 PM UTC Xamarin.Forms 1
loading
Tags: SfComboBox
MOHAMED FKI
Asked On January 4, 2019 08:38 AM UTC

We Have a code that works fine in Andriod  with Syncfusion 16.3.0.29 and after Upgrading to 16.4.0.42 our app crash and show strange Exception:

Unhandled Exception:
System.NotSupportedException: Unable to activate instance of type Java.Lang.Runnable from native handle 0xbfb2383c (key_handle 0xde224b6).
01-04 08:26:29.685 E/mono    (30240): 
01-04 08:26:29.685 E/mono    (30240): Unhandled Exception:
01-04 08:26:29.685 E/mono    (30240): System.NotSupportedException: Unable to activate instance of type Java.Lang.Runnable from native handle 0xbfb2383c (key_handle 0xde224b6). ---> System.MissingMethodException: No constructor found for Java.Lang.Runnable::.ctor(System.IntPtr, Android.Runtime.JniHandleOwnership) ---> Java.Interop.JavaLocationException: Exception of type 'Java.Interop.JavaLocationException' was thrown.
01-04 08:26:29.685 E/mono    (30240):    --- End of inner exception stack trace ---
01-04 08:26:29.685 E/mono    (30240):   at Java.Interop.TypeManager.CreateProxy (System.Type type, System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer) [0x00055] in <ad2f15102b3a4d36b40e9b0cbc11c376>:0 
01-04 08:26:29.685 E/mono    (30240):   at Java.Interop.TypeManager.CreateInstance (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer, System.Type targetType) [0x00116] in <ad2f15102b3a4d36b40e9b0cbc11c376>:0 
01-04 08:26:29.685 E/mono    (30240):    --- End of inner exception stack trace ---
01-04 08:26:29.685 E/mono    (30240):   at (wrapper dynamic-method) System.Object.23(intptr,intptr)
01-04 08:26:29.685 E/mono    (30240):   at (wrapper native-to-managed) System.Object.23(intptr,intptr)
01-04 08:26:29.685 E/mono-rt (30240): [ERROR] FATAL UNHANDLED EXCEPTION: System.NotSupportedException: Unable to activate instance of type Java.Lang.Runnable from native handle 0xbfb2383c (key_handle 0xde224b6). ---> System.MissingMethodException: No constructor found for Java.Lang.Runnable::.ctor(System.IntPtr, Android.Runtime.JniHandleOwnership) ---> Java.Interop.JavaLocationException: Exception of type 'Java.Interop.JavaLocationException' was thrown.
01-04 08:26:29.685 E/mono-rt (30240):    --- End of inner exception stack trace ---
01-04 08:26:29.685 E/mono-rt (30240):   at Java.Interop.TypeManager.CreateProxy (System.Type type, System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer) [0x00055] in <ad2f15102b3a4d36b40e9b0cbc11c376>:0 
01-04 08:26:29.685 E/mono-rt (30240):   at Java.Interop.TypeManager.CreateInstance (System.IntPtr handle, Android.Runtime.JniHandleOwnership transfer, System.Type targetType) [0x00116] in <ad2f15102b3a4d36b40e9b0cbc11c376>:0 
01-04 08:26:29.685 E/mono-rt (30240):    --- End of inner exception stack trace ---
01-04 08:26:29.685 E/mono-rt (30240):   at (wrapper dynamic-method) System.Object.23(intptr,intptr)
01-04 08:26:29.685 E/mono-rt (30240):   at (wrapper native-to-managed) System.Object.23(intptr,intptr)

Note:  the same code works fine in IOS platform with 16.4.0.42 but showing NullReferenceException with16.3.0.29.


Best regards MOHAMED FKI.



Dhanasekar R [Syncfusion]
Replied On January 7, 2019 12:13 PM UTC

Hi Mohamed Fki, 
 
Greetings from Syncfusion. 
 
We have validated your stack trace and we created the simple combobox sample. We are not able to replicate the exception issue given in stack trace. Please have the sample link below. 
 
 
Since we are not aware of your exact scenario, can you please provide more details about your scenario and please modify the sample based on your this. So that this will be more helpful o provide you better solution. 
 
Regards, 
Dhanasekar 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;