Hi.
I got Unhandled Exception using CPT 3.3 when I tried to accept a novelty from a PGN file. I switched to the window showing the game from which the novelty comes, ticked the tickbox for the game, pressed the "Accept" button, chose "yes" and got...
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 ChessPositionTrainer.PGNGames.AddNoveltyMoves()
at ChessPositionTrainer.PGNGames.tbbttnCopy_Activate(Object sender, EventArgs e)
at TD.SandBar.ButtonItemBase.OnActivate()
at TD.SandBar.ToolBar.OnItemActivate(ToolbarItemBase item)
at TD.SandBar.ToolBar.OnItemRelease(ToolbarItemBase item, Point position)
at TD.SandBar.ToolBar.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at TD.SandBar.ToolBar.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
ChessPositionTrainer
Assembly Version: 1.0.2546.39247
Win32 Version: 1.0.2546.39247
CodeBase: file:///C:/Program%20Files/Chess%20Position%20Trainer%203.3/ChessPositionTrainer.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
Cafechess
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files/Chess%20Position%20Trainer%203.3/Cafechess.DLL
----------------------------------------
DgtElectronicBoardCpt
Assembly Version: 1.0.2546.39255
Win32 Version: 1.0.2546.39255
CodeBase: file:///C:/Program%20Files/Chess%20Position%20Trainer%203.3/DgtElectronicBoardCpt.DLL
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.84.0.0
Win32 Version: 0.84.0.0
CodeBase: file:///C:/Program%20Files/Chess%20Position%20Trainer%203.3/ICSharpCode.SharpZipLib.DLL
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
SandDock
Assembly Version: 1.0.5.1
Win32 Version: 1.0.5.1
CodeBase: file:///C:/Program%20Files/Chess%20Position%20Trainer%203.3/SandDock.DLL
----------------------------------------
BassLib21.Net
Assembly Version: 2.1.0.5
Win32 Version: 2.1.0.5
CodeBase: file:///C:/Program%20Files/Chess%20Position%20Trainer%203.3/BassLib21.Net.DLL
----------------------------------------
RegexAssembly2_0
Assembly Version: 0.0.0.0
Win32 Version: n/a
CodeBase:
----------------------------------------
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.2032
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
----------------------------------------
GlacialControls
Assembly Version: 1.5.3.36540
Win32 Version: 1.5.3.36540
CodeBase: file:///C:/Program%20Files/Chess%20Position%20Trainer%203.3/GlacialControls.DLL
----------------------------------------
SandBar
Assembly Version: 1.0.13.1
Win32 Version: 1.0.13.1
CodeBase: file:///C:/Program%20Files/Chess%20Position%20Trainer%203.3/SandBar.DLL
----------------------------------------
ColorProgressBar
Assembly Version: 1.0.1727.32819
Win32 Version: 1.0.1727.32819
CodeBase: file:///C:/Program%20Files/Chess%20Position%20Trainer%203.3/ColorProgressBar.DLL
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.6001.4
CodeBase: file:///c:/windows/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
Accessibility
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
----------------------------------------
RegexAssembly2_1
Assembly Version: 0.0.0.0
Win32 Version: n/a
CodeBase:
----------------------------------------
************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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 machine
rather than being handled by this dialog.