Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1564
.NET 3.5 SP1 - incompatibility
posted

Hi,

I have installed the .NET 3.5 SP 1 and I got a crash when I use the following line : 

xdpGraphicalView.View = (Infragistics.Windows.DataPresenter.ViewBase)FindResource("xdpGraphicalView_CoverListViewDeep");

The error message is :

"Object reference not set to an instance of an object."

The stack trace :

    at Infragistics.Windows.Controls.XamCarouselPanel.e()
   at Infragistics.Windows.Controls.XamCarouselPanel.a(Size A_0, Boolean A_1)
   at Infragistics.Windows.Controls.XamCarouselPanel.ArrangeOverride(Size finalSize)
   at Infragistics.Windows.DataPresenter.CarouselViewPanel.ArrangeOverride(Size finalSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at MS.Internal.Helper.ArrangeElementWithSingleChild(UIElement element, Size arrangeSize)
   at System.Windows.Controls.ItemsPresenter.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.UIElement.UpdateLayout()
   at Infragistics.Windows.Controls.XamCarouselPanel.b(Object A_0, PropertyChangedEventArgs A_1)
   at Infragistics.Windows.Controls.CarouselViewSettings.a(PropertyChangedEventHandler A_0)
   at Infragistics.Windows.Controls.XamCarouselPanel.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at Infragistics.Windows.DataPresenter.CarouselViewPanel.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, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at Infragistics.Windows.Controls.XamCarouselPanel.set_ViewSettings(CarouselViewSettings value)
   at Infragistics.Windows.DataPresenter.CarouselViewPanel.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, OperationType operationType)
   at System.Windows.StyleHelper.ApplyTemplatedParentValue(DependencyObject container, FrameworkObject child, Int32 childIndex, FrugalStructList`1& childRecordFromChildIndex, DependencyProperty dp, FrameworkElementFactory templateRoot)
   at System.Windows.StyleHelper.InvalidatePropertiesOnTemplateNode(DependencyObject container, FrameworkObject child, Int32 childIndex, FrugalStructList`1& childRecordFromChildIndex, Boolean isDetach, FrameworkElementFactory templateRoot)
   at System.Windows.FrameworkElementFactory.InstantiateTree(UncommonField`1 dataField, DependencyObject container, DependencyObject parent, List`1 affectedChildren, List`1& noChildIndexChildren, FrugalStructList`1& resourceDependents)
   at System.Windows.StyleHelper.ApplyTemplateContent(UncommonField`1 dataField, DependencyObject container, FrameworkElementFactory templateRoot, Int32 lastChildIndex, HybridDictionary childIndexFromChildID, FrameworkTemplate frameworkTemplate)
   at System.Windows.FrameworkTemplate.ApplyTemplateContent(UncommonField`1 templateDataField, FrameworkElement container)
   at System.Windows.FrameworkElement.ApplyTemplate()
   at System.Windows.Controls.ScrollContentPresenter.HookupScrollingComponents()
   at System.Windows.Controls.ItemsPresenter.OnPanelChanged(Object sender, EventArgs e)
   at System.Windows.Controls.ItemContainerGenerator.OnPanelChanged()
   at System.Windows.Controls.ItemsControl.OnItemsPanelChanged(ItemsPanelTemplate oldItemsPanel, ItemsPanelTemplate newItemsPanel)
   at Infragistics.Windows.Virtualization.RecyclingItemsControl.OnItemsPanelChanged(ItemsPanelTemplate oldItemsPanel, ItemsPanelTemplate newItemsPanel)
   at System.Windows.Controls.ItemsControl.OnItemsPanelChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   at Infragistics.Windows.Virtualization.RecyclingItemsControl.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, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at System.Windows.Data.BindingOperations.SetBinding(DependencyObject target, DependencyProperty dp, BindingBase binding)
   at System.Windows.FrameworkElement.SetBinding(DependencyProperty dp, BindingBase binding)
   at Infragistics.Windows.DataPresenter.DataPresenterBase.y()
   at Infragistics.Windows.DataPresenter.DataPresenterBase.a(ViewBase A_0)
   at Infragistics.Windows.DataPresenter.XamDataPresenter.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, OperationType operationType)
   at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at Infragistics.Windows.DataPresenter.XamDataPresenter.set_View(ViewBase value)
   at ViewOn.UI.View.GraphicalView.ChangeView(GraphicalViewType type)

 

 

 

Please, can you help me ?

I have not this problem with all the "view", just some views !

Regards