Has anyone encountered the exception below? Can you tell me what could cause such a problem in the ScheduleViewBase?
I know that the cause is likely somewhere in our code, and I'm hoping someone can point me in the right direction. We encounter this exception when attempting to resize a recurring exception Appointment by grabbing the "top" border and sliding it up--making the start time earlier. As soon as the mouse is moved and a new start time indicated in the drag, the exception is thrown. Resizing regular, non-recurring appointments, and occurrence masters ("series") are fine. It's only the recurrence exception that has trouble.
Message: Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.Windows.Controls.ScheduleViewBase.<>c__DisplayClassbc.<GetDecorationBlocksForSlot>b__b8(IGroupItemInfo info)
at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
at System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
at System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
at Telerik.Windows.Controls.CollectionExtensions.ForEach[T](IEnumerable`1 source, Action`1 action)
at Telerik.Windows.Controls.HighlightPanel.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
Any suggestions for troubleshooting appreciated--
Regards,
Simon
I know that the cause is likely somewhere in our code, and I'm hoping someone can point me in the right direction. We encounter this exception when attempting to resize a recurring exception Appointment by grabbing the "top" border and sliding it up--making the start time earlier. As soon as the mouse is moved and a new start time indicated in the drag, the exception is thrown. Resizing regular, non-recurring appointments, and occurrence masters ("series") are fine. It's only the recurrence exception that has trouble.
Message: Unhandled Error in Silverlight Application
Code: 4004
Category: ManagedRuntimeError
Message: System.NullReferenceException: Object reference not set to an instance of an object.
at Telerik.Windows.Controls.ScheduleViewBase.<>c__DisplayClassbc.<GetDecorationBlocksForSlot>b__b8(IGroupItemInfo info)
at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
at System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
at System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
at Telerik.Windows.Controls.CollectionExtensions.ForEach[T](IEnumerable`1 source, Action`1 action)
at Telerik.Windows.Controls.HighlightPanel.MeasureOverride(Size availableSize)
at System.Windows.FrameworkElement.MeasureOverride(IntPtr nativeTarget, Single inWidth, Single inHeight, Single& outWidth, Single& outHeight)
Any suggestions for troubleshooting appreciated--
Regards,
Simon