SfScheduleMapping NullReferenceException

Hi All,

I have problem when create appointment, the problem only occurs on Android Platform. I am using SfSchedule 15.4.0.20.
Error log as below:

System.NullReferenceException: Object reference not set to an instance of an object
Syncfusion.SfSchedule.XForms.iOS.Mapping.SfScheduleMapping.ConvertCustomAppointmentToNative(object formsAppointmentObject)
Syncfusion.SfSchedule.XForms.iOS.Mapping.SfScheduleMapping.ConvertToNativeAppointment(object formsAppointmentObject)
Syncfusion.SfSchedule.XForms.iOS.Mapping.SfScheduleMapping.Appointments_CollectionChanged(object senderNotifyCollectionChangedEventArgs e)
<Module>.invoke_void_object_NotifyCollectionChangedEventArgs(objectNotifyCollectionChangedEventArgs)(wrapper delegate-invoke)
System.Collections.ObjectModel.ObservableCollection<T>.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
System.Collections.ObjectModel.ObservableCollection<T>.OnCollectionChanged(NotifyCollectionChangedAction actionobject itemint index)
System.Collections.ObjectModel.ObservableCollection<T>.InsertItem(int indexT item)
System.Collections.ObjectModel.Collection<T>.Add(T item)
at IMO.ScheduleViewModel+<>c__DisplayClass0_1.<.ctor>b__3 () <0x105c10230 + 0x0010f> in <967b874ae5874796b9e19527707f7590#75c3f2c60d8177d47bff2c71aa94e54d>:0
Foundation.NSAsyncActionDispatcher.Apply()
UIKit.UIApplication.UIApplicationMain(intstring[]intptrintptr)(wrapper managed-to-native)
UIKit.UIApplication.Main(string[] argsstring principalClassNamestring delegateClassName)
UIKit.UIApplication.Main(string[] argsType principalClassType delegateClass)
IMO.iOS.Application.Main(string[] args)

Error occurs after installing the app and first create an appointment. Are these bugs in version 15.4.0.20?
Need your advices.

Thanks,
Rewaldy

5 Replies

SG Swathi Gopal Syncfusion Team February 19, 2018 12:03 PM UTC

Hi Rewaldy, 
 
Thanks for contacting Syncfusion support, 
 
We have provided the solution for the query regarding exception raised when creating appointment using custom appointment mapping in Schedule Xamarin Forms Android in the incident created by you. So, please log on to our support websites to know the further updates. 
 
 
Regards, 
Swathi G 



MA Marbella May 4, 2018 05:36 PM UTC

Hi!

I have the same problem I guess, How did you solve it?

Thanks!


SG Swathi Gopal Syncfusion Team May 7, 2018 07:23 AM UTC

Hi Marbella,

Thanks for contacting Syncfusion support.

We have checked with the provided information and we are unable to reproduce the mentioned null reference exception issue while creating appointment using custom appointment mapping in Schedule Xamarin Forms iOS. We suspect that issue may occur due to incorrect mapping of custom appointment property name. Could you please ensure the naming of custom appointment properties mapping in your project? We have prepared a simple sample using custom appointment mapping in Xamarin Forms. Kindly find the sample below,

Sample:  AppointmentMapping_Forms

Kindly check with the provided sample with our latest version and if still issue prevails, could you please revert us back with modifying the provided sample with more information such as Schedule version used and issue reproducing scenario. It will be helpful for us to analyze on it and provide you better solution.

Regards,
Swathi G


DE Dev July 4, 2019 12:43 PM UTC

Hello All,

I am having this same issue with this PDF URL only https://smilesoftware.com/help/PDFpen 10.0.pdf
Other than this most of the URLs are working fine. 

Can anyone help me with this issue?

Thanks in Advance

Regards,
Dev.


SP Subburaj Pandian Veluchamy Syncfusion Team July 5, 2019 08:48 AM UTC

Hi Dev, 
 
The provided URL is not our Syncfusion website and also we can able view the given website’s pdf. Since the shared information is not enough to understand your requirement clearly.  
 
Please elaborate in detail, if you have any other query with our Syncfusion controls. We will happy to assist you. 
 
Regards,
Subburaj Pandian  


Loader.
Up arrow icon