[FIXED] (B1900.8) Cannot open scenario: "Object reference not set to an instance of an object"

Post bug reports and ask for game support here.

Moderator: MOD_Command

Post Reply
oiajz
Posts: 8
Joined: Thu Nov 02, 2023 5:40 pm

[FIXED] (B1900.8) Cannot open scenario: "Object reference not set to an instance of an object"

Post by oiajz »

Upon trying to open a scenario which I have been working on, my computer freezes for maybe half a second and the below error appears. I know the devs prefer clean scenarios for bug reporting but I have had this happen before, maybe a year ago, and both times I have had between 1500-3000 units, so maybe it is linked to that? Either way I have no idea what caused it so this is the best that I can offer. I have included the exception log as well.
Screenshot 2026-08-27 232752.png
Screenshot 2026-08-27 232752.png (14.63 KiB) Viewed 361 times
Attachments
Scenario.rar
(6.57 MiB) Downloaded 19 times
Raptorx7_slith
Posts: 896
Joined: Fri Jul 26, 2013 10:14 pm

Re: (B1900.8) Cannot open scenario: "Object reference not set to an instance of an object"

Post by Raptorx7_slith »

Thanks, logged as 0017585
Nikel
Posts: 3368
Joined: Tue Mar 24, 2009 10:51 am

Re: (B1900.8) Cannot open scenario: "Object reference not set to an instance of an object"

Post by Nikel »

Similar or the same xml errors than in this previous report.

https://forums.matrixgames.com/viewtopi ... 7#p5281837
User avatar
Deserere
Posts: 579
Joined: Wed Oct 13, 2021 1:15 pm

Re: (B1900.8) Cannot open scenario: "Object reference not set to an instance of an object"

Post by Deserere »

hi oiajz
the issue was caused by a corruption in the scenario file (pretty random I think) and a field that was not sanitized correctly before serialization.

A fix for the sanitization will be included in the next update release.
In the meantime I manually recovered your scenario.
Attached the file, you should be able to open it now.
Attachments
Paracel Storm_FIXED.zip
(6.39 MiB) Downloaded 8 times
Si Spiritus pro nobis, quis contra nos?
oiajz
Posts: 8
Joined: Thu Nov 02, 2023 5:40 pm

Re: [FIXED] (B1900.8) Cannot open scenario: "Object reference not set to an instance of an object"

Post by oiajz »

Thank you for fixing it, much appreciated!
oiajz
Posts: 8
Joined: Thu Nov 02, 2023 5:40 pm

Re: [FIXED] (B1900.8) Cannot open scenario: "Object reference not set to an instance of an object"

Post by oiajz »

I have had the same issue happen again with the same scenario after it was manually fixed, what can be done? I feel like requesting it to be recovered again is asking too much of the devs but at the same time I have spent too long on this to just throw it away.
Attachments
CMO Scen.rar
(7.3 MiB) Downloaded 2 times
User avatar
Deserere
Posts: 579
Joined: Wed Oct 13, 2021 1:15 pm

Re: [FIXED] (B1900.8) Cannot open scenario: "Object reference not set to an instance of an object"

Post by Deserere »

Wait for the new update release so that the issue will not happen again before continue working on your scenario, saving with your current version can break this specific scenario.
As an extra test I opened it with my version of CMO, just opening it and then save it fixes the issue.

Attached
Attachments
Paracel Storm_FIXED_2.zip
(7.05 MiB) Not downloaded yet
Si Spiritus pro nobis, quis contra nos?
oiajz
Posts: 8
Joined: Thu Nov 02, 2023 5:40 pm

Re: [FIXED] (B1900.8) Cannot open scenario: "Object reference not set to an instance of an object"

Post by oiajz »

Thank you so much, sorry to have been a pain. I will wait for the update as you suggested before messing around with it again.
Post Reply

Return to “Tech Support”