Page 1 of 1

Supernova: "Show current agreements" Unhandled Exception

Posted: Sat Apr 16, 2011 10:42 pm
by DAndres109
This happens when I have one or more agreements in place and can be easily reproduced by running through the tutorial and accepting the very first offer from the Qa Qa Assembly. After you've accepted, press the "Show current agreements" button within the Diplomacy screen and watch the fireworks.

The exception text follows.
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 Armada2526.Diplomacy.UI.NegotiationDialog.currentAgreementsButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at Armada2526.SharedUI.CustomButton.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at Armada2526.SharedUI.CustomButton.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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.5444 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Armada2526
Assembly Version: 1.0.2.0
Win32 Version: 1.0.2.0
CodeBase: file:///D:/Games/Armada%202526/Armada2526.exe
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
SlimDX
Assembly Version: 2.0.8.42
Win32 Version:
CodeBase: file:///D:/Games/Armada%202526/SlimDX.DLL
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.5570
Win32 Version: 9.00.30729.5570
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.5570_none_509463cabcb6ef2a/msvcm90.dll
----------------------------------------
irrKlang.NET2.0
Assembly Version: 1.1.3.0
Win32 Version:
CodeBase: file:///D:/Games/Armada%202526/irrKlang.NET2.0.DLL
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.5592
Win32 Version: 8.00.50727.5592
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.5592_none_d09196c24426e2d4/msvcm80.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.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.

RE: Supernova: "Show current agreements" Unhandled Exception

Posted: Sat Apr 16, 2011 10:45 pm
by Terl
I got this one as well. Same method as DAndres109 mentions

RE: Supernova: "Show current agreements" Unhandled Exception

Posted: Sun Apr 17, 2011 3:13 am
by Ntronium
Do you guys have the Matrix version of the game

RE: Supernova: "Show current agreements" Unhandled Exception

Posted: Sun Apr 17, 2011 11:55 am
by DAndres109
Yes, I have the Matrix version.

RE: Supernova: "Show current agreements" Unhandled Exception

Posted: Sun Apr 17, 2011 1:58 pm
by Ntronium
Thanks, I'll check it out

RE: Supernova: "Show current agreements" Unhandled Exception

Posted: Sun Apr 17, 2011 3:07 pm
by Terl
I do as well, Matrix game and Matrix add-on...