- ago
As exceptions in WL7 became more rare event, I’ll report this one. Something with compiled strategies or meta strategies. I do not know what exactly caused this, so what I did:
The were a couple of windows with compiled strategies and a window with meta strategy with those strategies added there. The exception occurred when I pushed Save or Ok button when I was asked to save or not. It was about meta strategy or compiled one.


System.NullReferenceException: Object reference not set to an instance of an object.
at (Object )
at WealthLab7.designerCompiled.UpdateUIFromStrategy()
at WealthLab7.cwStrategy.FillWrapper(Object reference, RoutedEventArgs visitor)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at MS.Internal.LoadedOrUnloadedOperation.DoWork()
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
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)
0
177
1 Replies

Reply

Bookmark

Sort
- ago
#1
According to the stack trace, it's raised by saving the compiled strategy. Keep an eye on it and please let us know if (when) you can walk us through with steps to repro.
0

Reply

Bookmark

Sort