Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Null Reference Exception with only microsoft stack

$
0
0

Hi,

in my WPF app, i have Infragistics Gallery button in the ribbon control. This gallery has different set of layouts for the application. So when I select one of the layout, the application should change to that layout. This works most of the time, but occassionally, this crashes with a null reference exception. But when i look into the dump file, the dump shows only the microsoft call stack. Can someone help me how to figure out what the issue is when the stack does not contain any of the application code.


Below is the call stack.

0:000> !pe
Exception object: 00000000916c5780
Exception type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
InnerException: <none>
StackTrace (generated):
SP IP Function
000000000014BEE0 000007FEED31D3B8 PresentationFramework_ni!System.Windows.Controls.Primitives.Popup+PopupSecurityHelper.get_Handle()+0x8
000000000014BF10 000007FEED31D53F PresentationFramework_ni!System.Windows.Controls.Primitives.Popup+PopupSecurityHelper.ForceMsaaToUiaBridge(System.Windows.Controls.Primitives.PopupRoot)+0x1f
000000000014BF70 000007FEED31B403 PresentationFramework_ni!System.Windows.Controls.Primitives.Popup.CreateWindow(Boolean)+0x2b3
000000000014C000 000007FEED318C2C PresentationFramework_ni!System.Windows.Controls.Primitives.Popup.OnIsOpenChanged(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs)+0xec
000000000014C060 000007FEF37E9D97 WindowsBase_ni!System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)+0x107
000000000014C0E0 000007FEEC93DAA4 PresentationFramework_ni!System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)+0x254
000000000014C4A0 000007FEF37E933B WindowsBase_ni!System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs)+0xbb
000000000014C5A0 000007FEF37E8A12 WindowsBase_ni!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, System.Windows.OperationType)+0x522
000000000014C890 000007FEF37E7885 WindowsBase_ni!System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty, System.Object, System.Windows.PropertyMetadata, Boolean, System.Windows.OperationType, Boolean)+0x435
000000000014CA20 000007FEF37E70A8 WindowsBase_ni!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty, System.Object)+0x58
000000000014CA80 000007FEEC99748A PresentationFramework_ni!System.Windows.Data.BindingOperations.SetBinding(System.Windows.DependencyObject, System.Windows.DependencyProperty, System.Windows.Data.BindingBase)+0x5a
000000000014CAC0 000007FEED319B50 PresentationFramework_ni!System.Windows.Controls.Primitives.Popup.CreateRootPopup(System.Windows.Controls.Primitives.Popup, System.Windows.UIElement)+0x2e0
000000000014CB20 000007FEED331E8E PresentationFramework_ni!System.Windows.Controls.ToolTip.OnIsOpenChanged(System.Windows.DependencyObject, System.Windows.DependencyPropertyChangedEventArgs)+0x6e
000000000014CB50 000007FEF37E9D97 WindowsBase_ni!System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)+0x107
000000000014CBD0 000007FEEC93DAA4 PresentationFramework_ni!System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)+0x254
000000000014CF90 000007FEF37E933B WindowsBase_ni!System.Windows.DependencyObject.NotifyPropertyChange(System.Windows.DependencyPropertyChangedEventArgs)+0xbb
000000000014D090 000007FEF37E8A12 WindowsBase_ni!System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, System.Windows.OperationType)+0x522
000000000014D380 000007FEF37E7885 WindowsBase_ni!System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty, System.Object, System.Windows.PropertyMetadata, Boolean, System.Windows.OperationType, Boolean)+0x435
000000000014D510 000007FEF37E7118 WindowsBase_ni!System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty, Boolean)+0x58
000000000014D570 000007FEED31293C PresentationFramework_ni!System.Windows.Controls.PopupControlService.RaiseToolTipOpeningEvent()+0x2cc
000000000014D5D0 000007FEF380117A WindowsBase_ni!System.Windows.Threading.DispatcherTimer.FireTick(System.Object)+0x3a
000000000014D610 000007FEF37E01EC WindowsBase_ni!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Boolean)+0xec
000000000014D670 000007FEF3AEB105 WindowsBase_ni!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Boolean, System.Delegate)+0x30b075
000000000014D6D0 000007FEF37E49F1 WindowsBase_ni!System.Windows.Threading.DispatcherOperation.InvokeImpl()+0xc1
000000000014D780 000007FEF1C4DD39 mscorlib_ni!System.Threading.ExecutionContext.runTryCode(System.Object)+0x179
000000000014E030 0000000000000001 mscorlib_ni!System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object)+0x2
000000000014E030 000007FEF1C32B83 mscorlib_ni!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)+0x63
000000000014E080 000007FEF37E482B WindowsBase_ni!System.Windows.Threading.DispatcherOperation.Invoke()+0x6b
000000000014E0E0 000007FEF37DBD91 WindowsBase_ni!System.Windows.Threading.Dispatcher.ProcessQueue()+0x2b1
000000000014E280 000007FEF37DC335 WindowsBase_ni!System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)+0xb5
000000000014E340 000007FEF37E03EF WindowsBase_ni!MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)+0xcf
000000000014E3F0 000007FEF37E02F7 WindowsBase_ni!MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)+0x97
000000000014E440 000007FEF37E01ED WindowsBase_ni!System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Boolean)+0xed
000000000014E4A0 000007FEF37E00DD WindowsBase_ni!System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Boolean, System.Delegate)+0x4d
000000000014E500 000007FEF37DB45F WindowsBase_ni!System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Boolean)+0xdf
000000000014E590 000007FEF37DF758 WindowsBase_ni!MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)+0x178
000000000014E970 0000000000000001 WindowsBase_ni!MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)+0x2
000000000014EAF0 000007FEF39AF877 WindowsBase_ni!System.Windows.Threading.Dispatcher.TranslateAndDispatchMessage(System.Windows.Interop.MSG ByRef)+0x47
000000000014EB20 000007FEF37DC082 WindowsBase_ni!System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)+0xf2
000000000014EBF0 000007FEEC931D38 PresentationFramework_ni!System.Windows.Application.RunInternal(System.Windows.Window)+0xb8
000000000014EC60 000007FF001C0185 Armor_Client_Dashboard!Armor.Client.Dashboard.App.Main()+0x65

StackTraceString: <none>
HResult: 80004003


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>