Some changes to the way variables are created seem to have made 1.61 throw an exception when loading an old sequence. Variables are still present in the sequence explorer, but they are not displayed on the variables tab. The exception is copied below. The sequence loads fine in 1.60.
I finally have VS2010, so if Aviv doesn't get to this, I may try to squash this.
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 WordGenerator.Controls.VariableEditor.updateDerivedValue() in C:\Users\Aviv Keshet\Documents\Software\Cicero-Word-Generator\WordGenerator\Controls\VariablesTab\VariableEditor.cs:line 341
at WordGenerator.Controls.VariablesAndListPage.ved_valueChanged(Object sender, EventArgs e) in C:\Users\Aviv Keshet\Documents\Software\Cicero-Word-Generator\WordGenerator\Controls\VariablesTab\VariablesAndListPage.cs:line 213
at WordGenerator.Controls.VariableEditor.numericUpDown1_ValueChanged(Object sender, EventArgs e) in C:\Users\Aviv Keshet\Documents\Software\Cicero-Word-Generator\WordGenerator\Controls\VariablesTab\VariableEditor.cs:line 182
at System.Windows.Forms.NumericUpDown.OnValueChanged(EventArgs e)
at System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
at WordGenerator.Controls.VariableEditor.setVariable(Variable var) in C:\Users\Aviv Keshet\Documents\Software\Cicero-Word-Generator\WordGenerator\Controls\VariablesTab\VariableEditor.cs:line 77
at WordGenerator.Controls.VariablesAndListPage.layoutVariables() in C:\Users\Aviv Keshet\Documents\Software\Cicero-Word-Generator\WordGenerator\Controls\VariablesTab\VariablesAndListPage.cs:line 155
at WordGenerator.Controls.VariablesAndListPage.layout() in C:\Users\Aviv Keshet\Documents\Software\Cicero-Word-Generator\WordGenerator\Controls\VariablesTab\VariablesAndListPage.cs:line 73
at WordGenerator.mainClientForm.RefreshSequenceDataToUI(SequenceData sequenceData) in C:\Users\Aviv Keshet\Documents\Software\Cicero-Word-Generator\WordGenerator\Controls\MainClientForm.cs:line 392
at WordGenerator.mainClientForm.openToolStripMenuItem_Click(Object sender, EventArgs e) in C:\Users\Aviv Keshet\Documents\Software\Cicero-Word-Generator\WordGenerator\Controls\MainClientForm.cs:line 529
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.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.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.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.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)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
WordGenerator
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Word%20Generator%20Application/Cicero-Word-Generator-1.61/Cicero/WordGenerator.exe
----------------------------------------
DataStructures
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Word%20Generator%20Application/Cicero-Word-Generator-1.61/Cicero/DataStructures.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
dotMath
Assembly Version: 1.0.4546.29073
Win32 Version: 1.0.4546.29073
CodeBase: file:///C:/Word%20Generator%20Application/Cicero-Word-Generator-1.61/Cicero/dotMath.DLL
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.