Hi,
I'm getting the following XAML design time exception in VS2012.
Exception
NullReferenceException: Object reference not set to an instance of an object.
Here's the stack trace:
at Telerik.Windows.Controls.RichTextBoxUI.StatusBar.LayoutModeSelector.get_SelectedLayoutMode()
at Telerik.Windows.Controls.RichTextBoxUI.StatusBar.LayoutModeSelector.set_SelectedLayoutMode(DocumentLayoutMode value)
at Telerik.Windows.Controls.RichTextBoxUI.RadRichTextBoxStatusBar.OnDocumentLayoutModeChanged()
at Telerik.Windows.Controls.RichTextBoxUI.RadRichTextBoxStatusBar.OnAssociatedRichTextBoxChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.Activate(Object item)
at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance)
at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)
at MS.Internal.Data.DataBindEngine.Run(Object arg)
at MS.Internal.Data.DataBindEngine.OnLayoutUpdated(Object sender, EventArgs e)
at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
Any idea's what may be causing it?
Thanks,
Rob
I'm getting the following XAML design time exception in VS2012.
Exception
NullReferenceException: Object reference not set to an instance of an object.
Here's the stack trace:
at Telerik.Windows.Controls.RichTextBoxUI.StatusBar.LayoutModeSelector.get_SelectedLayoutMode()
at Telerik.Windows.Controls.RichTextBoxUI.StatusBar.LayoutModeSelector.set_SelectedLayoutMode(DocumentLayoutMode value)
at Telerik.Windows.Controls.RichTextBoxUI.RadRichTextBoxStatusBar.OnDocumentLayoutModeChanged()
at Telerik.Windows.Controls.RichTextBoxUI.RadRichTextBoxStatusBar.OnAssociatedRichTextBoxChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.Activate(Object item)
at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance)
at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)
at MS.Internal.Data.DataBindEngine.Run(Object arg)
at MS.Internal.Data.DataBindEngine.OnLayoutUpdated(Object sender, EventArgs e)
at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
Any idea's what may be causing it?
Thanks,
Rob