Fractal Softworks Forum

Starsector => Bug Reports & Support => Bug Reports & Support (modded) => Topic started by: fjc130 on July 22, 2021, 10:12:25 AM

Title: Game CTD
Post by: fjc130 on July 22, 2021, 10:12:25 AM
My game crashed when i tried to make a new game, more specifically it crashed when generating the sector.

Here's the error in the log

1067877 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at com.fs.starfarer.campaign.CharacterStats.refreshCharacterStatsEffects(Unknown Source)
   at com.fs.starfarer.api.impl.campaign.fleets.FleetFactoryV3.addCommanderSkills(FleetFactoryV3.java:1276)
   at com.fs.starfarer.api.impl.campaign.fleets.FleetFactoryV3.addCommanderAndOfficer sV2(FleetFactoryV3.java:1147)
   at com.fs.starfarer.api.impl.campaign.fleets.FleetFactoryV3.addCommanderAndOfficer s(FleetFactoryV3.java:852)
   at com.fs.starfarer.api.impl.campaign.fleets.FleetFactoryV3.createFleet(FleetFactoryV3.java:411)
   at com.fs.starfarer.api.impl.campaign.intel.PersonBountyIntel.spawnFleet(PersonBountyIntel.java:608)
   at com.fs.starfarer.api.impl.campaign.intel.PersonBountyIntel.<init>(PersonBountyIntel.java:112)
   at com.fs.starfarer.api.impl.campaign.intel.PersonBountyManager.createEvent(PersonBountyManager.java:42)
   at com.fs.starfarer.api.impl.campaign.intel.BaseEventManager.advance(BaseEventManager.java:141)
   at com.fs.starfarer.campaign.CampaignEngine.advance(Unknown Source)
   at com.fs.starfarer.campaign.save.CampaignGameManager.o00000(Unknown Source)
   at com.fs.starfarer.title.TitleScreenState.dialogDismissed(Unknown Source)
   at com.fs.starfarer.ui.Oo0O.dismiss(Unknown Source)
   at com.fs.starfarer.ui.impl.o0oO.dismiss(Unknown Source)
   at com.fs.starfarer.campaign.save.J.actionPerformed(Unknown Source)
   at com.fs.starfarer.ui.newnew.buttonPressed(Unknown Source)
   at com.fs.starfarer.ui.I.Ò00000(Unknown Source)
   at com.fs.starfarer.ui.I.processInput(Unknown Source)
   at com.fs.starfarer.ui.Stringsuper.super(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.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

And my modlist:

{"enabledMods": [
  "pantera_ANewLevel40R",
  "Adjusted Sector",
  "anotherportraitpack",
  "armaa",
  "automatedcommands",
  "timid_admins",
  "CWSP",
  "chatter",
  "domain_mship_controllable",
  "diyplanets",
  "DetailedCombatResults",
  "diableavionics",
  "dynamictariffs",
  "HHE",
  "fluffships",
  "sun_fuel_siphoning",
  "GrandColonies",
  "HMI",
  "hte",
  "hiigaran_descendants",
  "sun_hyperdrive",
  "IndEvo",
  "kadur_remnant",
  "lw_lazylib",
  "ArkLeg",
  "logisticsNotifications",
  "mag_protect",
  "MagicLib",
  "Mayasuran Navy",
  "su_CarrierHullmod",
  "su_CarrierHullmod_Rebalance",
  "more_hullmods",
  "nexerelin",
  "old_hyperion",
  "PulseIndustry",
  "tahlan_scalartech",
  "SCY",
  "SEEKER",
  "speedUp",
  "sw",
  "sun_starship_legends",
  "stelnet",
  "StopGapMeasures3",
  "timid_supply_forging",
  "tahlan",
  "Terraforming and Station Construction",
  "star_federation",
  "underworld",
  "US",
  "vic",
  "vayrashippack",
  "XhanEmpire",
  "shaderLib"
]}

More context:

Just updated Starsector, i had been waiting a while for the mods that i normally use to be updated to the new version, i uninstalled the game and reinstalled from a fresh installer (because i wanted to make sure nothing wrong happens since i always seem to mess up something when related to modding/updating games), after the game was isntalled i extracted the mods into the mod folder and booted the game, then when i was making a new game the game crashed in the sector generation part.
Any help is much appreciated, thanks.
Title: Re: Game CTD
Post by: Histidine on July 23, 2021, 06:33:34 PM
This looks like a mod faction with an invalid admiral skill specified, but can't tell which one from the log.

Most of the mods should be fine; try disabling the ones that aren't highly popular (per forum thread replies or something) to narrow it down.

EDIT: Actually, any mod with any sort of public user base whatsoever should have this issue detected already. Check if all your mods are up to date using the Mod Manager (https://fractalsoftworks.com/forum/index.php?topic=21995).
Title: Re: Game CTD
Post by: fjc130 on July 24, 2021, 08:18:24 AM
Actually, i have simply no idea why or how but i just kept trying and the errors simply went away by themselves lmao.
Like, after this happened, i tried to start a new game again and the sector generation worked so that error went away, but as soon as the game started it crashed and gave me another error, i restarted starsector and tried a new game and sector generation worked and the game didnt crash after starting, it was pretty weird but i found it funny, the errors simply fixed themselves without me doing anything.  ;D