Catel Exception Screens

advertisement
System.Reflection.TargetInvocationException non è stata gestita
HResult=-2146232828
Message=Eccezione generata dalla destinazione di una chiamata.
Source=mscorlib
StackTrace:
in System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature
sig, Boolean constructor)
in System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[]
parameters, Object[] arguments)
in System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder
binder, Object[] parameters, CultureInfo culture)
in System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
in Catel.MVVM.Services.UIVisualizerService.ShowWindow(FrameworkElement window,
Boolean showModal)
in Catel.MVVM.Services.UIVisualizerService.ShowDialog(String name, Object data,
EventHandler`1 completedProc)
in Catel.MVVM.Services.UIVisualizerService.ShowDialog(IViewModel viewModel,
EventHandler`1 completedProc)
in WPF.GettingStarted.ViewModels.MainWindowViewModel.OnEditFamilyExecute() in
C:\TFSDefaultCollection\Samples\Filippo\Catel\WPF.GettingStarted\WPF.GettingStarted\ViewMo
dels\MainWindowViewModel.vb:riga 158
in Catel.MVVM.Command`2.Execute(TExecuteParameter parameter, Boolean
ignoreCanExecuteCheck)
in Catel.MVVM.Command`2.Execute(TExecuteParameter parameter)
in Catel.MVVM.Command`2.Execute(Object parameter)
in
MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource
commandSource, Boolean userInitiated)
in System.Windows.Controls.Primitives.ButtonBase.OnClick()
in System.Windows.Controls.Button.OnClick()
in
System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs
e)
in System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender,
MouseButtonEventArgs e)
in System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate
genericHandler, Object genericTarget)
in System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
in System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs
routedEventArgs)
in System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args,
Boolean reRaised)
in System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs
args, RoutedEvent newEvent)
in System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
in System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate
genericHandler, Object genericTarget)
in System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
in System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs
routedEventArgs)
in System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args,
Boolean reRaised)
in System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs
args)
in System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
in System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
in System.Windows.Input.InputManager.ProcessStagingArea()
in System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
in System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
in System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode
mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
in System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd,
WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
in System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr
wParam, IntPtr lParam, Boolean& handled)
in MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam,
Boolean& handled)
in MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
in System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object
args, Int32 numArgs)
in MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate
method, Object args, Int32 numArgs, Delegate catchHandler)
in System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority,
TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
in MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr
lParam)
in MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
in System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
in System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
in System.Windows.Threading.Dispatcher.Run()
in System.Windows.Application.RunDispatcher(Object ignore)
in System.Windows.Application.RunInternal(Window window)
in System.Windows.Application.Run(Window window)
in System.Windows.Application.Run()
in WPF.GettingStarted.Application.Main() in
C:\TFSDefaultCollection\Samples\Filippo\Catel\WPF.GettingStarted\WPF.GettingStarted\obj\x86\
Debug\Application.g.vb:riga 77
in System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
in System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity,
String[] args)
in Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext,
ContextCallback callback, Object state, Boolean preserveSyncCtx)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state, Boolean preserveSyncCtx)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state)
in System.Threading.ThreadHelper.ThreadStart()
InnerException: System.InvalidOperationException
HResult=-2146233079
Message=La raccolta è stata modificata. L'operazione di enumerazione potrebbe non essere
eseguita.
Source=mscorlib
StackTrace:
in System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
in System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
in Catel.MVVM.ViewModelBase.CancelViewModel()
in Catel.Windows.Controls.MVVMProviders.Logic.LogicBase.CancelViewModel()
in Catel.Windows.DataWindow.DiscardChanges()
in Catel.Windows.DataWindow.OnCancelExecute()
in Catel.MVVM.Command`2.Execute(TExecuteParameter parameter, Boolean
ignoreCanExecuteCheck)
in Catel.MVVM.Command`2.Execute(TExecuteParameter parameter)
in Catel.MVVM.Command`2.Execute(Object parameter)
in
MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource
commandSource, Boolean userInitiated)
in System.Windows.Controls.Primitives.ButtonBase.OnClick()
in System.Windows.Controls.Button.OnClick()
in
System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs
e)
in System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender,
MouseButtonEventArgs e)
in System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate
genericHandler, Object genericTarget)
in System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
in System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target,
RoutedEventArgs routedEventArgs)
in System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs
args, Boolean reRaised)
in System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender,
RoutedEventArgs args, RoutedEvent newEvent)
in System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs
e)
in System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate
genericHandler, Object genericTarget)
in System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
in System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target,
RoutedEventArgs routedEventArgs)
in System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs
args, Boolean reRaised)
in System.Windows.UIElement.RaiseEventImpl(DependencyObject sender,
RoutedEventArgs args)
in System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
in System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
in System.Windows.Input.InputManager.ProcessStagingArea()
in System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
in System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
in System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd,
InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
in System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd,
WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
in System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr
wParam, IntPtr lParam, Boolean& handled)
in MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr
lParam, Boolean& handled)
in MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
in System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback,
Object args, Int32 numArgs)
in MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate
method, Object args, Int32 numArgs, Delegate catchHandler)
in System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority,
TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
in MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam,
IntPtr lParam)
in MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
in System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
in System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
in System.Windows.Window.ShowHelper(Object booleanBox)
in System.Windows.Window.Show()
in System.Windows.Window.ShowDialog()
InnerException:
Download