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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Release configuration only exception in SfSchedule.

Thread ID:





140858 Nov 11,2018 08:15 PM UTC Nov 14,2018 05:55 AM UTC Xamarin.Forms 1
Tags: SfSchedule
John Prass
Asked On November 11, 2018 08:15 PM UTC

I'm seeing an exception and my Android app crashes in release configuration build.  Everything works as expected in Debug build.  I'll start a simple sample app to see if I can narrow it down, but would appreciate any help you can provide.

Here is the exception from the device log.

Time Device Name Type PID Tag Message
11-11 14:55:55.301 newshop Error 13051 AndroidRuntime android.runtime.JavaProxyThrowable: System.NullReferenceException: Object reference not set to an instance of an object
  at Syncfusion.SfSchedule.XForms.Droid.SfScheduleMapping.WireExceptionDatesCollectionChangedEvent (System.Object formsAppointmentObject) [0x0016f] in <973ed3f4091e4a249f7b446bd14274fc>:0 
  at Syncfusion.SfSchedule.XForms.Droid.SfScheduleMapping.ConvertToNativeAppointment (System.Object formsAppointmentObject) [0x0008f] in <973ed3f4091e4a249f7b446bd14274fc>:0 
  at Syncfusion.SfSchedule.XForms.Droid.SfScheduleMapping.Appointments_CollectionChanged (System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x0007d] in <973ed3f4091e4a249f7b446bd14274fc>:0 
  at (wrapper delegate-invoke) <Module>.invoke_void_object_NotifyCollectionChangedEventArgs(object,System.Collections.Specialized.NotifyCollectionChangedEventArgs)
  at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00018] in <3e9b3e26c4694baab3f689687ad40612>:0 
  at System.Collections.ObjectModel.ObservableCollection`1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedAction action, System.Object item, System.Int32 index) [0x00009] in <3e9b3e26c4694baab3f689687ad40612>:0 
  at System.Collections.ObjectModel.ObservableCollection`1[T].InsertItem (System.Int32 index, T item) [0x0001a] in <3e9b3e26c4694baab3f689687ad40612>:0 
  at System.Collections.ObjectModel.Collection`1[T].Add (T item) [0x00020] in <fe08c003e91342eb83df1ca48302ddbb>:0 
  at BSMobile.Models.Appointments.AppointmentList+<Load>d__4.MoveNext () [0x00089] in <5c67efd61f1b4ce6acbb54f5004b8aba>:0 

Vigneshkumar Ramasamy [Syncfusion]
Replied On November 14, 2018 05:55 AM UTC

Hi John Prass,  
Thanks for contacting Scyncfusion support.  
We have checked your query and attached call stack. We have prepared the sample for the same and tried to reproduce the issue.  But the issue is not reproduced in our side. From the stack trace provided we are able to get that the exception occurred from SfSchedule, so please modify the sample attached to reproduce the issue and provide the clear replication procedure to reproduce the issue in order to provide you with the solution faster. Please provide us the details of the properties set to the SfSchedule to reproduce the issue.     
Sample Link:  SfSchedule
Vigneshkumar R 


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