0
Fixed

Exception has been thrown by the target of an invocation.

Anonymous 7 years ago in Studio updated by Pieter 7 years ago 4
Server Version : 0.0.6229.14006 Studio Version : 0.0.6229.14021 Email Address : Barney Steps to follow : Creating a test from debug output in Test Builder at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Caliburn.Micro.EventAggregator.Handler.Handle(Type messageType, Object message) in c:\Projects\caliburnmicro\src\Caliburn.Micro.Silverlight\EventAggregator.cs:line 232 at Caliburn.Micro.EventAggregator.<>c__DisplayClassf.<>c__DisplayClass12.b__d(Handler handler) in c:\Projects\caliburnmicro\src\Caliburn.Micro.Silverlight\EventAggregator.cs:line 150 at System.Linq.Enumerable.WhereArrayIterator`1.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Caliburn.Micro.EventAggregator.<>c__DisplayClassf.b__c() in c:\Projects\caliburnmicro\src\Caliburn.Micro.Silverlight\EventAggregator.cs:line 149 at Caliburn.Micro.Execute.<>c__DisplayClass1.b__0(Action action) in c:\Projects\caliburnmicro\src\Caliburn.Micro.Silverlight\INPC.cs:line 100 at Caliburn.Micro.Execute.OnUIThread(Action action) in c:\Projects\caliburnmicro\src\Caliburn.Micro.Silverlight\INPC.cs:line 126 at Caliburn.Micro.EventAggregator.Publish(Object message, Action`1 marshal) in c:\Projects\caliburnmicro\src\Caliburn.Micro.Silverlight\EventAggregator.cs:line 146 at Caliburn.Micro.EventAggregator.Publish(Object message) in c:\Projects\caliburnmicro\src\Caliburn.Micro.Silverlight\EventAggregator.cs:line 132 at Dev2.Studio.ViewModels.Diagnostics.DebugOutputViewModel.AddNewTest(IEventAggregator eventPublisher) in C:\Development\Repos\Warewolf-ESB\Dev\Dev2.Studio\ViewModels\Diagnostics\DebugOutputViewModel.cs:line 133 at Dev2.Studio.ViewModels.Diagnostics.DebugOutputViewModel.<.ctor>b__38_2(Object o) in C:\Development\Repos\Warewolf-ESB\Dev\Dev2.Studio\ViewModels\Diagnostics\DebugOutputViewModel.cs:line 119 at Dev2.Runtime.Configuration.ViewModels.Base.DelegateCommand.Execute(Object parameter) in C:\Development\Repos\Warewolf-ESB\Dev\Dev2.Runtime.Configuration\ViewModels\Base\DelegateCommand.cs:line 63 at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Button.OnClick() at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Clicking tool on design surface in test editor not adding correct step to the test bug:

  1. Open test editor for a WF (ensure WF has a few tools on it).
  2. Add a new test
  3. Run the test
  4. Click a tool on the design surface.
  5. NOTE: The wrong tool step is added.