Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Planet Search Overhaul (07/13/24)

Author Topic: Fatal null CTD - please help!!  (Read 575 times)

Calpatine

  • Ensign
  • *
  • Posts: 2
    • View Profile
Fatal null CTD - please help!!
« on: August 30, 2023, 09:47:32 AM »

Hi there,

I've been playing the game for a few weeks now, and I keep getting this error which effectively has put me in a death-spiral, where it crashes seconds after I load the save. I've looked around online for answers, all are relating to issues with sound and mods.

To be clear, I'm playing completely vanilla and I get no message about a error with sound. Its always "fatal null", thats it.

I have updated all the drivers, unistalled and reinstalled, redownloaded the link for the version... same result.

If someone could shed some light on this I would really appreciate it. The error code:


4030 [Thread-3] ERROR com.fs.starfarer.title.A.OoOO  - java.lang.RuntimeException: Control key [CMENU_REMOVE_WP_1] is invalid
java.lang.RuntimeException: Control key [CMENU_REMOVE_WP_1] is invalid
   at com.fs.starfarer.title.A.OoOO.super(Unknown Source)
   at com.fs.starfarer.title.A.OoOO. 00000(Unknown Source)
   at com.fs.starfarer.loading.ResourceLoaderState.init(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

Thanks in advance!
Logged

Hatter

  • Commander
  • ***
  • Posts: 228
    • View Profile
Re: Fatal null CTD - please help!!
« Reply #1 on: August 30, 2023, 10:02:53 AM »

Hi-

"4030 [Thread-3] ERROR com.fs.starfarer.title.A.OoOO  - java.lang.RuntimeException: Control key [CMENU_REMOVE_WP_1] is invalid
java.lang.RuntimeException: Control key [CMENU_REMOVE_WP_1] is invalid"

-is a RuntimeException instead of a NullPointerException that would involve a null value, and (probably) isn't what is crashing your game. Could you attach the log?
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24841
    • View Profile
Re: Fatal null CTD - please help!!
« Reply #2 on: August 30, 2023, 10:31:49 AM »

This is when you're trying to start the game, right? Not when you're actually loading a save? It seems from the stack trace that this crash would happen on the initial application-loading stage, before you got to the main menu.

I'm not actually sure how this might happen - if you've have a an old install of the game on your system, it may be possible, but it wouldn't have worked and then stopped working, it would just not work in that case.

I think what would fix it, though, is VERY CAREFULLY running regedit, going to:
HKEY_CURRENT_USER\Software\JavaSoft\Prefs\com\fs\starfarer

And then deleting the controls1 and controls2 keys.
Logged

Calpatine

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: Fatal null CTD - please help!!
« Reply #3 on: August 30, 2023, 01:33:26 PM »

Hi guys,

Thanks for getting back.

For context, this crash happens seemingly at random whilst travelling in real/hyperspace, never in battle or a text screen. To troubleshoot, a bit, I started doing something different when I rebooted the game, to try and break the death-spiral. For example, if I crashed whilst travelling in real space, I would reboot the game and then instantly do a transverse jump, or interact with literally anything I could. Sometimes this worked, sometimes this didn't.

I'm currently in a predicament where I crash literally 5 seconds after loading in, and don't have the time to react or try something different.

I am playing on a Lenovo Legion laptop, with a second monitor, a 4000 series Ryzen and 8 GB RAM. I had task manager open at the same time to monitor RAM useage, thats all fine.

Should I cut my loses a start a new game? I'd really rather not lol
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24841
    • View Profile
Re: Fatal null CTD - please help!!
« Reply #4 on: August 30, 2023, 02:38:21 PM »

Ah - in that case, the crash log you've posted does not actually correspond to your crash; there should be another stack trace in the log. It'd be at the end of the logfile right after a crash, *before* you run the game again.

This kind of sounds like you might have started this save with an earlier version of the game, though? Saves from a previous version (0.95.1a and earlier) are not compatible with the new version.
Logged