- Home
- Forum
- Xamarin.Forms
- Strange Exception after UPGRADE to 16.4.0.42
Strange Exception after UPGRADE to 16.4.0.42
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.
SIGN IN To post a reply.
1 Reply
DR
Dhanasekar R
Syncfusion Team
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
SIGN IN To post a reply.
- 1 Reply
- 2 Participants
-
MF MOHAMED FKI
- Jan 4, 2019 08:38 AM UTC
- Jan 7, 2019 12:13 PM UTC