And here are the details :
----
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 WindowsApplication1.SFWindowClass.DoStuff()
at WindowsApplication1.SFWindowClass.DoRefresh()
at WindowsApplication1.SFWindowClass.HandleMouseClick(Int32 x, Int32 y, Int32 b)
at WindowsApplication1.MessagePopUpScreenClass.HandleMouseClick(Int32 x, Int32 y, Int32 b)
at WindowsApplication1.Form1.Form1_Mousedown(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(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.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.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)
************** 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.
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.
Winner of the first edition of the Command: Modern Operations COMPLEX PBEM Tournament (IKE) (April 2022)
Just want to chime in and say there are others having the same issue. Another user and I posted our log on the Steam discussion forums. As I said in the Steam thread:
some scenarios seem to work, while others crash instantly when clicking the Combat Stats button. I just tested out the CLASSIC_WW2\netherlands1940 scenario and it seems to work fine. Every other scenario in that folder seems to crash though.
I also had the same issue with a lot of custom scenarios from the scenario bank website.
More details:
I'm running Windows 8.1, 64bit OS. Only recently reinstalled on Steam hoping it would fix the problem (bought a key a long time ago), but it persisted.
Bombur and I had this happen in one of the first scenarios we made. It turned out that giving 0 HP to a SFT will cause something like this. It could be that it is the same thing in these cases.
Creator of High Quality Scenarios for:
Advanced Tactics Gold
DC: Warsaw to Paris
DC: Community Project.
Well hopefully Vic can think of a way to fix this. Love the game and really hope to play some of the custom scenarios others have created but most of them seem to cause this crash.
My game is crashing on startup now. Is it because I have it installed on Steam? I reversed it by copying over the original .exe again for now.
The forum rules aren't letting me post the error log here though. It's saying: "You are not allowed to post links, emails or phone numbers for 7 days from the date of your tenth post." -- Do you want me to PM it?
In general these version that Vic is posting for testing are not for Steam users. So it was a good thing you saved your exe file. I imagine that this is because the process of updating on steam is more complex, but I don't know for sure.
Creator of High Quality Scenarios for:
Advanced Tactics Gold
DC: Warsaw to Paris
DC: Community Project.
I figured it was probably due to Steam. Hopefully I can give feedback once Vic pushes the release to the Steam version.
It's funny because I had bought ATG a long time ago and had been playing the non-steam version. Once I discovered this error I thought maybe registering my key on Steam would fix it, but nope lol
Not a huge deal. I am a patient guy and still having tons of fun with the game regardless.