Getting a CTD when trying to access the Command "Doctrine & Blueprints" and "Custom Production" tabs. This didn't happen until recently, so my best guess is that one of the blueprints I've learned recently has the Unstable Injector built-in and is making everything upset;
408993 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain - java.lang.NullPointerException
java.lang.NullPointerException
at data.hullmods.UnstableInjector.applyEffectsBeforeShipCreation(UnstableInjector.java:28)
at com.fs.starfarer.campaign.fleet.FleetMember.updateStats(Unknown Source)
at com.fs.starfarer.campaign.fleet.FleetMember.init(Unknown Source)
at com.fs.starfarer.campaign.fleet.FleetMember.<init>(Unknown Source)
at com.fs.starfarer.campaign.fleet.FleetMember.<init>(Unknown Source)
at com.fs.starfarer.campaign.command.Oo0O.<init>(Unknown Source)
at com.fs.starfarer.campaign.command.ShipBlueprintBrowser.updateTable(Unknown Source)
at com.fs.starfarer.campaign.command.O0oO.restoreTableUIState(Unknown Source)
at com.fs.starfarer.campaign.command.OOoO.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)
Segment from the unstable injector that seems to be at fault;
27: public void applyEffectsBeforeShipCreation(HullSize hullSize, MutableShipStatsAPI stats, String id) {
28: stats.getMaxSpeed().modifyFlat(id, (Float) mag.get(hullSize));
29: stats.getBallisticWeaponRangeBonus().modifyMult(id, RANGE_MULT);
30: stats.getEnergyWeaponRangeBonus().modifyMult(id, RANGE_MULT);
31:
32: stats.getFighterRefitTimeMult().modifyPercent(id, FIGHTER_RATE);
33:
34: //stats.getAcceleration().modifyPercent(id, ACCELERATION_BONUS);
35: //stats.getEngineDamageTakenMult().modifyPercent(id, EXTRA_DAMAGE);
36:
37: //stats.getMaxBurnLevel().modifyFlat(id, BURN_LEVEL_BONUS);
38: }
Modlist;
{"enabledMods": [
"$$$_trailermoments",
"pantera_ANewLevel40R",
"advanced_gunnery_control_dbeaa06e",
"lw_autosave",
"BSC",
"CaptainsLog",
"chatter",
"lw_radar",
"DetailedCombatResults",
"diableavionics_ornate",
"diableavionics",
"sun_fuel_siphoning",
"furryPortraits",
"GrandColonies",
"hiigaran_descendants",
"IndEvo",
"interestingportraitspack",
"lw_lazylib",
"leadingPip",
"ArkLeg",
"MagicLib",
"wyv_planetaryShieldAccessControl",
"PT_ShipDirectionMarker",
"sun_starship_legends",
"timid_supply_forging",
"Terraforming and Station Construction",
"US",
"URW",
"WEAPONARCS",
"audio_plus",
"shaderLib"
]}
Possible suspects;
Spoiler
Searching for: Injector
E:\Games\Starsector\starsector-core\data\variants\apogee_Starting.variant(9): "unstable_injector"
E:\Games\Starsector\starsector-core\data\variants\colossus_Standard.variant(9): "unstable_injector"
E:\Games\Starsector\starsector-core\data\variants\crig_Standard.variant(7): "hullMods": ["unstable_injector"],
E:\Games\Starsector\starsector-core\data\variants\shrike_Attack.variant(7): "hullMods": ["unstable_injector"],
E:\Games\Starsector\starsector-core\data\variants\shrike_p_Attack.variant(7): "hullMods": ["unstable_injector"],
E:\Games\Starsector\starsector-core\data\variants\brawler\brawler_pather_Raider.variant(7): "unstable_injector",
E:\Games\Starsector\starsector-core\data\variants\cerberus\cerberus_luddic_path_Attack.variant(7): "unstable_injector",
E:\Games\Starsector\starsector-core\data\variants\harbinger\harbinger_Strike.variant(8): "unstable_injector",
E:\Games\Starsector\starsector-core\data\variants\kite\kite_luddic_path_Strike.variant(6): "hullMods": ["unstable_injector"],
E:\Games\Starsector\starsector-core\data\variants\lasher\lasher_Overdriven.variant(10): "unstable_injector",
E:\Games\Starsector\starsector-core\data\variants\lasher\lasher_Standard.variant(8): "unstable_injector",
E:\Games\Starsector\starsector-core\data\variants\mule\mule_Starting.variant(7): "unstable_injector",
E:\Games\Starsector\starsector-core\data\variants\remnant\glimmer_Assault.variant(7): "hullMods": ["unstable_injector"],
Found 13 occurrence(s) in 13 file(s), 1013 ms
Searching for: Injector
E:\Games\Starsector\mods\BSC\data\variants\BSC_Aghast_Assault.variant(11): "unstable_injector",
E:\Games\Starsector\mods\BSC\data\variants\BSC_Brave_Assault.variant(11): "unstable_injector"
E:\Games\Starsector\mods\BSC\data\variants\BSC_Brigantine_Assault.variant(13): "unstable_injector"
E:\Games\Starsector\mods\BSC\data\variants\BSC_Gull_Brawler.variant(11): "unstable_injector",
E:\Games\Starsector\mods\BSC\data\variants\BSC_Knuckleduster_Assault.variant(11): "unstable_injector",
E:\Games\Starsector\mods\BSC\data\variants\BSC_Lumen_TT_Attack.variant(11): "unstable_injector"
E:\Games\Starsector\mods\BSC\data\variants\BSC_Polis_Assault.variant(11): "unstable_injector"
E:\Games\Starsector\mods\BSC\data\variants\BSC_Tramp_Standard.variant(11): "unstable_injector"
E:\Games\Starsector\mods\BSC\data\variants\BSC_Venator_Assault.variant(11): "unstable_injector"
E:\Games\Starsector\mods\BSC\data\variants\BSC_Wolf_Church_Combat.variant(7): "unstable_injector"
E:\Games\Starsector\mods\DIABLEAVIONICS\data\variants\diableavionics_haze_closequarter.variant(7): "unstable_injector",
E:\Games\Starsector\mods\DIABLEAVIONICS\data\variants\diableavionics_versant_assault.variant(9): "unstable_injector",
E:\Games\Starsector\mods\Legacy of Arkgneisis\data\variants\burke\loamt_burke_assault.variant(11): "unstable_injector"
E:\Games\Starsector\mods\Legacy of Arkgneisis\data\variants\burke\loamtp_burke_assault.variant(8): "unstable_injector",
E:\Games\Starsector\mods\Legacy of Arkgneisis\data\variants\hunterkiller\al_hunterkiller_enforcer.variant(9): "unstable_injector",
E:\Games\Starsector\mods\Legacy of Arkgneisis\data\variants\hunterkiller\al_hunterkiller_legion.variant(10): "unstable_injector",
Found 31* occurrence(s) in 31 file(s), 1595 ms
*Removed unrelated Legacy Flooded/Modulated Injector results from the list above.
Related hullSize lines from associated hulls;
E:\Games\Starsector\mods\BSC\data\hulls\BSC_Aghast.ship(4): "hullSize": "CRUISER",
E:\Games\Starsector\mods\BSC\data\hulls\BSC_Brave.ship(4): "hullSize": "FRIGATE",
E:\Games\Starsector\mods\BSC\data\hulls\BSC_Brigantine.ship(4): "hullSize": "DESTROYER",
E:\Games\Starsector\mods\BSC\data\hulls\BSC_Gull.ship(4): "hullSize": "DESTROYER",
E:\Games\Starsector\mods\BSC\data\hulls\BSC_Knuckleduster.ship(4): "hullSize": "FRIGATE",
E:\Games\Starsector\mods\BSC\data\hulls\BSC_Lumen_TT.ship(4): "hullSize": "FRIGATE",
E:\Games\Starsector\mods\BSC\data\hulls\BSC_Polis.ship(4): "hullSize": "DESTROYER",
E:\Games\Starsector\mods\BSC\data\hulls\BSC_Venator.ship(4): "hullSize": "CAPITAL_SHIP",
E:\Games\Starsector\mods\DIABLEAVIONICS\data\hulls\diableavionics_haze.ship(194): "hullSize": "CRUISER",
E:\Games\Starsector\mods\DIABLEAVIONICS\data\hulls\diableavionics_versant.ship(113): "hullSize": "FRIGATE",
E:\Games\Starsector\mods\Legacy of Arkgneisis\data\hulls\loamt_burke.ship(111): "hullSize": "DESTROYER",
E:\Games\Starsector\mods\Legacy of Arkgneisis\data\hulls\loamtp_burke.ship(4): "hullSize": "DESTROYER",
E:\Games\Starsector\starsector-core\data\hulls\enforcer.ship(143): "hullSize": "DESTROYER",
E:\Games\Starsector\starsector-core\data\hulls\legion.ship(189): "hullSize": "CAPITAL_SHIP",
The only major lead I have is the fact I picked up a Diable Avionics Ship Blueprint Package, which includes the Haze and possibly the Versant. I may also have the Enforcer and some of the
BSC ships, but it's hard to check for obvious reasons. I can't see where the save stores my known ships list, but I'm fairly sure I don't have any Legacy ship blueprints. I am 99% sure I don't have blueprints for the Legion, and I'm also fairly sure I don't have the Venator either? I have to assume this isn't a vanilla problem or it would've popped up sooner.