- ago
I am trying to remove a strategy from my Default workspace and am receiving this error screen:

Here is the screen message:



CODE:
System.NullReferenceException: Object reference not set to an instance of an object. at WealthLab8.designerMetaStrategy.UpdateStrategyFromUI() at WealthLab8.cwStrategy.ViewHelper() at WealthLab8.cwStrategy.AllowWindowClose() at WealthLab.WPF.ChildWindow.DefineService(Object i, CancelEventArgs cfg) at WealthLab.WPF.MDIChild.Close() at WealthLab.WPF.MDIChild.DisableRegistry(Object last, RoutedEventArgs pred) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 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.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.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.Input.InputManager.ProcessStagingArea() 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)


Can you please help.

Thank you,
Larry
0
251
Solved
6 Replies

Reply

Bookmark

Sort
- ago
#1
QUOTE:
I am trying to remove a strategy from my Default workspace and am receiving this error screen:

What does this mean exactly? Removing strategies from a MetaStrategy saved in the Default workspace works. There is no exception for me. Was the strategy file itself deleted after it become part of the MetaStrategy? This works just fine too.

What is the step by step procedure to reproduce?
0
- ago
#2
Eugene,

I have a default workspace saved, so that when Wealthlab starts the Wealthlab desktop has everything where I like it.

All I was trying to do, was click the X in the upper right hand corner of a strategy that was open and I got the above error. I was trying to remove it from the current default workspace.

Thank you,
Larry
0
- ago
#3
Like I said, couldn't reproduce. Maybe we're more successful if you send us the workspace at support@wealth-lab.com?

The WS file is here: c:\Users\%Windows username%\AppData\Roaming\WealthLab8\Workspaces\Default.txt.
0
- ago
#4
I had previously moved the location of all my data. I do see the name of the workspace I called it. However, I do not see the default workspace name that you stated. I will send the newly named workspace to tech support.

Thank you,
Larry
0
- ago
#5
Thanks for sending the file, Larry. Unfortunately I was unable to reproduce the error probably due to not having all of your multiple strategies or not having moved the data folder.

If the stubborn window is not closing, your best bet may be to recreate the workspace.
0
Best Answer
- ago
#6
Eugene,

Okay.
I will try this.
Thank you,
Larry
0

Reply

Bookmark

Sort