Wealth-Lab Stopped Working when Trying to run Strategy
Author: benito747
Creation Date: 4/29/2009 4:32 PM
profile picture

benito747

#1
For some reason everytime I try to run the Strategy Monitor I get a "Unhandled exception has occurred....", when I try to Continue the error Wealth-Lab Stopped Working error occurs and the system crashes. It had been working fine for a while. Any ideas on how to proceed?

profile picture

Eugene

#2
Can you take a look what exception/error message does it contain, please?
profile picture

benito747

#3
HERE IS THE DUMP

There is an error in XML document (990,38


DETAILS BELOW:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: There is an error in XML document (990, 38). ---> System.Xml.XmlException: Unexpected end of file has occurred. The following elements are not closed: Mode, PosSize, Alert, AlertsList, StrategyCenterItem, ArrayOfStrategyCenterItem. Line 990, position 38.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String arg)
at System.Xml.XmlTextReaderImpl.ThrowUnclosedElements()
at System.Xml.XmlTextReaderImpl.ParseEndElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlReader.ReadString()
at System.Xml.XmlTextReader.ReadString()
at System.Xml.XmlReader.ReadElementString()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderList1.Read6_PositionSize(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderList1.Read10_Alert(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderList1.Read11_StrategyCenterItem(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderList1.Read12_ArrayOfStrategyCenterItem()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
at WealthLabPro.StrategyCenterForm.c()
at WealthLabPro.StrategyCenterForm..ctor()
at WealthLabPro.MainForm.OpenStrategyCenter()
at WealthLabPro.MainForm.bj(Object A_0, EventArgs A_1)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
profile picture

Cone

#4
The StrategyMonitorConfiguration.xml file has errors (for some reason). Close WL5, find your user Data folder (User Guide: Data chapter), and rename that file to something like StrategyMonitorConfiguration(old).xml. Launch WL5 and try again. You'll need to reconfigure the SM from scratch.

If that works, please create a Support Ticket, zip, and attach your StrategyMonitorConfiguration(old).xml file.
profile picture

benito747

#5
Thanks. That worked.

This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).