Hi,
I'm talking about class "Slot" in Telerik.Windows.Controls.ScheduleView namespace.
Let's take a look to Slot(IOccurrence occurence) constructor, line 14 may cause NullReferenceException:
01.public Slot(IOccurrence occurence) : base(occurence)02. {03. IAppointment appointment = occurence as IAppointment;04. if (appointment != null)05. {06. if (appointment.RecurrenceRule != null)07. {08. this.RecurrencePattern = appointment.RecurrenceRule.Pattern;09. }10. }11. else12. {13. Occurrence occurrence = occurence as Occurrence;14. appointment = occurrence.Appointment;15. if (occurrence != null)16. {17. appointment = occurrence.Appointment;18. }19. }20. this.TimeZone = appointment.TimeZone;21. this.Resources.AddRange(appointment.Resources);22. }