Advertisement
Guest User

Error generated from XML parsing code C#

a guest
Aug 9th, 2015
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.55 KB | None | 0 0
  1. System.InvalidOperationException was unhandled
  2. _HResult=-2146233079
  3. _message=Sequence contains no elements
  4. HResult=-2146233079
  5. IsTransient=false
  6. Message=Sequence contains no elements
  7. Source=System.Core
  8. StackTrace:
  9. at System.Linq.Enumerable.Last[TSource](IEnumerable`1 source)
  10. at RMBoink.MainWindow.Window_Loaded(Object sender, RoutedEventArgs e) in c:\Users\user\Documents\Visual Studio 2013\Projects\RMBoink\RMBoink\RMBoink\MainWindow.xaml.cs:line 74
  11. at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
  12. at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
  13. at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
  14. at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
  15. at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
  16. at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
  17. at MS.Internal.LoadedOrUnloadedOperation.DoWork()
  18. at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
  19. at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
  20. at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
  21. at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
  22. at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)
  23. at System.Windows.Interop.HwndTarget.OnResize()
  24. at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
  25. at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  26. at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
  27. at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
  28. at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
  29. at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
  30. at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
  31. at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
  32. InnerException:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement