Guest User

Stack Trace

a guest
Jul 28th, 2017
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 4.65 KB | None | 0 0
  1. System.Exception occurred
  2.   HResult=0x80131500
  3.   Message=Unhandled exception: System.ArgumentNullException: Key cannot be null.
  4. Parameter name: key
  5.    at System.Collections.Specialized.HybridDictionary.get_Item(Object key)
  6.    at System.ComponentModel.PropertyChangedEventManager.AddListener(INotifyPropertyChanged source, String propertyName, IWeakEventListener listener, EventHandler`1 handler)
  7.    at System.ComponentModel.PropertyChangedEventManager.AddHandler(INotifyPropertyChanged source, EventHandler`1 handler, String propertyName)
  8.    at MS.Internal.Data.PropertyPathWorker.ReplaceItem(Int32 k, Object newO, Object parent)
  9.    at MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)
  10.    at MS.Internal.Data.ClrBindingWorker.AttachDataItem()
  11.    at System.Windows.Data.BindingExpression.Activate(Object item)
  12.    at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
  13.    at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance)
  14.    at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)
  15.    at MS.Internal.Data.DataBindEngine.Run(Object arg)
  16.    at MS.Internal.Data.DataBindEngine.OnLayoutUpdated(Object sender, EventArgs e)
  17.    at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
  18.    at System.Windows.ContextLayoutManager.UpdateLayout()
  19.    at System.Windows.UIElement.UpdateLayout()
  20.    at System.Windows.Interop.HwndSource.SetLayoutSize()
  21.    at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
  22.    at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)
  23.    at System.Windows.Window.SetRootVisual()
  24.    at System.Windows.Window.SetRootVisualAndUpdateSTC()
  25.    at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
  26.    at System.Windows.Window.CreateSourceWindow(Boolean duringShow)
  27.    at System.Windows.Window.CreateSourceWindowDuringShow()
  28.    at System.Windows.Window.SafeCreateWindowDuringShow()
  29.    at System.Windows.Window.ShowHelper(Object booleanBox)
  30.    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
  31.    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
  32.    at System.Windows.Threading.DispatcherOperation.InvokeImpl()
  33.    at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
  34.    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
  35.    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
  36.    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  37.    at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
  38.    at System.Windows.Threading.DispatcherOperation.Invoke()
  39.    at System.Windows.Threading.Dispatcher.ProcessQueue()
  40.    at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  41.    at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  42.    at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
  43.    at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
  44.    at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
  45.    at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
  46.    at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  47.    at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
  48.    at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
  49.    at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
  50.    at System.Windows.Application.RunDispatcher(Object ignore)
  51.    at System.Windows.Application.RunInternal(Window window)
  52.    at System.Windows.Application.Run(Window window)
  53.    at System.Windows.Application.Run()
  54.    at [project name].App.Main()
  55.   Source=[project name]
  56.   StackTrace:
  57.    at [project name].MainWindow.<>c.<.ctor>b__9_0(Object sender, UnhandledExceptionEventArgs args) in C:\[path.to.project]\MainWindow.xaml.cs:line 43
Advertisement
Add Comment
Please, Sign In to add comment