Page 1 of 1
[RESOLVED][1900.20] Object reference not set to an instance of an object.
Posted: Tue Oct 06, 2026 5:01 pm
by MauriceB
Trying to load any scenario i get "Object reference not set to an instance of an object." when clicking "Load selected".
Re: [1900.20] Object reference not set to an instance of an object.
Posted: Tue Oct 06, 2026 5:03 pm
by Dimitris
According to the exception log, you are not running Command as administrator. Can you try running it as administrator ?
Re: [1900.20] Object reference not set to an instance of an object.
Posted: Tue Oct 06, 2026 5:06 pm
by MauriceB
Tried that, It didn't help.
Re: [1900.20] Object reference not set to an instance of an object.
Posted: Tue Oct 06, 2026 5:09 pm
by MauriceB
FYI, Edit Scenario and Load Saved Game give the same error too.
Re: [1900.20] Object reference not set to an instance of an object.
Posted: Tue Oct 06, 2026 7:08 pm
by MauriceB
As per your thread, Dimitris, on the Steam Discussions i rebooted my PC (it already had the latest updates) and then CMO was getting stuck on the Loading screen. I completely deleted CMO and reinstalled it. It's still hanging at the Loading Screen but there is a lot more info in the Exception Log (see attachment)
Re: [1900.20] Object reference not set to an instance of an object.
Posted: Wed Oct 07, 2026 2:08 am
by MauriceB
Ok, I got around the hanging at the Load Screen (totally forgot about the Launcher, I've been bypassing that for the last couple years.)
I still can't load any Scenarios. Here's the Exception Log when trying to load a scenario:
Re: [1900.20] Object reference not set to an instance of an object.
Posted: Wed Oct 07, 2026 6:09 am
by Nikel
Re: [1900.20] Object reference not set to an instance of an object.
Posted: Wed Oct 07, 2026 9:47 am
by MauriceB
Thanks for tip. .Net is good about updating if an app needs a specific version.
I did check though, and I have 4.8.1 of .net framework, and versions 3.1.32 through 10.0.12 of .net (core).
Re: [1900.20] Object reference not set to an instance of an object.
Posted: Wed Oct 07, 2026 9:51 am
by MauriceB
...and this morning I'm back to the loading screen getting hung up and not loading the Main UI with these in the Exception Log:
Code: Select all
07-10-2026 04:49:11 -- Bv1.10 - Build 1900.20 -- Object reference not set to an instance of an object. -- Scen : -- DB : -- Exception: Object reference not set to an instance of an object.
Stack Trace: at (Object , Boolean )
at JRrZDZ5CvtZpIx7QUeaZ.lfW55dwdZtB(Object , Boolean , JRrZDZ5CvtZpIx7QUeaZ )
at Command.MainForm.MainForm_Load(Object sender, EventArgs e)
Call Stack & Error details:
Error at 200579: Object reference not set to an instance of an object.Calling MainForm_Shown.
Populated CanalList.
07-10-2026 04:49:11 -- Bv1.10 - Build 1900.20 -- Object reference not set to an instance of an object. -- Scen : -- DB : -- Exception: Object reference not set to an instance of an object.
Stack Trace: at (Object )
at nQcfNt5CXlY6nOFxUffS.lfW55dwdZtB(Object , nQcfNt5CXlY6nOFxUffS )
at Command.MainForm.CwZlDx0aPE(Object , EventArgs )
Call Stack & Error details:
Error at 200580: Object reference not set to an instance of an object.
Re: [1900.20] Object reference not set to an instance of an object.
Posted: Wed Oct 07, 2026 10:02 am
by Nikel
Another trial and error suggestion.
Back up and delete the Command.ini file located in the "\Config" folder.
CMO will generate a new one when you restart it.
Re: [1900.20] Object reference not set to an instance of an object.
Posted: Wed Oct 07, 2026 10:25 am
by MauriceB
Thanks. Tried that yesterday but did it again just now. no luck.
Re: [1900.20] Object reference not set to an instance of an object.
Posted: Wed Oct 07, 2026 10:37 am
by MauriceB
This update works fine on my laptop. I compared the Exception Logs on my laptop (working fine) and desktop (failing to load) and noticed all the messages are the same except when my laptop message states "License: Command full version" my desktop spews out the 2 "Object reference not set to an instance of an object" messages as seen above.
Re: [1900.20] Object reference not set to an instance of an object.
Posted: Wed Oct 07, 2026 11:44 am
by Dimitris
So, something related to Steam licensing.
Can you check if there is a file called steam_appid.txt inside the installation folder on Steam?
If no such file exists, can you create it and write inside it this number: 1076160
Then save it, close it and try starting Command.
Re: [1900.20] Object reference not set to an instance of an object.
Posted: Wed Oct 07, 2026 12:07 pm
by MauriceB
I do have that file with the right content in it. Tried recreating it, but no change in behaviour. Still not working.
I did a complete reinstall yesterday, but I'll try again with a complete reboot after uninstall and before install. Not sure what else to try.
Re: [1900.20] Object reference not set to an instance of an object.
Posted: Wed Oct 07, 2026 12:17 pm
by Nikel
Is it not this line where the error happens in most of the exception logs? However it is not always at the same moment.
"Configured MainForm working area"
"License: Command full version" Happens after that one.
Dxdiag file, something related with CMO in it?
Re: [1900.20] Object reference not set to an instance of an object.
Posted: Wed Oct 07, 2026 1:11 pm
by Dimitris
Probably a long shot, but: Apply all Windows updates and restart your machine.
Re: [1900.20] Object reference not set to an instance of an object.
Posted: Wed Oct 07, 2026 1:36 pm
by MauriceB
Well with an uninstall, reboot pc, full install, reboot pc, it's finally working. Not sure how it got corrupted, but thanks for the help guys.