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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

On Android, when swapping the control to DayView, if the day being swapped to has an Appointment/Event on that day, the app will crash

Thread ID:

Created:

Updated:

Platform:

Replies:

143028 Mar 1,2019 04:34 AM UTC Mar 4,2019 07:25 AM UTC Xamarin.Forms 1
loading
Tags: SfSchedule
Akin Goktepe
Asked On March 1, 2019 04:34 AM UTC

See title.

It seems to only be happening on Android, on iOS the control works great.

Here's the stacktrace:

    Message: Object reference not set to an instance of an object
Syncfusion.SfSchedule.XForms.Droid.ScheduleHelper.Convert(Xamarin.Forms.View source, Xamarin.Forms.VisualElement valid, Android.Content.Context context) in <a010e4a2e3ed436e9e98e16192bf4b99>:0
Syncfusion.SfSchedule.XForms.Droid.ScheduleHelper.ConvertFormsToNativeViewSize(Syncfusion.SfSchedule.XForms.SfSchedule formSchedule, Xamarin.Forms.View view, Android.Views.ViewGroup+LayoutParams layoutParams, Android.Content.Context context) in <a010e4a2e3ed436e9e98e16192bf4b99>:0
Syncfusion.SfSchedule.XForms.UWP.DependencyServices.EventsArgumentsHelper.UpdateAppointmentLoadedEventArgsValues(Syncfusion.SfSchedule.XForms.SfSchedule formsSchedule, Com.Syncfusion.Schedule.SfSchedule nativeSchedule, Com.Syncfusion.Schedule.AppointmentLoadedEventArgs nativeAppointmentLoadedEventArgs, Syncfusion.SfSchedule.XForms.AppointmentLoadedEventArgs appointmentLoadedEventArgs) in <a010e4a2e3ed436e9e98e16192bf4b99>:0
Syncfusion.SfSchedule.XForms.Droid.ScheduleEventDependencyService.NativeSchedule_AppointmentLoaded(System.Object sender, Com.Syncfusion.Schedule.AppointmentLoadedEventArgs e) in <a010e4a2e3ed436e9e98e16192bf4b99>:0
Com.Syncfusion.Schedule.SfSchedule.RaiseAppointmentLoadedEvent(Com.Syncfusion.Schedule.AppointmentLoadedEventArgs args) in <9413ef877fd24d6e9d1ad7d1c87cf9c5>:0
Com.Syncfusion.Schedule.AppointmentView.UpdateAppointmentView(Com.Syncfusion.Schedule.SfSchedule schedule, Com.Syncfusion.Schedule.AppointmentView appointmentView, System.Single left, System.Single top, System.Single width, System.Single height) in <9413ef877fd24d6e9d1ad7d1c87cf9c5>:0
Com.Syncfusion.Schedule.DayAppointmentLayout.OnMeasure(System.Int32 widthMeasureSpec, System.Int32 heightMeasureSpec) in <9413ef877fd24d6e9d1ad7d1c87cf9c5>:0
Android.Views.View.n_OnMeasure_II(System.IntPtr jnienv, System.IntPtr native__this, System.Int32 widthMeasureSpec, System.Int32 heightMeasureSpec) in <e0723311510f44e7a8db49d026aacebe>:0
Java.Interop.JniEnvironment+InstanceMethods.CallNonvirtualVoidMethod(Java.Interop.JniObjectReference instance, Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) in <a2a2a1422a634f2a82146e66c17e9026>:0
Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeNonvirtualVoidMethod(System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) in <a2a2a1422a634f2a82146e66c17e9026>:0
Android.Views.View.Measure(System.Int32 widthMeasureSpec, System.Int32 heightMeasureSpec) in <e0723311510f44e7a8db49d026aacebe>:0
Com.Syncfusion.Schedule.DayAppointmentLayout.UpdateAppointments(System.Collections.ObjectModel.ObservableCollection`1[T] visibleAppointments) in <9413ef877fd24d6e9d1ad7d1c87cf9c5>:0
Com.Syncfusion.Schedule.ParentDayLayout.UpdateAppointments(Com.Syncfusion.Schedule.ScheduleAppointmentCollection appointments, System.Int32 columnCount) in <9413ef877fd24d6e9d1ad7d1c87cf9c5>:0
Com.Syncfusion.Schedule.SfSchedule.UpdateAppointmentView(Com.Syncfusion.Schedule.ScheduleAppointmentCollection visibleAppointments) in <9413ef877fd24d6e9d1ad7d1c87cf9c5>:0
Com.Syncfusion.Schedule.SfSchedule.UpdateAppointments() in <9413ef877fd24d6e9d1ad7d1c87cf9c5>:0

Subburaj Pandian Veluchamy [Syncfusion]
Replied On March 4, 2019 07:25 AM UTC

Hi Akin, 
 
Thank you for contacting Syncfusion support. 

We have already found and fixed the reported issue with “Schedule Appointment custom view rendering” in Xamarin.Forms. The issue occurs only when the project Xamarin.Forms update version above 3.5 and it is not occurring the previous updates. 
 
This issue fix will be included in our upcoming Volume 1 beta release which is expected be available by mid of March, 2019. 
 
We appreciate your patience and please use the earlier Xamarin.Forms updates (3.4 and earlier) until then.  
 
Regards,
Subburaj Pandian V  


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

Live Chat Icon For mobile
Live Chat Icon