I don't recognize the function number. Can you make a full report with the info on what you were doing when the error message popped?
Function number: 2939
Error text: 1. 12. 0 Function #2939: Object reference not set to an instance of an object.
Window affected: Main window
Start: TN
Stars: Random
Decimal separator: period
Reproducible: No, tried a couple of times with a backup, could not reproduce the bug
Just started a new game, assigned the governor and research and was on 30 day autoturn, then the error appeared. After I clicked OK the game froze, I closed it with task manager. I had a backup of the database saved before any turns made (January 1 2025), tried using it to recreate the bug but it didn't happen.
I also have a backup of the database from my previous game, where several ships disappeared in game without any messages (the discussion of this bug is in my previous messages). I got a similar error to this one (I think the same number, but not sure) when saving the previous game, so it may be related. In this database I found that the ships that disappeared (my ship Astrakhan 001 and a few civilian ships, for example Ectelion Small F7 001) are still in FCT_Ship, but their classes are missing in FCT_ShipClass. Also, in the gamelog there are many messages about NPR ships running out of fuel, not sure if it is relevant.
I couldn't attach the db to the post for some reason.
Edit: here is the .db:
http://s000.tinyupload.com/?file_id=20412646311680459930