0
Prévu

Object reference not set to an instance of an object.

Anonyme il y a 3 ans dans Studio mis à jour par Genie il y a 3 ans 2
Email Address : tedwardc@gmail.com

Steps to follow : I opened a simple SQL Server activity that worked yesterday... but I just got the latest DEV build tonight to see if other issues and this error popped up.

at Dev2.Activities.Designers2.Core.ActivityDesigner`1.ToggleView(MouseButtonEventArgs eventArgs) in C:\Users\Ed\Source\Repos\Warewolf\Dev\Dev2.Activities.Designers\Designers2\Core\ActivityDesigner.cs:line 132
at Dev2.Activities.Designers2.Core.ActivityDesigner`1.OnPreviewMouseDoubleClick(MouseButtonEventArgs e) in C:\Users\Ed\Source\Repos\Warewolf\Dev\Dev2.Activities.Designers\Designers2\Core\ActivityDesigner.cs:line 93
at System.Windows.Controls.Control.HandleDoubleClick(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.OnPreviewMouseDownThunk(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)

Solution

Solution
Prévu

Hi Ed,


Glad to hear you got sorted out, The bug will be resolved in an upcoming version.

Right after I send in the error it started working. The activity box was blank initially when the exception was thrown... but afterwards it finished loading properly. I tested it and it pulls data correctly.

Solution
Prévu

Hi Ed,


Glad to hear you got sorted out, The bug will be resolved in an upcoming version.