- Home
- Forum
- Xamarin.Forms
- Release configuration only exception in SfSchedule.
Release configuration only exception in SfSchedule.
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
SIGN IN To post a reply.
1 Reply
VR
Vigneshkumar Ramasamy
Syncfusion Team
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
Regards,
Vigneshkumar R
SIGN IN To post a reply.
- 1 Reply
- 2 Participants
-
JP John Prass
- Nov 11, 2018 08:15 PM UTC
- Nov 14, 2018 05:55 AM UTC