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: Simulator Enhancements (03/13/24)

Author Topic: Constant CTD after loading save file  (Read 2157 times)

naughty_toaster

  • Ensign
  • *
  • Posts: 2
    • View Profile
Constant CTD after loading save file
« on: July 11, 2020, 07:12:59 PM »

Does anyone know what mod causes this crash ?

The crash log text
Spoiler
481284 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.ui.A.new.super(Unknown Source)
   at com.fs.starfarer.ui.A.new.<init>(Unknown Source)
   at com.fs.starfarer.campaign.ui.String.<init>(Unknown Source)
   at com.fs.starfarer.ui.P.super(Unknown Source)
   at com.fs.starfarer.campaign.ui.oOOo.addIconFor(Unknown Source)
   at com.fs.starfarer.campaign.ui.oOOo.<init>(Unknown Source)
   at com.fs.starfarer.ui.impl.StandardTooltipV2$9.public.float(Unknown Source)
   at com.fs.starfarer.ui.impl.StandardTooltipV2$9.beforeShown(Unknown Source)
   at com.fs.starfarer.campaign.C.o00000(Unknown Source)
   at com.fs.starfarer.campaign.CampaignEngine.advance(Unknown Source)
   at com.fs.starfarer.campaign.CampaignState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
[close]

My mod list
Spoiler
"$$$_lightshow",
  "$$$_trailermoments",
  "active_gates",
  "anotherportraitpack",
  "anvil_industries",
  "ApproLight",
  "raccoonarms",
  "automatic-orders",
  "lw_autosave",
  "timid_admins",
  "blackrock_driveyards",
  "aaCari UIgr",
  "Celestial Mount Circle",
  "chatter",
  "lw_radar",
  "COPS",
  "lw_console",
  "diableavionics",
  "DisassembleReassemble",
  "edshipyard",
  "fluffships",
  "foundation",
  "sun_fuel_siphoning",
  "GKSec",
  "gflportraitpack",
  "ZGrand Sector",
  "HMI",
  "nbj_ice",
  "deconomics",
  "interestingportraitspack",
  "Imperium",
  "junk_pirates_release",
  "kadur_remnant",
  "kiith-nabaal-shipyard",
  "kingdomofterra",
  "lw_lazylib",
  "leadingPip",
  "ArkLeg",
  "logisticsNotifications",
  "luddenhance",
  "MagicLib",
  "dk_mis_09",
  "missingships",
  "Neutrino",
  "sun_new_beginnings",
  "wyv_planetaryShieldAccessControl",
  "Polaris_Prime",
  "PulseIndustry",
  "sun_ruthless_sector",
  "sad",
  "SCY",
  "RC_Second_Wave_Options",
  "shadow_ships",
  "bonomel_skilledup",
  "speedUp",
  "sun_starship_legends",
  "StopGapMeasures",
  "Sylphon_RnD",
  "tahlan",
  "Terraforming and Station Construction",
  "THI",
  "TORCHSHIPS",
  "ungp",
  "URW",
  "vayrashippack",
  "lw_version_checker",
  "WEAPONARCS",
  "XhanEmpire",
  "shaderLib"
[close]
Logged

Xobra

  • Lieutenant
  • **
  • Posts: 63
    • View Profile
Re: Constant CTD after loading save file
« Reply #1 on: July 12, 2020, 06:51:47 AM »

Did you remove or update any mods recently?
Or is this a new save?

If you update a mod, make sure to delete the mod folder completely first, then copy the new one in.
Also check if the updated Mods Changelogs; it'd might have deleted some things.
« Last Edit: July 12, 2020, 08:50:20 AM by Xobra »
Logged

morriganj

  • Lieutenant
  • **
  • Posts: 88
    • View Profile
Re: Constant CTD after loading save file
« Reply #2 on: July 12, 2020, 08:40:18 AM »

I was having a similar crash, which is UI related before combat when the game needs to load modular fits or something. It usually doesn't show up until mid game when you've saved a couple of loadouts and encountered modular ships and stations.

I didn't really figure it out, except I tried to avoid using fits for modular ships, and I haven't had a crash since. Others might know more though as I don't really understand it.
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4661
    • View Profile
    • GitHub profile
Re: Constant CTD after loading save file
« Reply #3 on: July 12, 2020, 04:58:21 PM »

Delete any autofit variants you've created for modular ships (or make them non-prioritised in player faction doctrine, if you can get to that screen without crashing), yes.
Logged

naughty_toaster

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: Constant CTD after loading save file
« Reply #4 on: July 12, 2020, 07:31:23 PM »

Did you remove or update any mods recently?
Or is this a new save?

If you update a mod, make sure to delete the mod folder completely first, then copy the new one in.
Also check if the updated Mods Changelogs; it'd might have deleted some things.

This is a brand new save and all mods are fresh downloads

I was having a similar crash, which is UI related before combat when the game needs to load modular fits or something. It usually doesn't show up until mid game when you've saved a couple of loadouts and encountered modular ships and stations.

I didn't really figure it out, except I tried to avoid using fits for modular ships, and I haven't had a crash since. Others might know more though as I don't really understand it.

Delete any autofit variants you've created for modular ships (or make them non-prioritised in player faction doctrine, if you can get to that screen without crashing), yes.

Will try this and just not use modular ships in player doctrine or making autofits for it, for clarity modular ships are the ones that have ie for example ships with armor pieces that can be clicked on ? like the Scy faction ship "Corocotta (armored) class heavy cruiser"

Editl:
So far no crashes, have not touched any modular ships nor created autofits for them.
Thanks for the help
« Last Edit: July 13, 2020, 06:34:48 AM by naughty_toaster »
Logged

Sleeeper

  • Ensign
  • *
  • Posts: 27
    • View Profile
Re: Constant CTD after loading save file
« Reply #5 on: October 30, 2020, 01:39:07 PM »

I have similar crash when hovering mouse over certain fleets of other factions in my vicinity (it crashes instead of showing fleet composition gui).
Crash happens early game,  I dont have any saved autofits with modular ships for my faction.

Modlist is.. well i added all the up-to-date mods from mod index, lol (except total conversion).

Could the game not crash in modular ships  case (in next version?) or maybe be more informative in log about what hull is responsible or whatever.
« Last Edit: October 30, 2020, 01:43:12 PM by Sleeeper »
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4661
    • View Profile
    • GitHub profile
Re: Constant CTD after loading save file
« Reply #6 on: October 31, 2020, 06:34:20 AM »

I have similar crash when hovering mouse over certain fleets of other factions in my vicinity (it crashes instead of showing fleet composition gui).
Crash happens early game,  I dont have any saved autofits with modular ships for my faction.

Modlist is.. well i added all the up-to-date mods from mod index, lol (except total conversion).
If you're using the Extra System Reloaded mod (though it's not on index), update to the latest version and use the esr_clearAllData console command.
Logged

Sleeeper

  • Ensign
  • *
  • Posts: 27
    • View Profile
Re: Constant CTD after loading save file
« Reply #7 on: October 31, 2020, 02:13:22 PM »

Indeed was using it, already last version. Command didnt help, so I just removed the mod for now and started new save, thanks.
Logged