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
675
Intermittent NullReference exception
posted

We bind/rebind a grid to different sources, and every now and then:

> Infragistics3.Wpf.DataPresenter.v9.1.dll!Infragistics.Windows.DataPresenter.ResolvedRecordFilterCollection.HookInto(Infragistics.Windows.DataPresenter.FieldLayout fieldLayout) + 0x96 bytes 
  Infragistics3.Wpf.DataPresenter.v9.1.dll!Infragistics.Windows.DataPresenter.ResolvedRecordFilterCollection.GetRecordFilters(Infragistics.Windows.DataPresenter.FieldLayout fieldLayout, bool create) + 0x1c bytes 
  Infragistics3.Wpf.DataPresenter.v9.1.dll!Infragistics.Windows.DataPresenter.ResolvedRecordFilterCollection.HasActiveFiltersInAnyFieldLayout() + 0x78 bytes 
  Infragistics3.Wpf.DataPresenter.v9.1.dll!Infragistics.Windows.DataPresenter.ViewableRecordCollection.EnsureFiltersEvaluated() + 0x12b bytes 
  Infragistics3.Wpf.DataPresenter.v9.1.dll!Infragistics.Windows.DataPresenter.ViewableRecordCollection.Count.get() + 0x10 bytes 
  Infragistics3.Wpf.DataPresenter.v9.1.dll!Infragistics.Windows.DataPresenter.GridViewPanel.MeasureOverride(System.Windows.Size availableSize = {963,742.74}) + 0x491 bytes 
  PresentationFramework.dll!System.Windows.FrameworkElement.MeasureCore(System.Windows.Size availableSize) + 0x387 bytes 
  PresentationCore.dll!System.Windows.UIElement.Measure(System.Windows.Size availableSize = {963,742.74}) + 0x506 bytes 
  PresentationCore.dll!System.Windows.ContextLayoutManager.UpdateLayout() + 0x481 bytes 
  PresentationCore.dll!System.Windows.ContextLayoutManager.UpdateLayoutCallback(object arg) + 0x27 bytes 
  PresentationCore.dll!System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() + 0xd3 bytes 
  PresentationCore.dll!System.Windows.Media.MediaContext.RenderMessageHandlerCore(object resizedCompositionTarget) + 0xcf bytes 
  PresentationCore.dll!System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(object resizedCompositionTarget) + 0x9d bytes 
  WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, bool isSingleParameter) + 0xec bytes 
  WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source = {System.Windows.Threading.Dispatcher}, System.Delegate callback, object args, bool isSingleParameter, System.Delegate catchHandler = null) + 0x4c bytes 
  WindowsBase.dll!System.Windows.Threading.DispatcherOperation.InvokeImpl() + 0xc0 bytes 
  mscorlib.dll!System.Threading.ExecutionContext.runTryCode(object userData) + 0x178 bytes 
  [Native to Managed Transition] 
  [Managed to Native Transition] 
  mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x62 bytes 
  WindowsBase.dll!System.Windows.Threading.DispatcherOperation.Invoke() + 0x6a bytes 
  WindowsBase.dll!System.Windows.Threading.Dispatcher.ProcessQueue() + 0x2b0 bytes 
  WindowsBase.dll!System.Windows.Threading.Dispatcher.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0xb4 bytes 
  WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) + 0xce bytes 
  WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCallbackOperation(object o) + 0x96 bytes 
  WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate callback, object args, bool isSingleParameter) + 0xec bytes 
  WindowsBase.dll!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(object source = {System.Windows.Threading.Dispatcher}, System.Delegate callback, object args, bool isSingleParameter, System.Delegate catchHandler = null) + 0x4c bytes 
  WindowsBase.dll!System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, bool isSingleParameter) + 0xde bytes 
  WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndProc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) + 0x177 bytes 
  [Native to Managed Transition] 
  [Managed to Native Transition] 
  WindowsBase.dll!System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage(ref System.Windows.Interop.MSG msg) + 0x46 bytes 
  WindowsBase.dll!System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame frame) + 0xf1 bytes 
  PresentationFramework.dll!System.Windows.Application.RunInternal(System.Windows.Window window) + 0xb7 bytes 
  Enerprise.Dashboard.exe!Henwood.Shared.Enerprise.API.Dashboard.App.Main() + 0x70 bytes C#
  [Native to Managed Transition] 
  [Managed to Native Transition] 
  Microsoft.VisualStudio.HostingProcess.Utilities.dll!Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() + 0x47 bytes 
  mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x9b bytes 
  mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x4d bytes 

AllowFiltering is true, but this occurs even when it is off. There are no active filters. This is with 1006; will try with 2023. Any thoughts?

Parents Reply Children