Your interactive trading laboratory!
 • 
6 users online

bug in saving layout Q180

Whenever I try to save my current layout (I save whatever I'm working on as "Latest"), it gives me an exception, and fails to save. The layout has two strategies plus the Signal Hub and Debug Log panels. Here's the first part of the exception message:

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

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at QuantaculaCore.Tokenizer.TokenizeObject(Object obj)
   at QuantaculaCore.Tokenizer.AppendToken(Object obj)
   at Quantacula.MainForm.ViewDatabase(String addressList)
   at Quantacula.MainForm.ViewPackage(Object addressList, EventArgs fontDisposed)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.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.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3394.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Quantacula
    Assembly Version: 1.0.180.0
    Win32 Version: 1.0.180.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Quantacula,%20LLC/Quantacula%20Studio/Quantacula.exe
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3362.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Quantacula&
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.180.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Quantacula,%20LLC/Quantacula%20Studio/Quantacula.exe
----------------------------------------
Attachment

Cancel

Responses

Thanks for the report, the culprit was the Debug Log, it's fixed for Q181.

Thanks for the report, the culprit was the Debug Log, it's fixed for Q181.
Forum Tips

Please sign in if you want to participate in our forum.

Our forum uses Markdown syntax to format posts.

To embed code snippets, enclose them in [CODE][/CODE] tags.