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: Anubis-class Cruiser (12/20/24)

Author Topic: Fatal Null in Fights  (Read 369 times)

CorgisOnDVD

  • Ensign
  • *
  • Posts: 9
    • View Profile
Fatal Null in Fights
« on: April 05, 2023, 12:09:33 PM »

I get this error in certain fights, such as the valkhazard wreck from Arma Armatura

Spoiler
267384 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.NullPointerException
java.lang.NullPointerException
   at org.sutopia.starsector.mod.concord.adv.ConcordCaptain.applyEffectsAfterShipCrea tion(ConcordCaptain.java:135)
   at com.fs.starfarer.loading.specs._.o00000(Unknown Source)
   at com.fs.starfarer.campaign.fleet.FleetMember.instantiateForCombat(Unknown Source)
   at com.fs.starfarer.combat.CombatFleetManager.super(Unknown Source)
   at com.fs.starfarer.combat.CombatFleetManager.Ò00000(Unknown Source)
   at com.fs.starfarer.combat.CombatFleetManager.deploy(Unknown Source)
   at com.fs.starfarer.combat.ai.admiral.DeploymentManager.if.super(Unknown Source)
   at com.fs.starfarer.combat.ai.admiral.DeploymentManager.Òo0000(Unknown Source)
   at com.fs.starfarer.combat.ai.admiral.DeploymentManager.Õo0000(Unknown Source)
   at com.fs.starfarer.combat.ai.admiral.BaseBattleStrategy.o00000(Unknown Source)
   at com.fs.starfarer.combat.ai.admiral.AdmiralAI.advance(Unknown Source)
   at com.fs.starfarer.combat.CombatFleetManager.advance(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
   at com.fs.starfarer.combat.CombatState.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)
[close]

It appears to be something from concord, so do I need to do something to the mod, or can I just disable it and Modern Carriers?

Also, I get another error saying "armaa_skymind" not found (got it in the SWP El Psi bounty), but that doesn't show up in the log file, nor does it exist in the armaa mod files. What do I do for that?

Here is my mod list:
Spoiler
  "PAGSM",
  "yunrutechmining",
  "weebshitcombopack",
  "Adjusted Sector",
  "alkemia-armoury",
  "A_S-F",
  "ARSWP",
  "ash",
  "ARC",
  "aria_compt",
  "armaa",
  "arthrships",
  "ayras_nighingale_ship",
  "yrutl",
  "bruh_moment_console_commands",
  "CaptainsLog",
  "Csp",
  "chungus_star_system",
  "chatter",
  "cmutils",
  "timid_commissioned_hull_mods",
  "su_Concord",
  "COPS",
  "lw_console",
  "diyplanets",
  "Dabble",
  "hm_flagpack",
  "df",
  "diablearmaaonics",
  "diableavionics",
  "dootsector",
  "dragonslayer",
  "seven_nexus",
  "exoticatechnologies",
  "fart",
  "FPE",
  "hbh",
  "GachaSMods",
  "Goat_Aviation_Bureau",
  "hte",
  "hcok",
  "hullmod_specialization",
  "sun_hyperdrive",
  "IndEvo",
  "Interstellar Federation Refurbished -unbalanced-",
  "JYD",
  "lw_lazylib",
  "MagicLib",
  "memeportraits",
  "missingships",
  "su_CarrierHullmod",
  "more_hullmods",
  "nexerelin",
  "yrex",
  "omegaslaught",
  "JYDR",
  "pearson_exotronics",
  "planet_search",
  "plunderinstrikecraft",
  "progressiveSMods",
  "QualityCaptains",
  "zzz_weapon_rof_hullmod",
  "ryaz",
  "SalvageEverything",
  "secretsofthefrontier",
  "SEEKER",
  "swp",
  "mayu_specialupgrades",
  "StarfarersWorkshop",
  "stelnet",
  "alcoholism",
  "presmattdamon_takenoprisoners",
  "Terraforming & Station Construction",
  "transfer_all_items",
  "TrulyAutomatedShips",
  "vesships",
  "US",
  "UGH",
  "vic",
  "VIC_unofficial_exp",
  "TouchOfVanilla_vri",
  "whichmod",
  "yunru_arsenal",
  "yunru_cissonius",
  "yunru_cunt",
  "yunru_ht",
  "yunruhullmods",
  "yunru_midline_expansion",
  "yunrucore",
  "TraverserDesignBureau",
  "basscannon",
  "shaderLib"
[close]
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4914
    • View Profile
    • GitHub profile
Re: Fatal Null in Fights
« Reply #1 on: April 05, 2023, 06:26:02 PM »

Might be a ship somewhere with a nonexistent hullmod, but how?
Code: java
        for (String hullmod : ship.getVariant().getHullMods()) {
            HullModSpecAPI modSpec = Global.getSettings().getHullModSpec(hullmod);
            if (modSpec.hasTag(Codex.VOLATILE_EXCLUSIVE_PREFIX + Codex.TOPIC_FIGHTER_SPEC_CHANGE)) {
                hasFighterMutator = true;
            }
        }
Although in any case, you're probably not going to get help with a Concord crash, especially since I understand the dev is no longer active.
Not sure if you can disable the mod midgame, maybe if you remove all the game mods and ship hullmods that use it (specifically Modern Carriers and its stuff).
Logged