https://bugzilla.novell.com/show_bug.cgi?id=645569
https://bugzilla.novell.com/show_bug.cgi?id=645569#c0 Summary: Delegate Exception using DatePickerDialog Classification: Mono Product: MonoDroid Version: SVN Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Class Libraries AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Created an attachment (id=394236) --> (http://bugzilla.novell.com/attachment.cgi?id=394236) Test Case >From our DatePicker tutorial: http://monodroid.net/Tutorials/Hello_Views/Date_Picker Code: Attached Exception: E/AndroidRuntime( 5352): java.lang.ExceptionInInitializerError: System.TypeInitializationException: An exception was thrown by the type initializer for DateSetImplementor ---> System.ArgumentException: Couldn't bind to method 'GetOnDateSet_Landroid_widget_DatePicker_IIIHandler'. E/AndroidRuntime( 5352): at System.Delegate.GetCandidateMethod (System.Type type, System.Type target, System.String method, BindingFlags bflags, Boolean ignoreCase, Boolean throwOnBindFailure) [0x00000] in <filename unknown>:0 E/AndroidRuntime( 5352): at System.Delegate.CreateDelegate (System.Type type, System.Type target, System.String method, Boolean ignoreCase, Boolean throwOnBindFailure) [0x00000] in <filename unknown>:0 E/AndroidRuntime( 5352): at System.Delegate.CreateDelegate (System.Type type, System.Type target, System.String method) [0x00000] in <filename unknown>:0 E/AndroidRuntime( 5352): at Android.Runtime.JNIEnv.RegisterJniNatives (IntPtr typeName_ptr, Int32 typeName_len, IntPtr jniClass, IntPtr methods_ptr, Int32 methods_len) [0x00000] in <filename unknown>:0 E/AndroidRuntime( 5352): at (wrapper delegate-invoke) <Module>:invoke_intptr__this___intptr_intptr_string_string (intptr,intptr,string,string) E/AndroidRuntime( 5352): at Android.Runtime.JNIEnv.GetMethodID (IntPtr kls, System.String name, System.String signature) [0x00000] in <filename unknown>:0 E/AndroidRuntime( 5352): at Android.App.DatePickerDialog+DateSetImplementor..cctor () [0x00000] in <filename unknown>:0 E/AndroidRuntime( 5352): --- End of inner exception stack trace --- E/AndroidRuntime( 5352): at Android.App.DatePickerDialog..ctor (Android.Content.Context context, System.Action`2 callBack, Int32 year, Int32 monthOfYear, Int32 dayOfMonth) [0x00000] in <filename unknown>:0 E/AndroidRuntime( 5352): at MonoDroidApplication7.Activity1.OnCreateDialog (Int32 id) [0x00000] in <filename unknown>:0 E/AndroidRuntime( 5352): at Android.App.Activity.n_OnCreateDialog_I (IntPtr jnienv, IntPtr native__this, Int32 native_id) [0x00000] in <filename unknown>:0 E/AndroidRuntime( 5352): at mono.android.Runtime.register(Native Method) E/AndroidRuntime( 5352): at mono.android.app.datepickerdialog.DateSetImplementor.<clinit>(DateSetImplementor.java:18 E/AndroidRuntime( 5352): at monoDroidApplication7.Activity1.n_onCreateDialog(Native Method) E/AndroidRuntime( 5352): at monoDroidApplication7.Activity1.onCreateDialog(Activity1.java:32) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
